[U-Boot] [PATCH] Devkit8000: Fix compilation after changes in dm9000
Mike Frysinger
vapier at gentoo.org
Fri May 7 21:11:50 CEST 2010
On Friday 07 May 2010 12:58:34 Thomas Weber wrote:
> In
> dm9000.c is <asm/io.h> included and outb, etc. used
> and in
> arch/arm/include/asm/io.h +201
> I found #ifdef __io
> but __io wasn't defined.
>
> I also think, that all arm-boards that uses the dm9000 will have this
> problem at the moment. I tried to compile at91sam9261 and got the same
> problem.
>
> Because I have an other problem with gcc I cannot compile completely.
i dont know the arm u-boot port at all, but perhaps the asm-arm/io.h should be
changed like so:
#ifndef __io
# define __io(p) (p)
#endif
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100507/3e66f80d/attachment.pgp
More information about the U-Boot
mailing list