summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/arch/x86/cpu/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/arch/x86/cpu/config.mk')
-rw-r--r--qemu/roms/u-boot/arch/x86/cpu/config.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/x86/cpu/config.mk b/qemu/roms/u-boot/arch/x86/cpu/config.mk
new file mode 100644
index 000000000..c1568cacd
--- /dev/null
+++ b/qemu/roms/u-boot/arch/x86/cpu/config.mk
@@ -0,0 +1,16 @@
+#
+# (C) Copyright 2002
+# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+CROSS_COMPILE ?= i386-linux-
+
+PLATFORM_CPPFLAGS += -DCONFIG_X86 -D__I386__ -march=i386 -Werror
+
+# DO NOT MODIFY THE FOLLOWING UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!
+LDPPFLAGS += -DRESET_SEG_START=0xffff0000
+LDPPFLAGS += -DRESET_SEG_SIZE=0x10000
+LDPPFLAGS += -DRESET_VEC_LOC=0xfff0
+LDPPFLAGS += -DSTART_16=0xf800