arc: select cache settings via menuconfig
This change allows to keep board description clean and minimalistic. This is especially helpful if one board may house different CPUs with different features. It is applicable to both FPGA-based boards or those that have CPUs mounted on interchnagable daughter-boards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
* CPU configuration
|
||||
*/
|
||||
#define CONFIG_SYS_BIG_ENDIAN
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
|
||||
|
||||
/*
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
/*
|
||||
* CPU configuration
|
||||
*/
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
|
||||
|
||||
/*
|
||||
|
||||
@@ -10,12 +10,8 @@
|
||||
/*
|
||||
* CPU configuration
|
||||
*/
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 32
|
||||
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
|
||||
|
||||
/* NAND controller DMA doesn't work correctly with D$ enabled */
|
||||
#define CONFIG_SYS_DCACHE_OFF
|
||||
|
||||
/*
|
||||
* Board configuration
|
||||
*/
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
/*
|
||||
* CPU configuration
|
||||
*/
|
||||
#define CONFIG_SYS_CACHELINE_SIZE 32
|
||||
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user