diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-04-22 13:34:16 -0600 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-04-25 17:56:30 +0200 |
commit | 3517de6d26de7baeddb2c9e9bf145456c35885e1 (patch) | |
tree | 076bfd1b2e0462840cbc2ab449987cdc95f627a4 /include | |
parent | e1b0f6fe3d0a0317486fb879e83dc1440cac3029 (diff) | |
download | u-boot-imx-3517de6d26de7baeddb2c9e9bf145456c35885e1.zip u-boot-imx-3517de6d26de7baeddb2c9e9bf145456c35885e1.tar.gz u-boot-imx-3517de6d26de7baeddb2c9e9bf145456c35885e1.tar.bz2 |
dfu: ram: fix number base of RAM entity parameters
U-Boot typically interprets unprefixed numbers as base 16, and DFU RAM
entity parsing has historically done so. Reverse the change to default
to base 10, so that values in previously working command-lines aren't
mis-parsed, causing RAM corruption, crashes, hangs, etc.
Fixes: 6aeb877afef0 ("drivers: dfu: ram: fix a crash with dfu ram with invalid dfu_alt_info env")
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
[Test HW: AM335x BBB]
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions