From 4bbfd3e279d70afc89456048e024e6b923c9d325 Mon Sep 17 00:00:00 2001 From: Peter Tyser Date: Thu, 7 Oct 2010 22:32:48 -0500 Subject: 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 --- include/configs/Yukon8220.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/Yukon8220.h') diff --git a/include/configs/Yukon8220.h b/include/configs/Yukon8220.h index c439068f533..8ec6c84eb31 100644 --- a/include/configs/Yukon8220.h +++ b/include/configs/Yukon8220.h @@ -31,6 +31,7 @@ #define CONFIG_MPC8220 1 #define CONFIG_YUKON8220 1 /* ... on Yukon board */ +#define CONFIG_BAT_RW 1 /* Use common BAT rw code */ #define CONFIG_HIGH_BATS 1 /* High BATs supported */ /* Input clock running at 30Mhz, read Hid1 for the CPU multiplier to -- cgit v1.2.3