[U-Boot] [PATCH 03/14] mips: mt76xx: Enable SYS_MIPS_CACHE_INIT_RAM_LOAD for cache init

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Oct 28 19:02:28 UTC 2018



Am 09.10.18 um 08:59 schrieb Stefan Roese:
> Using CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD should ensure that the cache
> is initialized correctly (parity etc). Even though some issues are
> still seen on the linkit and gardena MT7688 platforms, which could
> be a result of a non-optimal cache configuration / setup.

I thought this doesn't really help? Also if you can't move
CONFIG_MIPS_CACHE_INDEX_BASE to some SRAM space, you need to run your
memory init code before the cache initialisation to have working DRAM
available. But this slows down the boot time.

> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> ---
>  arch/mips/mach-mt7620/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/mips/mach-mt7620/Kconfig b/arch/mips/mach-mt7620/Kconfig
> index 13a7bd2cc0..e42d918ba0 100644
> --- a/arch/mips/mach-mt7620/Kconfig
> +++ b/arch/mips/mach-mt7620/Kconfig
> @@ -13,6 +13,7 @@ choice
>  config SOC_MT7620
>  	bool "MT7620/8"
>  	select MIPS_L1_CACHE_SHIFT_5
> +	select SYS_MIPS_CACHE_INIT_RAM_LOAD
>  	help
>  	  This supports MediaTek MIPS MT7620 family.
>  
> 

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181028/9100d071/attachment.sig>


More information about the U-Boot mailing list