summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_root_node.c
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2025-01-16 17:01:28 -0600
committerMinkyu Kang <mk7.kang@samsung.com>2025-02-05 19:15:12 +0900
commit4d8ccb938d580638aac48d0e432d6699ed3cc4b8 (patch)
tree4dcda1b0979d04bec82e6d8579d9f674fdeebb54 /lib/efi_loader/efi_root_node.c
parent30404063281e08e9faaa125d2aa09db2beee408d (diff)
board: samsung: e850-96: Load LDFW from EFI partition
In case when EFI System Partition is present it can be used to store firmware binaries, instead of keeping those on separate dedicated partitions. That simplifies the partition table and makes it more standard. Rework the firmware loader code to look for LDFW binary at /EFI/firmware/ldfw.bin on ESP first, and if either the partition or the file doesn't exist -- fallback to reading it from 'ldfw' partition. This way backward compatibility can be kept, and Android partition tables without ESP partition can be handled too. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'lib/efi_loader/efi_root_node.c')
0 files changed, 0 insertions, 0 deletions