Message ID | 48ade01e-7423-402c-8522-01e41547920e@CH1EHSMHS003.ehs.local |
---|---|
State | Accepted |
Delegated to: | Michal Simek |
Headers | show |
diff --git a/include/configs/zynq.h b/include/configs/zynq.h index abeb2da..f32008b 100644 --- a/include/configs/zynq.h +++ b/include/configs/zynq.h @@ -16,6 +16,16 @@ # define CONFIG_CPU_FREQ_HZ 800000000 #endif +/* Cache options */ +#define CONFIG_CMD_CACHE +#define CONFIG_SYS_CACHELINE_SIZE 32 + +#define CONFIG_SYS_L2CACHE_OFF +#ifndef CONFIG_SYS_L2CACHE_OFF +# define CONFIG_SYS_L2_PL310 +# define CONFIG_SYS_PL310_BASE 0xf8f02000 +#endif + /* Serial drivers */ #define CONFIG_BAUDRATE 115200 /* The following table includes the supported baudrates */
- Enable cache command - Turn-off L2 cache - Turn-on D-cache Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> --- include/configs/zynq.h | 10 ++++++++++ 1 file changed, 10 insertions(+)