armv7: rename cache related CONFIG flags
Replace the cache related CONFIG flags with more meaningful names. Following are the changes: CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF CONFIG_SYS_NO_ICACHE -> CONFIG_SYS_ICACHE_OFF CONFIG_SYS_NO_DCACHE -> CONFIG_SYS_DCACHE_OFF Signed-off-by: Aneesh V <aneesh@ti.com> V2: * Changed CONFIG_L2_OFF -> CONFIG_SYS_NO_L2CACHE V4: * Changed all three flags to the final names suggested as above and accordingly changed the commit message
This commit is contained in:
@@ -103,16 +103,16 @@ case "$cpu" in
|
||||
#undef CONFIG_CM_INIT /* CM may not have initialization reg */
|
||||
#undef CONFIG_CM_TCRAM /* CM may not have TCRAM */
|
||||
/* May not be processor without cache support */
|
||||
#define CONFIG_SYS_NO_ICACHE 1
|
||||
#define CONFIG_SYS_NO_DCACHE 1
|
||||
#define CONFIG_SYS_ICACHE_OFF 1
|
||||
#define CONFIG_SYS_DCACHE_OFF 1
|
||||
_EOF
|
||||
;;
|
||||
|
||||
arm720t)
|
||||
cat >> ${config_file} << _EOF
|
||||
/* May not be processor without cache support */
|
||||
#define CONFIG_SYS_NO_ICACHE 1
|
||||
#define CONFIG_SYS_NO_DCACHE 1
|
||||
#define CONFIG_SYS_ICACHE_OFF 1
|
||||
#define CONFIG_SYS_DCACHE_OFF 1
|
||||
_EOF
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user