summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/cache.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-25 10:41:24 -0500
committerTom Rini <trini@konsulko.com>2019-01-25 10:41:24 -0500
commit87f78478a4a1bf574db0b0e575ca37cf91fb187c (patch)
treeffd24bbe72072067cda47dbc7ea1abe80b1e01ac /arch/arc/include/asm/cache.h
parentd01806a8fcbdaedcc67cead56ece572021d97ab7 (diff)
parentfae3798ac9f6de5a4cb1aa1e849d419a2bb8dbbe (diff)
Merge tag 'arc-fixes-for-2019.04-rc1' of git://git.denx.de/u-boot-arc
A couple of trivial fixes and improvements for ARC Most notable are: * Move of ENV_SIZE/ENV_OFFSET to Kconfig * Fix with private structure allocation for arc_uart * Definition of CONFIG_SYS_CACHELINE_SIZE useful for building drivers
Diffstat (limited to 'arch/arc/include/asm/cache.h')
-rw-r--r--arch/arc/include/asm/cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h
index 1604cd0b3e7..0fdcf2d2dd5 100644
--- a/arch/arc/include/asm/cache.h
+++ b/arch/arc/include/asm/cache.h
@@ -16,6 +16,9 @@
*/
#define ARCH_DMA_MINALIGN 128
+/* CONFIG_SYS_CACHELINE_SIZE is used a lot in drivers */
+#define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN
+
#if defined(ARC_MMU_ABSENT)
#define CONFIG_ARC_MMU_VER 0
#elif defined(CONFIG_ARC_MMU_V2)