From 996060927540904b956513d087192f67b6419133 Mon Sep 17 00:00:00 2001 From: York Sun Date: Tue, 26 Jun 2018 14:48:28 -0700 Subject: armv8: layerscape: spl: Initialize QSPI AHB for QSPI boot To get full access of QSPI space, initialize AHB interface. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/spl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/cpu/armv8') diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spl.c b/arch/arm/cpu/armv8/fsl-layerscape/spl.c index f1d6fd63b9..3bb6e5b3db 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spl.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/spl.c @@ -11,6 +11,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -102,6 +103,9 @@ void board_init_f(ulong dummy) gd->arch.tlb_addr = (gd->ram_top - gd->arch.tlb_size) & ~(0x10000 - 1); gd->arch.tlb_allocated = gd->arch.tlb_addr; #endif /* CONFIG_SPL_FSL_LS_PPA */ +#if defined(CONFIG_QSPI_AHB_INIT) && defined(CONFIG_QSPI_BOOT) + qspi_ahb_init(); +#endif } #ifdef CONFIG_SPL_OS_BOOT -- cgit