summaryrefslogtreecommitdiff
path: root/board/gth2/gth2.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-11-16 21:01:19 -0700
committerGrant Likely <grant.likely@secretlab.ca>2007-11-16 21:01:19 -0700
commitefe33035acd5f7c13963a4d52e5aac1b68612ae4 (patch)
tree37d6ccca1c82953ae4c41451cb3ec5fe53e2dc3c /board/gth2/gth2.c
parent4d4faae65e115e327425cd514c1a35146a85166b (diff)
parent5947f6999aafa7c54c1390983d264a8463dfea8e (diff)
downloadu-boot-imx-efe33035acd5f7c13963a4d52e5aac1b68612ae4.zip
u-boot-imx-efe33035acd5f7c13963a4d52e5aac1b68612ae4.tar.gz
u-boot-imx-efe33035acd5f7c13963a4d52e5aac1b68612ae4.tar.bz2
Merge branch 'origin' into kconfig-for-1.3.1
Conflicts: drivers/Makefile
Diffstat (limited to 'board/gth2/gth2.c')
-rw-r--r--board/gth2/gth2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/gth2/gth2.c b/board/gth2/gth2.c
index ffeaf58..1593f02 100644
--- a/board/gth2/gth2.c
+++ b/board/gth2/gth2.c
@@ -26,14 +26,13 @@
#include <asm/au1x00.h>
#include <asm/addrspace.h>
#include <asm/mipsregs.h>
+#include <asm/io.h>
#include <watchdog.h>
#include "ee_access.h"
static int wdi_status = 0;
-unsigned long mips_io_port_base = 0;
-
#define SDRAM_SIZE ((64*1024*1024)-(12*4096))
@@ -147,6 +146,9 @@ int checkboard (void)
default:
printf ("Unsupported cpu %d, proc_id=0x%x\n", proc_id >> 24, proc_id);
}
+
+ set_io_port_base(0);
+
#ifdef CONFIG_IDE_PCMCIA
/* PCMCIA is on a 36 bit physical address.
We need to map it into a 32 bit addresses */