Soon I will email you my patch for regshift addition. In the meantime I discovered that one of my boards do need 32bit operations. How to generalize the solution to cover this case as well? Noam -----Original Message----- From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx] Sent: Saturday, October 13, 2012 3:52 PM To: Noam Camus Cc: linux-serial@xxxxxxxxxxxxxxx Subject: Re: 8250_early for big-endian On Sat, 13 Oct 2012 08:43:02 +0200 Noam Camus <noamc@xxxxxxxxxx> wrote: > On Fri, 12 Oct 2012 21:11:06 +0200 > Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote: > > > Do the values have to be read with 32bit operations and do they have > > to be read on 32bi alignment ? > > Yes I do need the 32bit alignment but I do not need 32bit operations. > So using mmio (instead of mmio32) with regshift equals 2 worked for me. > > However 8250_early got no configurable regshift. > So it needs to be added. I would favour adding the regshift and I see no problem in doing that. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html