common: board_r: Drop initr_secondary_cpu wrapper
Add a return value to cpu_secondary_init_r and use it directly in the post-relocation init sequence, rather than using a wrapper stub. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -1028,7 +1028,7 @@ void arch_preboot_os(void)
|
||||
mtmsr(msr);
|
||||
}
|
||||
|
||||
void cpu_secondary_init_r(void)
|
||||
int cpu_secondary_init_r(void)
|
||||
{
|
||||
#ifdef CONFIG_QE
|
||||
#ifdef CONFIG_U_QE
|
||||
@@ -1040,6 +1040,8 @@ void cpu_secondary_init_r(void)
|
||||
qe_init(qe_base);
|
||||
qe_reset();
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BOARD_LATE_INIT
|
||||
|
||||
Reference in New Issue
Block a user