Skip to content
Snippets Groups Projects
Commit 8cfac504 authored by Jagan Teki's avatar Jagan Teki Committed by Albert ARIBAUD
Browse files

zynq: Enable cache options


- Enable cache command
- Turn-off L2 cache
- Turn-on D-cache

Signed-off-by: default avatarJagannadha Sutradharudu Teki <jaganna@xilinx.com>
parent 53e49f74
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,16 @@ ...@@ -16,6 +16,16 @@
# define CONFIG_CPU_FREQ_HZ 800000000 # define CONFIG_CPU_FREQ_HZ 800000000
#endif #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 */ /* Serial drivers */
#define CONFIG_BAUDRATE 115200 #define CONFIG_BAUDRATE 115200
/* The following table includes the supported baudrates */ /* The following table includes the supported baudrates */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment