mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
sandbox: bootm: Don't fail the architecture check
Since sandbox is used for testing, it should be able to 'boot' an image from any archhitecture. This allows us to test an image by loading it in sandbox. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
97d1e0c850
commit
5ba63dd4f9
1 changed files with 1 additions and 1 deletions
|
|
@ -1591,7 +1591,7 @@ int fit_image_load(bootm_headers_t *images, ulong addr,
|
|||
}
|
||||
|
||||
bootstage_mark(bootstage_id + BOOTSTAGE_SUB_CHECK_ARCH);
|
||||
#ifndef USE_HOSTCC
|
||||
#if !defined(USE_HOSTCC) && !defined(CONFIG_SANDBOX)
|
||||
if (!fit_image_check_target_arch(fit, noffset)) {
|
||||
puts("Unsupported Architecture\n");
|
||||
bootstage_error(bootstage_id + BOOTSTAGE_SUB_CHECK_ARCH);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue