diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-12 20:16:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-16 14:22:19 -0400 |
commit | 8e5c1edadfe30656b380039ff58702a84cd738d1 (patch) | |
tree | 40a24ad4422fd49e53abb277a224b61eb2d4334c /arch/blackfin/include/asm/config.h | |
parent | 8d80d057537fd536c8cc2252dc18ec3dea9a47e2 (diff) | |
download | blackbird-obmc-uboot-8e5c1edadfe30656b380039ff58702a84cd738d1.tar.gz blackbird-obmc-uboot-8e5c1edadfe30656b380039ff58702a84cd738d1.zip |
Blackfin: define CONFIG_SYS_CACHELINE_SIZE
Common U-Boot API wants this define, so import asm/cache.h from Linux
to provide suitable defines.
Acked-by: Anton Staaf <robotboy@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/config.h')
-rw-r--r-- | arch/blackfin/include/asm/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index 53af310ecf..1a8de4906d 100644 --- a/arch/blackfin/include/asm/config.h +++ b/arch/blackfin/include/asm/config.h @@ -21,6 +21,9 @@ # define CONFIG_BFIN_SCRATCH_REG retn #endif +/* U-Boot wants this config name */ +#define CONFIG_SYS_CACHELINE_SIZE L1_CACHE_BYTES + /* Make sure the structure is properly aligned */ #if ((CONFIG_SYS_GBL_DATA_ADDR & -4) != CONFIG_SYS_GBL_DATA_ADDR) # error CONFIG_SYS_GBL_DATA_ADDR: must be 4 byte aligned |