commit | 712da5e23c8895ae537fbc3c0d6146b651acf528 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 03 17:37:01 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Sep 10 12:59:58 2014 -0600 |
tree | f0368f2f950e20bf6ce3c4a56b49eafcac678d20 | |
parent | 254dfab6015e04c2f5c9139a4297662a57d4a447 [diff] |
dm: Make driver model available before board_init() For some boards board_init() will change GPIOs, so we need to have driver model available before then. Adjust the board init to arrange this, but enable it for driver model only, just to be safe. This does create additional #ifdef logic, but it is safer than trying to make a pervasive change which may cause some boards to break. Signed-off-by: Simon Glass <sjg@chromium.org>