summaryrefslogtreecommitdiff
path: root/arch/nds32/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-19 09:36:48 -0400
committerTom Rini <trini@konsulko.com>2019-05-19 09:36:48 -0400
commitd3d212b6240f75006c18e4c59b3b28d81eedb7d3 (patch)
tree106781344a5074a0e1cc26e8e371016cef0d0570 /arch/nds32/Kconfig
parent98b3156b0df4b0df9cb3a0bbfc240d0c4edd2638 (diff)
parent612f6b223d2cb03ae0170d3eadcb78f7b473ecfb (diff)
Merge branch '2019-05-19-master-imports'
- Convert SYS_[DI]CACHE_OFF to Kconfig, introduce SPL variant. - Various bcm96* fixes. - Import include/android_bootloader_message.h from AOSP - Assorted other small fixes.
Diffstat (limited to 'arch/nds32/Kconfig')
-rw-r--r--arch/nds32/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig
index d72ff46113..b6f16bf124 100644
--- a/arch/nds32/Kconfig
+++ b/arch/nds32/Kconfig
@@ -16,6 +16,32 @@ config TARGET_ADP_AE3XX
endchoice
+config SYS_ICACHE_OFF
+ bool "Do not enable icache"
+ default n
+ help
+ Do not enable instruction cache in U-Boot.
+
+config SPL_SYS_ICACHE_OFF
+ bool "Do not enable icache in SPL"
+ depends on SPL
+ default SYS_ICACHE_OFF
+ help
+ Do not enable instruction cache in SPL.
+
+config SYS_DCACHE_OFF
+ bool "Do not enable dcache"
+ default n
+ help
+ Do not enable data cache in U-Boot.
+
+config SPL_SYS_DCACHE_OFF
+ bool "Do not enable dcache in SPL"
+ depends on SPL
+ default SYS_DCACHE_OFF
+ help
+ Do not enable data cache in SPL.
+
source "board/AndesTech/adp-ag101p/Kconfig"
source "board/AndesTech/adp-ae3xx/Kconfig"