From: Wolfgang Denk Date: Mon, 19 Nov 2007 00:54:50 +0100 Subject: [U-Boot-Users] [PATCH] Fix AT91_USB_HOST_BASE undeclared for mp2usb In-Reply-To: Your message of "Sun, 18 Nov 2007 21:49:26 +0100." <1195418966-32591-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20071118235450.6176F243A9@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1195418966-32591-1-git-send-email-plagnioj@jcrosoft.com> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > Signed-off-by: Wolfgang Denk > > 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 /* 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.