summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/common.c
diff options
context:
space:
mode:
authorgber <gber@FreeBSD.org>2013-05-07 06:42:07 +0000
committergber <gber@FreeBSD.org>2013-05-07 06:42:07 +0000
commit5b4ace940c0f6ae7f8b374cf04bdcc4f606a5ae4 (patch)
treec63a20b7132488ce45bf1aee87711986366a8c44 /sys/arm/mv/common.c
parent01469a18631d9718ac42f79693b6a118f9ba96fa (diff)
downloadFreeBSD-src-5b4ace940c0f6ae7f8b374cf04bdcc4f606a5ae4.zip
FreeBSD-src-5b4ace940c0f6ae7f8b374cf04bdcc4f606a5ae4.tar.gz
decode_win_sdram_fixup() function should be declared, defined and used
only by Armada XP Obtained from: Semihalf
Diffstat (limited to 'sys/arm/mv/common.c')
-rw-r--r--sys/arm/mv/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/mv/common.c b/sys/arm/mv/common.c
index ed52899..d4bee64 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)
{
OpenPOWER on IntegriCloud