commit | 10f087f73fff024c81439b50423ba69589d5c161 | [log] [tgz] |
---|---|---|
author | Liam Beguin <liambeguin@gmail.com> | Wed Mar 14 19:15:11 2018 -0400 |
committer | Tom Rini <trini@konsulko.com> | Thu Mar 22 13:25:20 2018 -0400 |
tree | 372de402e327e40b1d304b5b797d06e1a8e9627f | |
parent | aa1ced7f09798700f3d96f39f6f5dc7d3d34cf66 [diff] |
cmd: sf: fix map_physmem check Make sure 0x00 is a valid address to read to. If `addr` is 0x00 then map_physmem() will return 0 which should be a valid address. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>