Message ID | 20221122150137.28845-1-jit.loon.lim@intel.com |
---|---|
State | Needs Review / ACK, archived |
Delegated to: | Marek Vasut |
Headers | show |
Series | arm: socfpga: n5x: Enables mailbox functionality for QSPI before DDR | expand |
diff --git a/arch/arm/mach-socfpga/spl_n5x.c b/arch/arm/mach-socfpga/spl_n5x.c index c56b5a1b88..92037190e2 100644 --- a/arch/arm/mach-socfpga/spl_n5x.c +++ b/arch/arm/mach-socfpga/spl_n5x.c @@ -81,6 +81,12 @@ void board_init_f(ulong dummy) hang(); } + mbox_init(); + +#if IS_ENABLED(CONFIG_CADENCE_QSPI) + mbox_qspi_open(); +#endif + #if CONFIG_IS_ENABLED(ALTERA_SDRAM) ret = uclass_get_device(UCLASS_RAM, 0, &dev); if (ret) { @@ -88,10 +94,4 @@ void board_init_f(ulong dummy) hang(); } #endif - - mbox_init(); - -#ifdef CONFIG_CADENCE_QSPI - mbox_qspi_open(); -#endif }