]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox_spl: Restrict use of UPL when not enabled
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2024 10:44:53 +0000 (12:44 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
commit58918fa4f06c9bc529755efe133f514435d94467
tree6b413c98ca098b9ecf6b944c4851644b71423adf
parent02eb9f166573009f576133a15d6323ff4ab479b1
sandbox_spl: Restrict use of UPL when not enabled

With sandbox_spl we want to use the file-based boot in CI, so that this
flow is tested. The recent UPL change enabled booting via that method,
thus overriding the file-based boot.

Correct this by using UPL only when the --upl flag is given.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 91fde8e1764 ("sandbox: Add an SPL loader for UPL")
arch/sandbox/cpu/spl.c