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. Alternatively I can use regshift equals 0 and redefine locally all offsets from serial_reg.h e.g. UART_LST, UART_IER... What do you think is the way to work this regshift? BTW: no more endian-ness from my side. ________________________________________ From: Alan Cox [alan@xxxxxxxxxxxxxxxxxxx] Sent: Friday, October 12, 2012 11:06 PM To: Noam Camus Cc: linux-serial@xxxxxxxxxxxxxxx Subject: Re: 8250_early for big-endian On Fri, 12 Oct 2012 21:08:15 +0200 Noam Camus <noamc@xxxxxxxxxx> wrote: > Sorry,but I wrote that I am using mmio32. Yes but you also keep talking about endian-ness. The underlying registers are 8bit so they are not 'endian' at all. They might be at the address "base + 4 * offset + 3" perhaps ? If so they to use mmio32 presumably you just need to set the base address properly (ie 0xXXXXXXX3 or similar). Do the values have to be read with 32bit operations and do they have to be read on 32bi alignment ? 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