summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-07-21 14:09:43 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-07-30 18:50:24 +0200
commit8acfd7ddce409cab5ac3b994faa0ae2c0d38ccf3 (patch)
tree04bbd06fde6781549fb4450a9b7a5adfc6718b4e /lib/string.c
parenta36d59ba99a19c777d896d4c70e75975654e2831 (diff)
spl: blk: use CONFIG_SPL_FS_LOAD_PAYLOAD_NAME
We should target to unify the code for different block devices in SPL to reduce code size. MMC, USB, SATA, and Semihosting use CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to indicate the filename to load. NVMe uses CONFIG_SPL_PAYLOAD in spl_blk_load_image(). CONFIG_SPL_PAYLOAD is meant to define which binary to integrate into u-boot-with-spl.bin. See commit 7550dbe38b3f ("spl: Add option SPL_PAYLOAD"). Change spl_blk_load_image() to use CONFIG_SPL_FS_LOAD_PAYLOAD_NAME. Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions