summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-10-07 22:32:48 -0500
committerWolfgang Denk <wd@denx.de>2010-10-13 21:44:10 +0200
commit4bbfd3e279d70afc89456048e024e6b923c9d325 (patch)
tree3995c144e705240696eafbac512f093847e515dc /arch
parent812493ad872a56c81a20232a7e89be11ec388c87 (diff)
downloadu-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.zip
u-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.tar.gz
u-boot-imx-4bbfd3e279d70afc89456048e024e6b923c9d325.tar.bz2
ppc: Conditionally compile bat_rw.c
Only a few PPC boards actually use the common BAT manipulation functions, so only compile it for them. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 2065b6d..cec7666 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -30,7 +30,7 @@ SOBJS-y += ppcstring.o
SOBJS-y += ticks.o
SOBJS-y += reloc.o
-COBJS-y += bat_rw.o
+COBJS-$(CONFIG_BAT_RW) += bat_rw.o
COBJS-y += board.o
COBJS-y += bootm.o
COBJS-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount.o