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

Marcel Ziswiler marcel at ziswiler.com
Mon May 5 01:58:04 CEST 2008


Jean-Christophe PLAGNIOL-VILLARD <plagnioj <at> jcrosoft.com> writes:
> This is not the good way to do it

I just noticed it to be done like that for the two SH boards r2dplus and r7780mp
and figured it to be good enough for use on ARM as well.

> __io is suppose to declare as this
> #define __io(a)                        ((volatile void *)(a))

I am very well aware of that's the way the kernel guys use it.

> This will be fix by ad the asm-arm/arch-*/io.h
> 
> and cleany the asm/io.h

OK, go ahead. It would be nice if that made it into 1.3.3 as the adsvix board
currently does not build at all.

Cheers

Marcel Ziswiler





More information about the U-Boot mailing list