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/sbc8641d.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/sbc8641d.h') diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h index a7831c0545..490d4f548d 100644 --- a/include/configs/sbc8641d.h +++ b/include/configs/sbc8641d.h @@ -64,6 +64,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 */ #undef CONFIG_SPD_EEPROM /* Do not use SPD EEPROM for DDR setup*/ -- cgit v1.2.3