summaryrefslogtreecommitdiff
path: root/include/axp221.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2017-11-18 11:09:08 -0800
committerStefan Roese <sr@denx.de>2017-12-04 07:41:32 +0100
commit2544f47078635958bacb106684a2f81f57a4ed80 (patch)
treec6aa01528f1dad1f2708cb06cec1e121dc714685 /include/axp221.h
parentb06c46de632c55f4c39d404c6f0f65e414b31050 (diff)
mtd: cfi: Fix checking status register feature
Commit 72443c7f7d21 ("mtd: cfi: Add support for status register polling") added a feature check to determine if status register is available for certain flash chips. The "lower software bits" register used to determine this feature is not backward compati- ble. Older flash chips without this feature has reserved value 0xff. Instead of checking "lower software bits" register, use CFI primary vendor-specific extended query. Since CFI version 1.4, software features can be read from offset 0x53 according to document AN201168 from Cypress. Signed-off-by: York Sun <york.sun@nxp.com> CC: Marek Vasut <marek.vasut@gmail.com> Tested-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/axp221.h')
0 files changed, 0 insertions, 0 deletions