summaryrefslogtreecommitdiff
path: root/arch/x86/config.mk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 07:40:13 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:14:00 -0400
commite424c15c1f4ef8a084120f111d95da60676ba1cc (patch)
tree6e709c7576dc6a66c623d9784b22963d42e81f36 /arch/x86/config.mk
parent86cfb6bdecc3a312a939bbd89560f500f45193c3 (diff)
downloadu-boot-imx-e424c15c1f4ef8a084120f111d95da60676ba1cc.zip
u-boot-imx-e424c15c1f4ef8a084120f111d95da60676ba1cc.tar.gz
u-boot-imx-e424c15c1f4ef8a084120f111d95da60676ba1cc.tar.bz2
x86: Enable generic board support
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/config.mk')
-rw-r--r--arch/x86/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/config.mk b/arch/x86/config.mk
index 23cacff..168dc24 100644
--- a/arch/x86/config.mk
+++ b/arch/x86/config.mk
@@ -36,6 +36,9 @@ PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_X86)
PLATFORM_CPPFLAGS += -fno-dwarf2-cfi-asm
PLATFORM_CPPFLAGS += -DREALMODE_BASE=0x7c0
+# Support generic board on x86
+__HAVE_ARCH_GENERIC_BOARD := y
+
PLATFORM_RELFLAGS += -ffunction-sections -fvisibility=hidden
PLATFORM_LDFLAGS += --emit-relocs -Bsymbolic -Bsymbolic-functions