Re: [PATCH] i2c/busses: Add i2c-icy for I2C on m68k/Amiga

From: Max Staudt
Date: Mon Aug 12 2019 - 18:21:08 EST


On 08/12/2019 11:37 AM, Geert Uytterhoeven wrote:
>> + iowrite8(val, address);
>
> As this is on a Zorro bus, z_writeb()?

I forgot to ask about this.

What is the reasoning behind having a separate z_writeb() for Zorro?
As far as I can see in arch/m68k/include/asm this maps 1:1 to a direct memory access, and it prohibits cross-arch code as in i2c-elektor.


Thanks,
Max