summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/board/korat/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/board/korat/config.mk')
-rw-r--r--qemu/roms/u-boot/board/korat/config.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/board/korat/config.mk b/qemu/roms/u-boot/board/korat/config.mk
new file mode 100644
index 000000000..42e006009
--- /dev/null
+++ b/qemu/roms/u-boot/board/korat/config.mk
@@ -0,0 +1,27 @@
+#
+# (C) Copyright 2002
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+#
+# Korat (PPC440EPx) board
+#
+
+PLATFORM_CPPFLAGS += -DCONFIG_440=1
+
+ifeq ($(debug),1)
+PLATFORM_CPPFLAGS += -DDEBUG
+endif
+
+ifeq ($(emul),1)
+PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2
+endif
+
+ifeq ($(dbcr),1)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000
+endif
+
+ifndef CONFIG_KORAT_PERMANENT
+LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds
+endif