diff options
author | Marek Vasut <marex@denx.de> | 2014-09-21 13:57:40 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-10-06 17:46:51 +0200 |
commit | 4ab333b765db5cd00b297b4c0e3cd3af5fe320fc (patch) | |
tree | 937b9b1834de9603527c73523af8e76c9d24c2a3 /board | |
parent | 97ce274d97e9c1796d58ae34aadcbc10293cccd7 (diff) | |
download | u-boot-imx-4ab333b765db5cd00b297b4c0e3cd3af5fe320fc.zip u-boot-imx-4ab333b765db5cd00b297b4c0e3cd3af5fe320fc.tar.gz u-boot-imx-4ab333b765db5cd00b297b4c0e3cd3af5fe320fc.tar.bz2 |
arm: socfpga: Move cache_enable to CPU code
Move icache_enable() and dcache_enable() function calls from
board code into the CPU code and into the enable_caches()
function. This is how the cache enabling code was designed
to work.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/altera/socfpga/socfpga_cyclone5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/altera/socfpga/socfpga_cyclone5.c b/board/altera/socfpga/socfpga_cyclone5.c index 6b98277..0f81d89 100644 --- a/board/altera/socfpga/socfpga_cyclone5.c +++ b/board/altera/socfpga/socfpga_cyclone5.c @@ -34,9 +34,6 @@ int board_early_init_f(void) */ int board_init(void) { - icache_enable(); - dcache_enable(); - /* Address of boot parameters for ATAG (if ATAG is used) */ gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; |