
9 Oct
2015
9 Oct
'15
4:39 p.m.
On Friday, October 09, 2015 at 02:11:48 PM, Thomas Chou wrote:
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
Best regards, Marek Vasut