summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2006-05-23 13:38:35 +0200
committerMarkus Klotzbuecher <mk@pollux.denx.de>2006-05-23 13:38:35 +0200
commit301f1aa384d0edcae6a22fd9adb933ad71695ecc (patch)
tree6372c981f149c1baac612c71ff7d994a097071e0 /include
parent24e37645e7378b20fa8f20e2996c8fb8e90c70c9 (diff)
downloadu-boot-imx-301f1aa384d0edcae6a22fd9adb933ad71695ecc.zip
u-boot-imx-301f1aa384d0edcae6a22fd9adb933ad71695ecc.tar.gz
u-boot-imx-301f1aa384d0edcae6a22fd9adb933ad71695ecc.tar.bz2
Changed the mp2usb (at91rm9200) board to use the generic OHCI driver. Some
fixes to the latter.
Diffstat (limited to 'include')
-rw-r--r--include/configs/delta.h6
-rw-r--r--include/configs/mp2usb.h11
2 files changed, 11 insertions, 6 deletions
diff --git a/include/configs/delta.h b/include/configs/delta.h
index e6b05e0..fea821a 100644
--- a/include/configs/delta.h
+++ b/include/configs/delta.h
@@ -107,10 +107,10 @@
#define CONFIG_USB_STORAGE 1
#define CONFIG_DOS_PARTITION 1
-#undef CFG_USB_BOARD_INIT
-#define CFG_USB_CPU_INIT 1
+#undef CFG_USB_OHCI_BOARD_INIT
+#define CFG_USB_OHCI_CPU_INIT 1
#define CFG_USB_OHCI_REGS_BASE OHCI_REGS_BASE
-#define CFG_USB_SLOT_NAME "delta"
+#define CFG_USB_OHCI_SLOT_NAME "delta"
#define LITTLEENDIAN 1 /* used by usb_ohci.c */
diff --git a/include/configs/mp2usb.h b/include/configs/mp2usb.h
index 04f1f24..edb20f8 100644
--- a/include/configs/mp2usb.h
+++ b/include/configs/mp2usb.h
@@ -107,6 +107,11 @@
#define CONFIG_DOS_PARTITION 1
#define CONFIG_AT91C_PQFP_UHPBUG 1
+#undef CFG_USB_OHCI_BOARD_INIT
+#define CFG_USB_OHCI_CPU_INIT 1
+#define CFG_USB_OHCI_REGS_BASE AT91_USB_HOST_BASE
+#define CFG_USB_OHCI_SLOT_NAME "at91rm9200"
+
#undef CONFIG_HARD_I2C
#ifdef CONFIG_HARD_I2C
@@ -127,7 +132,7 @@
#define CONFIG_COMMANDS \
((CONFIG_CMD_DFL | \
CFG_CMD_DATE | \
- CFG_CMD_DHCP | \
+ CFG_CMD_DHCP | \
CFG_CMD_EEPROM | \
CFG_CMD_I2C | \
CFG_CMD_NFS | \
@@ -136,7 +141,7 @@
#else
#define CONFIG_COMMANDS \
((CONFIG_CMD_DFL | \
- CFG_CMD_DHCP | \
+ CFG_CMD_DHCP | \
CFG_CMD_NFS | \
CFG_CMD_SNTP | \
CFG_CMD_USB | \
@@ -156,7 +161,7 @@
#define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM 0x20000000
-#define PHYS_SDRAM_SIZE 0x08000000 /* 128 megs */
+#define PHYS_SDRAM_SIZE 0x08000000 /* 128 megs */
#define CFG_MEMTEST_START PHYS_SDRAM
#define CFG_MEMTEST_END CFG_MEMTEST_START + PHYS_SDRAM_SIZE - 262144