common: board_r: Drop initr_secondary_cpu wrapper
authorOvidiu Panait <ovidiu.panait@windriver.com>
Sat, 28 Nov 2020 08:43:09 +0000 (10:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:11 +0000 (14:36 -0500)
commitfb504b2c082c3ecd2ec7e550ae9504175c019b3a
treeb892ef4f1e4eec086c67db27cf17b6659fdd9ad8
parent51c5a2c5e43e2c9c7ad6720c40aad8a55452f62c
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>
arch/powerpc/cpu/mpc85xx/cpu_init.c
common/board_r.c
include/init.h