diff options
author | Simon Glass <sjg@chromium.org> | 2014-09-03 23:37:01 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-09-10 18:59:58 (GMT) |
commit | 9fb02491fe96991cbedc49c7ebe5cdd271d1b6a7 (patch) | |
tree | f0368f2f950e20bf6ce3c4a56b49eafcac678d20 /common/cmd_tpm.c | |
parent | 294b91a5817147d4b7f47be2ac69bac2a1f26491 (diff) | |
download | u-boot-9fb02491fe96991cbedc49c7ebe5cdd271d1b6a7.tar.xz |
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>
Diffstat (limited to 'common/cmd_tpm.c')
0 files changed, 0 insertions, 0 deletions