ARM: uniphier: avoid unaligned access to DT on 64bit SoC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 05:43:12 +0000 (14:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 24 Apr 2016 00:53:55 +0000 (09:53 +0900)
commit7b3a032dd37e1cb541a7f5b3b53964481ab11201
treef2e683243b94dda180d90d22b614600e31225349
parent740314326dd49888647bf84ed44106faf2f161cd
ARM: uniphier: avoid unaligned access to DT on 64bit SoC

Because DT properties are 4-byte aligned, the pointer access
*(fdt64_t *) in this code causes unaligned access.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram_init.c