diff options
author | Simon Glass <sjg@chromium.org> | 2025-02-15 19:02:37 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:39 +0100 |
commit | 92d5d1e1cdf3c146a054d36da2f6a2778d12637f (patch) | |
tree | 47c41b8fc91c539ad079bd70eec0369e6de3d503 /arch/x86/lib | |
parent | 96b0a77da0e3877308effd3d916c779fb3deb9df (diff) |
binman: x86: Write skip-at-start when end-at-4gb is used
The end-at-4gb property implies a value for skip-at-start so add it into
the output FDT so that U-Boot can read it.
Now that skip-at-start is implemented, we can drop the workarounds used
in the x86 code to obtain the correct image-pos value.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/fsp2/fsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp2/fsp_init.c b/arch/x86/lib/fsp2/fsp_init.c index 0be892b14dc..4b5f9889655 100644 --- a/arch/x86/lib/fsp2/fsp_init.c +++ b/arch/x86/lib/fsp2/fsp_init.c @@ -140,7 +140,7 @@ int fsp_locate_fsp(enum fsp_type_t type, struct binman_entry *entry, if (ret) return log_msg_ret("binman entry", ret); if (!use_spi_flash) - rom_offset = map_base + CONFIG_ROM_SIZE; + rom_offset = map_base; } else { ret = -ENOENT; if (false) |