]> git.baikalelectronics.ru Git - uboot.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)
commit9f31e206e29f1470224015e6c1c6afbd73321959
tree8afbf82f252b25da84516b5452b50ea3a9a0b7db
parentcf74d80297b121ecc3c9bc782a0401e172b690e4
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