[U-Boot] m68k: Fix incorrect memory access on M5235
Tom Rini
trini at ti.com
Tue Jul 8 03:38:15 CEST 2014
On Mon, Jun 30, 2014 at 12:59:41PM +0300, Vasili Galka wrote:
> The csarX and cscrX registers in the fbcs_t struct are 16-bit for
> CONFIG_M5235 and 32-bit wide otherwise. The code in cpu_init.c
> accessed them always as 32-bit, effectively creating a wrong memory
> access on M5235. Fixed that by choosing out_be16/out_be32 depending
> on whether CONFIG_M5235 is defined or not.
>
> Cc: Jason Jin <Jason.jin at freescale.com>
> Signed-off-by: Vasili Galka <vvv444 at gmail.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20140707/6643e77d/attachment.pgp>
More information about the U-Boot
mailing list