]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cfi_flash: Enable PPB protection for all AMD cmdset flash chips
authorStefan Roese <sr@denx.de>
Thu, 6 Dec 2012 14:44:11 +0000 (15:44 +0100)
committerStefan Roese <sr@denx.de>
Thu, 10 Jan 2013 13:39:54 +0000 (14:39 +0100)
commitac6b911514ac834b87fd7c13be798f6e41767efd
tree4ad27d52a2a7c1d0ced9e1bd89ca19cac4f87ebc
parent03deff433ee8768947d3f232725d64806acd79bc
cfi_flash: Enable PPB protection for all AMD cmdset flash chips

Not only Spansion supports the Persistent Protection Bits (PPB) locking.
Other devices like the Micron JS28F512M29EWx also support this type
of locking/unlocking. Detection of support is done in the same way as
done for the Spansion chips - via the 0x49 CFI word.

This patch enables this PPB protection mechanism for all AMD type
(AMD commandset) 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>
drivers/mtd/cfi_flash.c