]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Tidy up address for loading U-Boot from SPL
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:50:55 +0000 (16:50 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit4e7cbf746f6ed1353244773b47aa1c7f92ed9d97
tree8afbf82f252b25da84516b5452b50ea3a9a0b7db
parent6624392d3bb633fe91b7cc4b75b6eec28f637f72
x86: Tidy up address for loading U-Boot from SPL

Use the binman symbols for this, to avoid hard-coding the value. We could
use CONFIG_X86_OFFSET_U_BOOT for the address, but it seems better to
obtain the offset and size through the same mechanism.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/spl.c