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>
Showing
- arch/m68k/lib/board.c 0 additions, 7 deletionsarch/m68k/lib/board.c
- arch/powerpc/lib/board.c 0 additions, 8 deletionsarch/powerpc/lib/board.c
- common/board_r.c 0 additions, 14 deletionscommon/board_r.c
- common/main.c 4 additions, 7 deletionscommon/main.c
- include/common.h 1 addition, 0 deletionsinclude/common.h
Loading
Please register or sign in to comment