Skip to content
Commit b5c0984e authored by Jeremy Dick's avatar Jeremy Dick Committed by Fabio Baltieri
Browse files

drivers: flash: flash_hp_ra: perform blank check before reading



The value read from unwritten areas of Renesas RAxxx SoCs data
flash is undefined. To prevent reading unwritten areas a
blank check command is performed first. If the area is blank, we
return dummy data so it behaves the same as other flash devices.

Signed-off-by: default avatarJeremy Dick <jdick@pivotint.com>
parent 48680298
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment