diff options
author | Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> | 2014-01-09 01:48:07 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-10 15:18:32 +0100 |
commit | 8cfac504427306f3050ce81f9f7bea09fbe9d76a (patch) | |
tree | 70f95841affb9f570b1eb348186e835374de69a1 /include/configs | |
parent | 53e49f746ce16c8f51063522542270a31c136e66 (diff) | |
download | u-boot-imx-8cfac504427306f3050ce81f9f7bea09fbe9d76a.zip u-boot-imx-8cfac504427306f3050ce81f9f7bea09fbe9d76a.tar.gz u-boot-imx-8cfac504427306f3050ce81f9f7bea09fbe9d76a.tar.bz2 |
zynq: Enable cache options
- Enable cache command
- Turn-off L2 cache
- Turn-on D-cache
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/zynq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/zynq.h b/include/configs/zynq.h index c8ab06f..6e545e5 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 */ |