common: board_r: Drop initr_xen wrapper
Add a return value to xen_init 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:
@@ -428,14 +428,6 @@ static int initr_mmc(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XEN
|
||||
static int initr_xen(void)
|
||||
{
|
||||
xen_init();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PVBLOCK
|
||||
static int initr_pvblock(void)
|
||||
{
|
||||
@@ -743,7 +735,7 @@ static init_fnc_t init_sequence_r[] = {
|
||||
initr_mmc,
|
||||
#endif
|
||||
#ifdef CONFIG_XEN
|
||||
initr_xen,
|
||||
xen_init,
|
||||
#endif
|
||||
#ifdef CONFIG_PVBLOCK
|
||||
initr_pvblock,
|
||||
|
||||
Reference in New Issue
Block a user