• Simon Glass's avatar
    dm: Make driver model available before board_init() · 9fb02491
    Simon Glass authored
    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>
    9fb02491
stdio.c 5.49 KB