diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-11-18 22:53:56 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-11-23 06:53:09 +0000 |
commit | a2e5a7d75bab2d38ea295071300fba4cad8afc50 (patch) | |
tree | 2fb97ad908d30a81ebcec3fb3db69ff757c1f498 /hwaccess_x86_io.c | |
parent | 8d0816faa55c2d52f92dcf4758935a807f71e4ba (diff) | |
download | flashrom-a2e5a7d75bab2d38ea295071300fba4cad8afc50.tar.gz flashrom-a2e5a7d75bab2d38ea295071300fba4cad8afc50.tar.bz2 flashrom-a2e5a7d75bab2d38ea295071300fba4cad8afc50.zip |
libpayload: Fix compiling bugs
hwaccess_physmap.c: make `void *sys_physmap(()` static
hwaccess_x86_io.c: Add missing include
Change-Id: I5062c5a62b90f7a189488f3f569dc357bd2cb85f
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69831
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'hwaccess_x86_io.c')
-rw-r--r-- | hwaccess_x86_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hwaccess_x86_io.c b/hwaccess_x86_io.c index c3ad31396..a883ed418 100644 --- a/hwaccess_x86_io.c +++ b/hwaccess_x86_io.c @@ -134,6 +134,8 @@ #endif #if defined(__LIBPAYLOAD__) +#include <arch/io.h> + #define IO_PORT_PERMISSION USE_DUMMY #define IO_PORT_FUNCTION USE_LIBC_TARGET_LAST #endif |