diff options
author | Simon Glass | 2014-04-10 20:01:32 -0600 |
---|---|---|
committer | Tom Rini | 2014-05-29 17:49:33 -0400 |
commit | 9272a9b4f637347267329c7dc48712ea6c31feaa (patch) | |
tree | a6fd18846dc2376dc221bd3a903c36fc4c868177 /arch | |
parent | b26440f1fa243396000536028ea00e5e185b6b6a (diff) |
m68k: powerpc: Clean up do_mdm_init
This code seems unnecessarily complex. We really just need to check the
global_data. Now that is it all in one place, and not arch-specific, this
is pretty easy.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/lib/board.c | 7 | ||||
-rw-r--r-- | arch/powerpc/lib/board.c | 8 |
2 files changed, 0 insertions, 15 deletions
diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c index 318ca01ea7f..6de920eb437 100644 --- a/arch/m68k/lib/board.c +++ b/arch/m68k/lib/board.c @@ -628,13 +628,6 @@ void board_init_r (gd_t *id, ulong dest_addr) } #endif -#ifdef CONFIG_MODEM_SUPPORT - { - extern int do_mdm_init; - do_mdm_init = gd->do_mdm_init; - } -#endif - #ifdef CONFIG_WATCHDOG /* disable watchdog if environment is set */ if ((s = getenv ("watchdog")) != NULL) { diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 57b4a09b04e..300ab12a3b5 100644 --- a/arch/powerpc/lib/board.c +++ b/arch/powerpc/lib/board.c @@ -991,14 +991,6 @@ void board_init_r(gd_t *id, ulong dest_addr) kbd_init(); #endif -#ifdef CONFIG_MODEM_SUPPORT - { - extern int do_mdm_init; - - do_mdm_init = gd->do_mdm_init; - } -#endif - /* Initialization complete - start the monitor */ /* main_loop() can return to retry autoboot, if so just run it again. */ |