diff options
author | gber <gber@FreeBSD.org> | 2013-05-07 06:42:07 +0000 |
---|---|---|
committer | gber <gber@FreeBSD.org> | 2013-05-07 06:42:07 +0000 |
commit | 5b4ace940c0f6ae7f8b374cf04bdcc4f606a5ae4 (patch) | |
tree | c63a20b7132488ce45bf1aee87711986366a8c44 /sys | |
parent | 01469a18631d9718ac42f79693b6a118f9ba96fa (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/arm/mv/common.c | 4 |
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) { |