From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 2 May 2008 10:20:06 +0200 Subject: [U-Boot-Users] [PATCH] adsvix: Fix undefined reference to inb and outb build errors In-Reply-To: <1209688309-30379-1-git-send-email-marcel@ziswiler.com> References: <1209688309-30379-1-git-send-email-marcel@ziswiler.com> Message-ID: <20080502082006.GB21533@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02:31 Fri 02 May , Marcel Ziswiler wrote: > - undefined reference to `inb' > - undefined reference to `outb' > > Signed-off-by: Marcel Ziswiler > --- > include/configs/adsvix.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/configs/adsvix.h b/include/configs/adsvix.h > index 703d312..58914cb 100644 > --- a/include/configs/adsvix.h > +++ b/include/configs/adsvix.h > @@ -310,6 +310,7 @@ > > #define CONFIG_PXA_PCMCIA 1 > #define CONFIG_PXA_IDE 1 > +#define __io This is not the good way to do it __io is suppose to declare as this #define __io(a) ((volatile void *)(a)) NACK This will be fix by ad the asm-arm/arch-*/io.h and cleany the asm/io.h Best Regards, J.