summaryrefslogtreecommitdiff
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorVasili Galka <vvv444@gmail.com>2014-06-30 12:59:41 +0300
committerTom Rini <trini@ti.com>2014-07-07 19:47:08 -0400
commitfa28179d2ce89d726b80293c8f8dc78bf0c94d30 (patch)
treeb49fbea0f6a725265bf6973a0080e097453f6bd9 /arch/m68k/include
parent6b02d06feb18d27dfd9e2122009967c1d30bfdb6 (diff)
downloadu-boot-imx-fa28179d2ce89d726b80293c8f8dc78bf0c94d30.zip
u-boot-imx-fa28179d2ce89d726b80293c8f8dc78bf0c94d30.tar.gz
u-boot-imx-fa28179d2ce89d726b80293c8f8dc78bf0c94d30.tar.bz2
m68k: Fix incorrect memory access on M5235
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@freescale.com> Signed-off-by: Vasili Galka <vvv444@gmail.com>
Diffstat (limited to 'arch/m68k/include')
0 files changed, 0 insertions, 0 deletions