summaryrefslogtreecommitdiff
path: root/arch/nios2/lib/bootm.c
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-09 12:09:17 (GMT)
committerThomas Chou <thomas@wytron.com.tw>2015-10-22 23:37:20 (GMT)
commit55e2b4d4e5dd179d748dca9f8c44585b7319f2e2 (patch)
tree7443193c43dc586b065c1c8026bf62a665d539cc /arch/nios2/lib/bootm.c
parentbbba0714b7ca2d2424c11193a7884da8ef05c520 (diff)
downloadu-boot-55e2b4d4e5dd179d748dca9f8c44585b7319f2e2.tar.xz
nios2: set default cache configuration in start.S
Set default icache and dcache configuration for start.S. We want to remove the CONFIG_SYS_{I,D}CACHE_SIZE... configuration macros. As we are just barely starting from reset, there is no luxury of device tree. We will set some maximum cache configuration so that it will work for most configurations. This is used only in this start.S. The speed penalty is only once here. After start up, during board initialization, cpu information will be extracted from device tree. Then cache flush operations will have correct cache configurations. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/nios2/lib/bootm.c')
0 files changed, 0 insertions, 0 deletions