]> git.sur5r.net Git - u-boot/commit
Fixed mips_io_port_base build errors.
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 13 Nov 2007 08:11:05 +0000 (09:11 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 17 Nov 2007 00:37:44 +0000 (01:37 +0100)
commit5c15010efad980ad5498cc565fc1ed70df2f52b4
tree5b7a60ca24a84352b29e387a62ef0e5418ae88f9
parente5e3d7d520073701be0276e3e1c607149fc9be87
Fixed mips_io_port_base build errors.

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 <skuribay@ruby.dti.ne.jp>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/dbau1x00/dbau1x00.c
board/gth2/gth2.c
board/incaip/incaip.c
board/pb1x00/pb1x00.c
board/purple/purple.c
board/tb0229/tb0229.c
common/cmd_ide.c
include/asm-mips/io.h
lib_mips/board.c