diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2010-10-08 03:32:48 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-13 19:44:10 (GMT) |
commit | 4bbfd3e279d70afc89456048e024e6b923c9d325 (patch) | |
tree | 3995c144e705240696eafbac512f093847e515dc /arch/powerpc | |
parent | 812493ad872a56c81a20232a7e89be11ec388c87 (diff) | |
download | u-boot-fsl-qoriq-4bbfd3e279d70afc89456048e024e6b923c9d325.tar.xz |
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/powerpc')
-rw-r--r-- | arch/powerpc/lib/Makefile | 2 |
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 |