summaryrefslogtreecommitdiff
path: root/include/configs/MPC8641HPCN.h
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 /include/configs/MPC8641HPCN.h
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 'include/configs/MPC8641HPCN.h')
-rw-r--r--include/configs/MPC8641HPCN.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 3b80d14..d92b12d 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -68,6 +68,7 @@
#define CONFIG_TSEC_ENET /* tsec ethernet support */
#define CONFIG_ENV_OVERWRITE
+#define CONFIG_BAT_RW 1 /* Use common BAT rw code */
#define CONFIG_HIGH_BATS 1 /* High BATs supported and enabled */
#define CONFIG_SYS_NUM_ADDR_MAP 8 /* Number of addr map slots = 8 dbats */