summaryrefslogtreecommitdiff
path: root/include/configs/dig297.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-05-27 18:01:19 +0000
committerTom Rini <trini@ti.com>2013-06-07 14:17:01 -0400
commit064d55f8bc8d7d205ed0be6abb6717e92eeb7cad (patch)
treea0ad2387c6404e0abd31ca7b64fcc75a24b98615 /include/configs/dig297.h
parenta0ba279ac6b6b83b48dee609d7a34fc29b520ebc (diff)
downloadu-boot-imx-064d55f8bc8d7d205ed0be6abb6717e92eeb7cad.zip
u-boot-imx-064d55f8bc8d7d205ed0be6abb6717e92eeb7cad.tar.gz
u-boot-imx-064d55f8bc8d7d205ed0be6abb6717e92eeb7cad.tar.bz2
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/dig297.h')
0 files changed, 0 insertions, 0 deletions