From: Marcel Ziswiler Date: Sun, 4 May 2008 23:58:04 +0000 (UTC) Subject: [U-Boot-Users] =?utf-8?q?=5BPATCH=5D_adsvix=3A_Fix_undefined_refe?= =?utf-8?q?rence_to=09inb=09and_outb_build_errors?= References: <1209688309-30379-1-git-send-email-marcel@ziswiler.com> <20080502082006.GB21533@game.jcrosoft.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jean-Christophe PLAGNIOL-VILLARD 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