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:
Ovidiu Panait
2020-11-28 10:43:14 +02:00
committed by Tom Rini
parent 42d0d4223f
commit eb2825b79d
3 changed files with 5 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
* Map Xen memory pages, initialize event handler and xenbus,
* setup the grant table.
*/
void xen_init(void);
int xen_init(void);
/**
* xen_fini() - Board cleanup before Linux kernel start