Skip to content
Commit 10f087f7 authored by Liam Beguin's avatar Liam Beguin Committed by Tom Rini
Browse files

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: default avatarLiam Beguin <liambeguin@gmail.com>
Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
parent aa1ced7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment