From owner-svn-src-head@FreeBSD.ORG Tue May 7 06:42:08 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9EB5B3BC; Tue, 7 May 2013 06:42:08 +0000 (UTC) (envelope-from gber@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9203F22E; Tue, 7 May 2013 06:42:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r476g7Qe069902; Tue, 7 May 2013 06:42:07 GMT (envelope-from gber@svn.freebsd.org) Received: (from gber@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r476g7dn069901; Tue, 7 May 2013 06:42:07 GMT (envelope-from gber@svn.freebsd.org) Message-Id: <201305070642.r476g7dn069901@svn.freebsd.org> From: Grzegorz Bernacki Date: Tue, 7 May 2013 06:42:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250324 - head/sys/arm/mv X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 06:42:08 -0000 Author: gber Date: Tue May 7 06:42:07 2013 New Revision: 250324 URL: http://svnweb.freebsd.org/changeset/base/250324 Log: decode_win_sdram_fixup() function should be declared, defined and used only by Armada XP Obtained from: Semihalf Modified: head/sys/arm/mv/common.c Modified: head/sys/arm/mv/common.c ============================================================================== --- head/sys/arm/mv/common.c Tue May 7 05:40:20 2013 (r250323) +++ head/sys/arm/mv/common.c Tue May 7 06:42:07 2013 (r250324) @@ -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) {