[U-Boot] Typo in ehci-fsl ?

Damien,
I get a build error on MVBLM7 board on current top of tree.
In file include/usb/ehci-fsl.h line 164 checks for CONFIG_MPC83XX introduced by
commit 29c6fbe0471afd7ffa41fcb2103eec5b53294897 Author: Damien Dusha d.dusha@gmail.com Date: Thu Oct 14 15:27:06 2010 +0200
MPC5121: Add USB EHCI support
Signed-off-by: Francesco Rendine francesco.rendine@valueteam.com Signed-off-by: Damien Dusha d.dusha@gmail.com Signed-off-by: Anatolij Gustschin agust@denx.de
Coding style cleanup; slight file restructuring.
Shouldn't this be CONFIG_MPC83xx or do I need to update my board config ? Have I missed something ?
Regards, André
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/usb/ehci-fsl.h b/include/usb/ehci-fsl.h index 08691a0..67600ed 100644 --- a/include/usb/ehci-fsl.h +++ b/include/usb/ehci-fsl.h @@ -161,7 +161,7 @@ #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

Dear Anatolij Gustschin,
In message 1287678635-24269-1-git-send-email-agust@denx.de you wrote:
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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Anatolij Gustschin
-
André Schwarz
-
Wolfgang Denk