From e9609dc38ba225ddb58fcef41a0beb8a3b09a888 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 30 Jun 2020 12:33:17 +0200 Subject: mips: octeon: use mips_mach_early_init() to copy to L2 cache This patch adds the code to copy itself from bootrom location to a different location (TEXT_BASE) to the Octeon platform. Its used in this case to copy the complete U-Boot image into L2 cache, which greatly improves the bootup time - especially in regard to the very long and complex DDR4 init code. The Kconfig symbol CONFIG_MIPS_MACH_EARLY_INIT is enabled with this patch for Octeon. Signed-off-by: Stefan Roese --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/mips/Kconfig') diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index d2a0a35bb9..997e145450 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -116,6 +116,7 @@ config ARCH_OCTEON select DM_GPIO select DM_ETH select MIPS_L2_CACHE + select MIPS_MACH_EARLY_INIT select MIPS_TUNE_OCTEON3 select ROM_EXCEPTION_VECTORS select SUPPORTS_BIG_ENDIAN -- cgit