]> git.sur5r.net Git - u-boot/commit
dm: Move pre-reloc init earlier to cope with board_early_init_f()
authorSimon Glass <sjg@chromium.org>
Wed, 3 Sep 2014 23:36:59 +0000 (17:36 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Sep 2014 18:59:57 +0000 (12:59 -0600)
commit3ea0953d36023d7e50fb00b2e258d8fb2828aeac
tree14068f40e78c5482a1dad65c4d21fa1d64cb1f77
parentb7a809957bcd72c2efa49ce733774b1e28878585
dm: Move pre-reloc init earlier to cope with board_early_init_f()

In order to support GPIO access in board_early_init_f() we must set up
driver model before this function is called. In any case, earlier is
better since driver model is (or will become) a key function for most
init.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c