Skip to content

Commit 17a6e3e

Browse files
committed
Attempt to fix regressions on x86 targets
1 parent a645be3 commit 17a6e3e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arch.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,6 @@ ifeq ($(filter $(TARGET),x86_fsp_qemu kontron_vx3060_s2),$(TARGET))
983983
# some std libc have headers that bring in extra symbols used in
984984
# FORTIFY_SOURCE realated checks. Use -U_FORTIFY_SOURCE to avoid that.
985985
CFLAGS+=-U_FORTIFY_SOURCE
986-
CFLAGS+=-DMMU=1
987986
ifeq ($(TARGET), kontron_vx3060_s2)
988987
FSP_TGL=1
989988
CFLAGS+=-DWOLFBOOT_TGL=1

src/elf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#endif
4949

5050

51-
#ifdef MMU
51+
#if defined(MMU) || defined (WOLFBOOT_FSP)
5252
/* Loader for elf32 or elf64 format program headers
5353
* Returns the entry point function
5454
*/

0 commit comments

Comments
 (0)