diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-09 20:09:17 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:37:20 +0800 |
commit | 55e2b4d4e5dd179d748dca9f8c44585b7319f2e2 (patch) | |
tree | 7443193c43dc586b065c1c8026bf62a665d539cc /arch/nios2/include | |
parent | bbba0714b7ca2d2424c11193a7884da8ef05c520 (diff) | |
download | u-boot-imx-55e2b4d4e5dd179d748dca9f8c44585b7319f2e2.zip u-boot-imx-55e2b4d4e5dd179d748dca9f8c44585b7319f2e2.tar.gz u-boot-imx-55e2b4d4e5dd179d748dca9f8c44585b7319f2e2.tar.bz2 |
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/include')
0 files changed, 0 insertions, 0 deletions