From 5b4ace940c0f6ae7f8b374cf04bdcc4f606a5ae4 Mon Sep 17 00:00:00 2001 From: gber Date: Tue, 7 May 2013 06:42:07 +0000 Subject: [PATCH] decode_win_sdram_fixup() function should be declared, defined and used only by Armada XP Obtained from: Semihalf --- sys/arm/mv/common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/arm/mv/common.c b/sys/arm/mv/common.c index ed52899487ec..d4bee6406bc3 100644 --- a/sys/arm/mv/common.c +++ b/sys/arm/mv/common.c @@ -89,6 +89,8 @@ static int decode_win_xor_valid(void); #ifndef SOC_MV_FREY static void decode_win_cpu_setup(void); +#endif +#ifdef SOC_MV_ARMADAXP static int decode_win_sdram_fixup(void); #endif static void decode_win_usb_setup(u_long); @@ -879,7 +881,9 @@ decode_win_cpu_setup(void) cpu_wins[i].size, cpu_wins[i].remap); } +#endif +#ifdef SOC_MV_ARMADAXP static int decode_win_sdram_fixup(void) {