Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    61336833
    sandbox: Remove all drivers before exit · 61336833
    Simon Glass authored
    
    Drivers are supposed to be able to close down cleanly. To set a good example,
    make sandbox shut down its driver model drivers and remove them before exit.
    
    It may be desirable to do the same more generally once driver model is more
    widely-used. This could be done during bootm, before U-Boot jumps to the OS.
    It seems far too early to make this change.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    61336833
    History
    sandbox: Remove all drivers before exit
    Simon Glass authored
    
    Drivers are supposed to be able to close down cleanly. To set a good example,
    make sandbox shut down its driver model drivers and remove them before exit.
    
    It may be desirable to do the same more generally once driver model is more
    widely-used. This could be done during bootm, before U-Boot jumps to the OS.
    It seems far too early to make this change.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>