[U-Boot-Users] [PATCH] Fix AT91_USB_HOST_BASE undeclared for mp2usb

Wolfgang Denk wd at denx.de
Mon Nov 19 00:54:50 CET 2007


In message <1195418966-32591-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> 
> diff --git a/include/asm-arm/arch-at91rm9200/hardware.h b/include/asm-arm/arch-at91rm9200/hardware.h
> index 8bb0c47..b868e38 100644
> --- a/include/asm-arm/arch-at91rm9200/hardware.h
> +++ b/include/asm-arm/arch-at91rm9200/hardware.h
> @@ -24,8 +24,6 @@
>  
>  #ifndef __ASSEMBLY__
>  #include "AT91RM9200.h"
> -#else
> -#include "AT91RM9200_inc.h"
>  #endif
>  
>  /* Virtual and Physical base address for system peripherals */
> diff --git a/include/configs/mp2usb.h b/include/configs/mp2usb.h
> index ea5a44b..d985213 100644
> --- a/include/configs/mp2usb.h
> +++ b/include/configs/mp2usb.h
> @@ -107,6 +107,8 @@
>  #define CONFIG_DOS_PARTITION	1
>  #define CONFIG_AT91C_PQFP_UHPBUG 1
>  
> +#include <asm/arch/hardware.h>		/* for AT91_USB_HOST_BASE */
> +

No, that's not a good idea. Then we will have the same breakage again
when another board tries to do the same. I'm testing my own fix right
now. [Test builds running.]

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Objects in mirror are closer than they appear.




More information about the U-Boot mailing list