Skip to content
Snippets Groups Projects
Commit 9fb02491 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 294b91a5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment