]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Remove all drivers before exit
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:02 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:24 +0000 (14:07 +0100)
commit6133683320ece056e49051e52a180adb21992b40
tree7837fb070b4449446289b7a1a11494673f848f8c
parent9adbd7a116d62349eb0a85b5a08ab3ff0a12d556
sandbox: Remove all drivers before exit

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: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c