diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-12 20:16:31 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-17 22:25:32 +0200 |
commit | 5aa5b88404b2b3610d36a9626ec36dcc81194aa9 (patch) | |
tree | 84b2e964b6bbc9591867d20ef61977194b25285b /arch/blackfin/include/asm/config.h | |
parent | 82a04900a5613d62a778436388e42f4fddf6c469 (diff) | |
download | u-boot-imx-5aa5b88404b2b3610d36a9626ec36dcc81194aa9.zip u-boot-imx-5aa5b88404b2b3610d36a9626ec36dcc81194aa9.tar.gz u-boot-imx-5aa5b88404b2b3610d36a9626ec36dcc81194aa9.tar.bz2 |
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 53af310..1a8de49 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 |