]> git.sur5r.net Git - u-boot/commitdiff
Fix building for 83xx boards with USB support
authorAnatolij Gustschin <agust@denx.de>
Thu, 21 Oct 2010 16:30:35 +0000 (18:30 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 21 Oct 2010 18:00:41 +0000 (20:00 +0200)
Commit 29c6fbe0471afd7ffa41fcb2103eec5b53294897 broke
building for 83xx boards with USB support:

ehci-fsl.c: In function 'ehci_hcd_init':
ehci-fsl.c:43: error: 'CONFIG_SYS_FSL_USB_ADDR' undeclared (first use in this function)
ehci-fsl.c:43: error: (Each undeclared identifier is reported only once
ehci-fsl.c:43: error: for each function it appears in.)
make[1]: *** [ehci-fsl.o] Error 1

Signed-off-by: Anatolij Gustschin <agust@denx.de>
include/usb/ehci-fsl.h

index 08691a0f2a123d3b833ba824fa7e36758defbd6b..67600ed522817f36ced4f29f2a577b2a140d754d 100644 (file)
 #define MPC83XX_SCCR_USB_DRCM_01       0x00100000
 #define MPC83XX_SCCR_USB_DRCM_10       0x00200000
 
-#if defined(CONFIG_MPC83XX)
+#if defined(CONFIG_MPC83xx)
 #define CONFIG_SYS_FSL_USB_ADDR CONFIG_SYS_MPC83xx_USB_ADDR
 #elif defined(CONFIG_MPC85xx)
 #define CONFIG_SYS_FSL_USB_ADDR CONFIG_SYS_MPC85xx_USB_ADDR