diff options
| author | Ovidiu Panait <[email protected]> | 2022-05-31 21:14:29 +0300 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-06-24 14:16:00 +0200 |
| commit | 84488fc69348367ee693ea4ab6affe3cbcae97a0 (patch) | |
| tree | 54e6bf04e2b63e2ac66d64d38a80b14d4c08d427 /include | |
| parent | 73b8ee62a0a0aa03b789e5299a00cf8e6adf23ac (diff) | |
microblaze: cache: introduce Kconfig options for icache/dcache sizes
Replace XILINX_DCACHE_BYTE_SIZE macro with two Kconfig symbols for
instruction and data caches sizes, respectively:
CONFIG_XILINX_MICROBLAZE0_ICACHE_SIZE
CONFIG_XILINX_MICROBLAZE0_DCACHE_SIZE
Also, get rid of the hardcoded value in icache_disable().
Signed-off-by: Ovidiu Panait <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]> (s/bralid/brlid/g)
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/microblaze-generic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 60ceb2c817e..bae0f284fdc 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -26,10 +26,6 @@ # define CONFIG_SYS_MAX_FLASH_SECT 2048 #endif -#ifndef XILINX_DCACHE_BYTE_SIZE -#define XILINX_DCACHE_BYTE_SIZE 32768 -#endif - /* size of console buffer */ #define CONFIG_SYS_CBSIZE 512 /* max number of command args */ |
