Fix mips_io_port_base multiple declaration
PATCH 1/1 Fix mips_io_port_base multiple declaration
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
board/dbau1x00/dbau1x00.c +2 -0
@@ -26,6 +26,8 @@#include <asm/au1x00.h> #include <asm/mipsregs.h> +unsigned long mips_io_port_base =0 ; +long int initdram (int board_type) {/* Sdram is setup by assembler code */
common/cmd_ide.c +0 -4
@@ -54,10 +54,6 @@#ifndef __PPC__#include <asm/io.h> -#ifdef __MIPS__ -/* Macros depend on this variable */ -unsigned long mips_io_port_base =0 ; -#endif #endif #ifdef CONFIG_IDE_8xx_DIRECT
Signature · 1 line
1.5.3.2
PATCH 1/1 Fix mips_io_port_base multiple declaration
Quoted 20 lines · Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by Jean-Christophe PLAGNIOL-VILLARD <[email protected]>board/dbau1x00/dbau1x00.c +2
-0@@ -26,6 +26,8 @@#include <asm/au1x00.h> #include <asm/mipsregs.h> +unsigned long mips_io_port_base =0 ; +long int initdram (int board_type) {/* Sdram is setup by assembler code */ common/cmd_ide.c +0
-0
common/cmd_ide.c line 59
Quoted 10 lines
common/cmd_ide.c +0
-4@@ -54,10 +54,6 @@#ifndef __PPC__#include <asm/io.h> -#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