diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-23 07:44:37 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-08-16 18:21:50 +0530 |
commit | 294f2050c438d1e4ab39fd040d394927772048f2 (patch) | |
tree | 35acc30c4fc837d434bec4f4af040c5493967f03 /include | |
parent | 8fc2faefdd8bd950fa6ef615ab63f8ec3b6de7e5 (diff) | |
download | u-boot-294f2050c438d1e4ab39fd040d394927772048f2.tar.gz u-boot-294f2050c438d1e4ab39fd040d394927772048f2.tar.xz u-boot-294f2050c438d1e4ab39fd040d394927772048f2.zip |
sf: Preserve QE bit when clearing BP# bits for Macronix flash
On some flash (like Macronix), QE (quad enable) bit is in the same
status register as BP# bits, and we need preserve its original value
during a reboot cycle as this is required by some platforms (like
Intel ICH SPI controller working under descriptor mode).
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
[Refined code for readability]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions