summaryrefslogtreecommitdiff
path: root/arch/powerpc/config.mk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-03-11 06:50:01 +0000
committerTom Rini <trini@ti.com>2013-03-15 16:14:00 -0400
commit660c60c4e70c1f8369e7fc4e23b3bc10e01f1199 (patch)
treeb6db87d77f0c533d49b8e472e77d3ddb42b6d14f /arch/powerpc/config.mk
parentc2240d4dbef98f0bc5f5e99324d1eef8d6e9acdf (diff)
downloadu-boot-imx-660c60c4e70c1f8369e7fc4e23b3bc10e01f1199.zip
u-boot-imx-660c60c4e70c1f8369e7fc4e23b3bc10e01f1199.tar.gz
u-boot-imx-660c60c4e70c1f8369e7fc4e23b3bc10e01f1199.tar.bz2
ppc: Enable generic board support
This enables generic board support so that ppc boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/config.mk')
-rw-r--r--arch/powerpc/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index b706281..e32d2bf 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -29,6 +29,9 @@ PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections
PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__
PLATFORM_LDFLAGS += -n
+# Support generic board on PPC
+__HAVE_ARCH_GENERIC_BOARD := y
+
#
# When cross-compiling on NetBSD, we have to define __PPC__ or else we
# will pick up a va_list declaration that is incompatible with the