commit | 0b9e7272a2e2e2444464983a52ba75d75e0d3af4 | [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 | 65635272a3844723455af51809d4c6093d53bc8c [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>