From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Tue, 13 Nov 2007 22:18:04 +0900 Subject: [U-Boot-Users] [PATCH] Fixed mips_io_port_base build errors. In-Reply-To: <1194941465-6571-1-git-send-email-plagnioj@jcrosoft.com> References: <1194941465-6571-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <4739A40C.9070106@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: > This patch has been sent on: > - 29 Sep 2007 > > Although mips_io_port_base is currently a part of IDE command, it is quite > fundamental for MIPS I/O port access such as in[bwl] and out[bwl]. So move > it to MIPS general part, and introduce `set_io_port_base()' from Linux. > > This patch is triggered by multiple definition of `mips_io_port_base' build > error on gth2 (and tb0229 also needs this fix.) > > board/gth2/libgth2.a(gth2.o): In function `log_serial_char': > /home/skuribay/devel/u-boot.git/board/gth2/gth2.c:47: multiple definition of `mips_io_port_base' > common/libcommon.a(cmd_ide.o):/home/skuribay/devel/u-boot.git/common/cmd_ide.c:712: first defined here > make: *** [u-boot] Error 1 > > Signed-off-by: Shinya Kuribayashi > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD This has been queued up in testing branch for a while. I'll push next MIPS updates in the near future. http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-mips.git;a=commit;h=0a18b365b6238b44bd68d6ba60719595f4ce1d93 Thanks for remainder ;-) Shinya