summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/mx6
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-04-05 10:54:06 +0200
committerStefano Babic <sbabic@denx.de>2016-04-19 15:55:09 +0200
commit0297bd1106bc59f46ba4401bb50a0cdc9afc9faa (patch)
tree26a2ac5c1db4a5ebac5f10e934d97bec0f69a0ca /arch/arm/cpu/armv7/mx6
parent7d0b8cfeaa930b5946b993373a21b41ea0746be0 (diff)
arm: mx5: Fix NAND image generation
The echo -ne "\xNN" does not work in certain bourne-compatible shells, like dash. The recommended way of hex->char conversion is using printf(1), but there is a pitfall here. The GNU printf does support "\xNN" format, but according to the opengroup documentation, this is not part of POSIX. The POSIX printf only defines "\NNN" where N is octal. Thus, for the sake of compatibility, we use that. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7/mx6')
0 files changed, 0 insertions, 0 deletions