summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/x86/Makefile.inc
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-02-22 02:06:51 +0100
committerNico Huber <nico.h@gmx.de>2022-02-23 22:47:09 +0000
commit4fa9f2ae8bfe9260afa5f8e1880f430e551ff7c0 (patch)
treef4340a3de871ca5b601da20117eafbb4bd8dacc6 /payloads/libpayload/arch/x86/Makefile.inc
parent22372f4ac90780407533ebefc25d1740fc72ce7c (diff)
libpayload/x86: Fix boot_device_read() and hook it up
Casts from integer to pointer are usually a case for phys_to_virt(). Change-Id: I861d435ff2361cdc26a2abd46d43b9346fa67ccc Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/62246 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/arch/x86/Makefile.inc')
-rw-r--r--payloads/libpayload/arch/x86/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/x86/Makefile.inc b/payloads/libpayload/arch/x86/Makefile.inc
index 41228f2e12..e010329eba 100644
--- a/payloads/libpayload/arch/x86/Makefile.inc
+++ b/payloads/libpayload/arch/x86/Makefile.inc
@@ -42,6 +42,7 @@ libc-$(CONFIG_LP_GPL) += string.c
libgdb-y += gdb.c
libcbfs-$(CONFIG_LP_CBFS) += rom_media.c
+libcbfs-$(CONFIG_LP_CBFS) += boot_media.c
# Multiboot support is configurable
libc-$(CONFIG_LP_MULTIBOOT) += multiboot.c