summaryrefslogtreecommitdiff
path: root/spl
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-12-06 15:44:10 +0100
committerStefan Roese <sr@denx.de>2013-01-10 14:39:48 +0100
commit03deff433ee8768947d3f232725d64806acd79bc (patch)
tree5cfb433fd6d4161352331b043c2a02fa2c44dc25 /spl
parent20043a4c3cfbe0df8b452ef137ad6149f68c4ada (diff)
downloadu-boot-imx-03deff433ee8768947d3f232725d64806acd79bc.zip
u-boot-imx-03deff433ee8768947d3f232725d64806acd79bc.tar.gz
u-boot-imx-03deff433ee8768947d3f232725d64806acd79bc.tar.bz2
cfi_flash: Read PPB sector protection from device for AMD/Spansion chips
Patch 66863b05 [cfi_flash: add support for Spansion flash PPB sector protection] introduced the PPB (Persistent Protection Bit) locking for Spansion chips. But right now the sector protection status (locked vs unlocked) is set to unlocked for all sectors upon bootup. The real sector protection status is ignored. This patch now reads the current sector protection status and uses it for these AMD/Spansion flash chips. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: Holger Brunck <holger.brunck@keymile.com> Tested-by: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'spl')
0 files changed, 0 insertions, 0 deletions