From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 21 Feb 2014 09:36:08 -0500 Subject: [U-Boot] [U-Boot, 2/2] serial/serial_arc: switch from {read|write}l to {read|write}b accessors In-Reply-To: <1391839802-11494-3-git-send-email-abrodkin@synopsys.com> References: <1391839802-11494-3-git-send-email-abrodkin@synopsys.com> Message-ID: <20140221143608.GS19081@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Feb 08, 2014 at 10:10:02AM +0400, Alexey Brodkin wrote: > This is required for proper functionality on big-endian targets. > Memory-mapped registres of ARC UART are not 32-bit words but 8-bit bytes > so on little-endian target either acessor (_l or _b) works fine. > On big-endian only _b accessors works as expected. > > Signed-off-by: Alexey Brodkin > > Cc: Vineet Gupta > Cc: Noam Camus > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: