]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Only read the state if we have a state file
authorSimon Glass <sjg@chromium.org>
Tue, 26 Sep 2023 14:14:49 +0000 (08:14 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2023 18:38:13 +0000 (14:38 -0400)
commit97192937bf0edaa4865bc13487ee35e913c6a2c5
tree920d6230754c6be816788a6e844970c0639ee12d
parenta64fec9f1760edfcea904306f6fbcd13b464b3f1
sandbox: Only read the state if we have a state file

We should not read this unless requested. Make it conditional on the
option being provided.

Add some debugging to show the state being written.

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