diff options
| author | Ovidiu Panait <[email protected]> | 2020-07-24 14:12:23 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-06 14:27:27 -0400 |
| commit | bf2fb81ad363e63b4695104a2cf554de9e4f141a (patch) | |
| tree | 0e74e75552c0dd4e2130c6f4c1aa2d1852cc37ea | |
| parent | 39a192231b065bb026c170d9384b622009796a3d (diff) | |
common/board_r: Remove initr_serial wrapper
Remove the initr_serial->serial_initialize indirection and call
serial_initialize directly.
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Ovidiu Panait <[email protected]>
| -rw-r--r-- | common/board_r.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/board_r.c b/common/board_r.c index d9307f02e06..3b2c6e092b5 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -187,12 +187,6 @@ static int initr_reloc_global_data(void) return 0; } -static int initr_serial(void) -{ - serial_initialize(); - return 0; -} - #if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_MIPS) static int initr_trap(void) { @@ -714,7 +708,7 @@ static init_fnc_t init_sequence_r[] = { #endif initr_dm_devices, stdio_init_tables, - initr_serial, + serial_initialize, initr_announce, #if CONFIG_IS_ENABLED(WDT) initr_watchdog, |
