arm: socfpga: Move code from misc_init_r() to arch_early_init_r()
PATCH 1/1 arm: socfpga: Move code from misc_init_r() to arch_early_init_r()
Move this initialization code to proper place. The misc_init_r() function is called way too late and the platform initialization code should be executed much earlier.
--- arch/arm/cpu/armv7/socfpga/misc.c | 2 +- include/configs/socfpga_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/cpu/armv7/socfpga/misc.c +1 -1
@@ -176,7 +176,7 @@ static void socfpga_nic301_slave_ns(void)static uint32_t iswgrp_handoff[8 ]; -int misc_init_r (void ) +int arch_early_init_r (void ) {int i;for (i =0 ; i <8 ; i++)/* Cache initial SW setting regs */
include/configs/socfpga_common.h +1 -1
@@ -22,7 +22,7 @@#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO #define CONFIG_BOARD_EARLY_INIT_F -#define CONFIG_MISC_INIT_R +#define CONFIG_ARCH_EARLY_INIT_R #define CONFIG_SYS_NO_FLASH #define CONFIG_CLOCKS
Signature · 1 line
2.1.1
PATCH 1/1 arm: socfpga: Move code from misc_init_r() to arch_early_init_r()
Quoted 9 lines · Marek Vasut
Move this initialization code to proper place. The
misc_init_r()function is called way too late and the platform initialization code should be executed much earlier.Signed-off-by Marek Vasut <[email protected]>Cc Chin Liang See <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Vince Bridgers <[email protected]>Cc Albert Aribaud <[email protected]>
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Marek Vasut
AppliedPATCH 1/1 arm: socfpga: Move code from misc_init_r() to arch_early_init_r()
Quoted 5 lines · Pavel Machek
Quoted 4 lines · Marek Vasut
Move this initialization code to proper place. The
misc_init_r()function is called way too late and the platform initialization code should be executed much earlier.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Marek Vasut <[email protected]>Cc Chin Liang See <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Vince Bridgers <[email protected]>Cc Albert Aribaud <[email protected]>Acked-by Pavel Machek <[email protected]>
Applied, thanks.
Best regards,
Marek Vasut