[U-Boot-Users] [PATCH] adsvix: Fix undefined reference to inb and outb build errors

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri May 2 10:20:06 CEST 2008


On 02:31 Fri 02 May     , Marcel Ziswiler wrote:
> - undefined reference to `inb'
> - undefined reference to `outb'
> 
> Signed-off-by: Marcel Ziswiler <marcel at ziswiler.com>
> ---
>  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.




More information about the U-Boot mailing list