]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: Correct uninit conflict
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:24 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commit4000cc67f1a0485483cb7aa9305d558f9200417f
tree2c561533e64b9cce32799cdc735e8b0372230601
parent5d9f87b1d86cd0907669c9308d94b6fc48d80c89
sandbox: Correct uninit conflict

It is not possible to remove the state before driver model is uninited,
since the devices are allocated in the memory buffer. Also it is not
possible to uninit driver model afterwards, since the RAM has been
freed.

Drop the uninit altogether, since it is not actually necessary.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c