]> git.dujemihanovic.xyz Git - u-boot.git/commit
m68k: powerpc: Clean up do_mdm_init
authorSimon Glass <sjg@chromium.org>
Fri, 11 Apr 2014 02:01:32 +0000 (20:01 -0600)
committerTom Rini <trini@ti.com>
Thu, 29 May 2014 21:49:33 +0000 (17:49 -0400)
commit9272a9b4f637347267329c7dc48712ea6c31feaa
treea6fd18846dc2376dc221bd3a903c36fc4c868177
parentb26440f1fa243396000536028ea00e5e185b6b6a
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>
arch/m68k/lib/board.c
arch/powerpc/lib/board.c
common/board_r.c
common/main.c
include/common.h