mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
test: Tidy up sandbox handling in test-main
This is pretty messy at present since it relies on a SPL_SANDBOX option that does not exist. Use the normal options instead, so that it will work with split config. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3b510807f5
commit
d577459497
1 changed files with 5 additions and 5 deletions
|
@ -46,14 +46,14 @@ enum fdtchk_t {
|
||||||
*/
|
*/
|
||||||
static enum fdtchk_t fdt_action(void)
|
static enum fdtchk_t fdt_action(void)
|
||||||
{
|
{
|
||||||
/* Do a copy for sandbox (but only the U-Boot build, not SPL) */
|
|
||||||
if (CONFIG_IS_ENABLED(SANDBOX))
|
|
||||||
return FDTCHK_COPY;
|
|
||||||
|
|
||||||
/* For sandbox SPL builds, do nothing */
|
/* For sandbox SPL builds, do nothing */
|
||||||
if (IS_ENABLED(CONFIG_SANDBOX))
|
if (IS_ENABLED(CONFIG_SANDBOX) && IS_ENABLED(CONFIG_SPL_BUILD))
|
||||||
return FDTCHK_NONE;
|
return FDTCHK_NONE;
|
||||||
|
|
||||||
|
/* Do a copy for sandbox (but only the U-Boot build, not SPL) */
|
||||||
|
if (IS_ENABLED(CONFIG_SANDBOX))
|
||||||
|
return FDTCHK_COPY;
|
||||||
|
|
||||||
/* For all other boards, do a checksum */
|
/* For all other boards, do a checksum */
|
||||||
return FDTCHK_CHECKSUM;
|
return FDTCHK_CHECKSUM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue