mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 07:51:38 +00:00
microblaze: Migrate DCACHE/ICACHE to Kconfig
Move these two options to the arch Kconfig file. Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
6c3c05f6a4
commit
f83f0cb4c7
2 changed files with 8 additions and 3 deletions
|
@ -25,6 +25,14 @@ config TARGET_MICROBLAZE_GENERIC
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config DCACHE
|
||||||
|
bool "Enable dcache support"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config ICACHE
|
||||||
|
bool "Enable icache support"
|
||||||
|
default y
|
||||||
|
|
||||||
source "board/xilinx/Kconfig"
|
source "board/xilinx/Kconfig"
|
||||||
source "board/xilinx/microblaze-generic/Kconfig"
|
source "board/xilinx/microblaze-generic/Kconfig"
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,6 @@
|
||||||
# define CONFIG_SYS_MAX_FLASH_SECT 2048
|
# define CONFIG_SYS_MAX_FLASH_SECT 2048
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_ICACHE
|
|
||||||
#define CONFIG_DCACHE
|
|
||||||
|
|
||||||
#ifndef XILINX_DCACHE_BYTE_SIZE
|
#ifndef XILINX_DCACHE_BYTE_SIZE
|
||||||
#define XILINX_DCACHE_BYTE_SIZE 32768
|
#define XILINX_DCACHE_BYTE_SIZE 32768
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue