diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2007-10-19 10:55:24 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-10-24 00:29:14 +0200 |
commit | e9d0d527992566ebef9826962ff1745b2f082b92 (patch) | |
tree | 25dd5ded3506e003150edf528d3b5bfaeab1ebb0 | |
parent | 9c4884f54da982ce990c7d1760ac81b0704d3c64 (diff) | |
download | u-boot-e9d0d527992566ebef9826962ff1745b2f082b92.tar.gz u-boot-e9d0d527992566ebef9826962ff1745b2f082b92.tar.xz u-boot-e9d0d527992566ebef9826962ff1745b2f082b92.zip |
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.c | 1 | ||||
-rw-r--r-- | include/configs/delta.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cpu/pxa/usb.c b/cpu/pxa/usb.c index d2812a413e..72b7dfadfe 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 09667edaa5..14fde1a957 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 |