diff options
author | Michal Simek <monstr@monstr.eu> | 2012-09-25 10:13:35 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-11-07 17:11:14 +0100 |
commit | 5811830fae92cf0a3bb11ead54ef1267464a1280 (patch) | |
tree | ecacfea7eef3f6792a56af11a74ae5bbb3bc5efb /include | |
parent | ea0122816c6467c7ede80744363624c41822c93f (diff) | |
download | u-boot-imx-5811830fae92cf0a3bb11ead54ef1267464a1280.zip u-boot-imx-5811830fae92cf0a3bb11ead54ef1267464a1280.tar.gz u-boot-imx-5811830fae92cf0a3bb11ead54ef1267464a1280.tar.bz2 |
microblaze: Flush caches before enabling them
Flushing caches is necessary because of soft reset
which doesn't clear caches.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/microblaze-generic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 721cd90..eed38c1 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -287,6 +287,10 @@ # undef CONFIG_DCACHE #endif +#ifndef XILINX_DCACHE_BYTE_SIZE +#define XILINX_DCACHE_BYTE_SIZE 32768 +#endif + /* * BOOTP options */ |