From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Tue, 23 Oct 2007 00:26:28 +0900 Subject: [U-Boot-Users] [PATCH 1/1] Fix mips_io_port_base multiple declaration In-Reply-To: <1192954010-2408-1-git-send-email-plagnioj@jcrosoft.com> References: <1192954010-2408-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <471CC124.1010108@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > diff --git a/board/dbau1x00/dbau1x00.c b/board/dbau1x00/dbau1x00.c > index d29e8d5..687a69c 100644 > --- a/board/dbau1x00/dbau1x00.c > +++ b/board/dbau1x00/dbau1x00.c > @@ -26,6 +26,8 @@ > #include > #include > > +unsigned long mips_io_port_base = 0; > + > long int initdram(int board_type) > { > /* Sdram is setup by assembler code */ > diff --git a/common/cmd_ide.c b/common/cmd_ide.c > index bb064ea..feb89d6 100644 > --- a/common/cmd_ide.c > +++ b/common/cmd_ide.c > @@ -54,10 +54,6 @@ > > #ifndef __PPC__ > #include > -#ifdef __MIPS__ > -/* Macros depend on this variable */ > -unsigned long mips_io_port_base = 0; > -#endif > #endif > > #ifdef CONFIG_IDE_8xx_DIRECT Thanks, but NACK. Please don't move it to dbau1x00 part. See, http://article.gmane.org/gmane.comp.boot-loaders.u-boot/32132 Does this fix your problem? I'll pick this up after 1.3.0 is out. Shinya