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/Alaska8220.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/Alaska8220.h') diff --git a/include/configs/Alaska8220.h b/include/configs/Alaska8220.h index 576aa74..85b68be 100644 --- a/include/configs/Alaska8220.h +++ b/include/configs/Alaska8220.h @@ -31,6 +31,7 @@ #define CONFIG_MPC8220 1 #define CONFIG_ALASKA8220 1 /* ... on Alaska 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.1