summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2007-10-19 10:55:24 +0200
committerWolfgang Denk <wd@denx.de>2007-10-24 00:29:14 +0200
commite9d0d527992566ebef9826962ff1745b2f082b92 (patch)
tree25dd5ded3506e003150edf528d3b5bfaeab1ebb0
parent9c4884f54da982ce990c7d1760ac81b0704d3c64 (diff)
downloadu-boot-imx-e9d0d527992566ebef9826962ff1745b2f082b92.zip
u-boot-imx-e9d0d527992566ebef9826962ff1745b2f082b92.tar.gz
u-boot-imx-e9d0d527992566ebef9826962ff1745b2f082b92.tar.bz2
delta: Fix OHCI_REGS_BASE undeclared and wait_ms implicit declaration
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r--cpu/pxa/usb.c1
-rw-r--r--include/configs/delta.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/cpu/pxa/usb.c b/cpu/pxa/usb.c
index d2812a4..72b7dfa 100644
--- a/cpu/pxa/usb.c
+++ b/cpu/pxa/usb.c
@@ -27,6 +27,7 @@
# if defined(CONFIG_CPU_MONAHANS) || defined(CONFIG_PXA27X)
#include <asm/arch/pxa-regs.h>
+#include <usb.h>
int usb_cpu_init(void)
{
diff --git a/include/configs/delta.h b/include/configs/delta.h
index 09667ed..14fde1a 100644
--- a/include/configs/delta.h
+++ b/include/configs/delta.h
@@ -123,6 +123,8 @@
#define CONFIG_USB_STORAGE 1
#define CONFIG_DOS_PARTITION 1
+#include <asm/arch/pxa-regs.h> /* for OHCI_REGS_BASE */
+
#undef CFG_USB_OHCI_BOARD_INIT
#define CFG_USB_OHCI_CPU_INIT 1
#define CFG_USB_OHCI_REGS_BASE OHCI_REGS_BASE