summaryrefslogtreecommitdiff
path: root/include/configs/MPC837XEMDS.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-05-27 18:01:19 (GMT)
committerTom Rini <trini@ti.com>2013-06-07 18:17:01 (GMT)
commit064d55f8bc8d7d205ed0be6abb6717e92eeb7cad (patch)
treea0ad2387c6404e0abd31ca7b64fcc75a24b98615 /include/configs/MPC837XEMDS.h
parenta0ba279ac6b6b83b48dee609d7a34fc29b520ebc (diff)
downloadu-boot-064d55f8bc8d7d205ed0be6abb6717e92eeb7cad.tar.xz
fdt: remove unaligned access in fdt_fixup_ethernet()
Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: char mac[16] = "ethaddr"; Replace this with a strcpy() call instead to avoid this. strcpy() is used here, rather than replacing all usage of the mac variable with the string itself, since the loop itself sprintf()s to the variable each iteration, so strcpy() is doing basically the same thing. Reported-by: Florian Meier Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'include/configs/MPC837XEMDS.h')
0 files changed, 0 insertions, 0 deletions