Tool/software: Linux
Champs,
Customer is trying to enable data cache in uboot. Checking SCTRL register using JTAG on running uboot (2018.01 TI SDK 5.01.00.11) I see ICACHE enabled and DCACHE disabled. I am looking at REG_CTXA15_C15_C1_SCTLR as shown in Registers view in CCS.
Searching for CONFIG_SYS_DCACHE_OFF in build configuration files produced no results, so I assume that the flag is NOT defined, which means that the DCACHE should be enabled - in common/spl/spl.c in functionboard_init_r() I see enable_caches() call. The questions I have are:
1. Is my understanding is correct and the data cache is indeed not enabled in uboot while instruction cache is enabled.
2. If that's the case - how do I enable data cache?
thanks
Michael
