提交 9e8e63cc 编写于 作者: N Nick Spence 提交者: Stefan Roese

CFI: Add CFI_CMDSET_INTEL_EXTENDED to fix flash_real_protect()

This patch fixes a missing vendor code in the flash_real_protect() function.
Signed-off-by: NNick Spence <nick.spence@freescale.com>
Signed-off-by: NStefan Roese <sr@denx.de>
上级 4e00acde
......@@ -1357,6 +1357,7 @@ int flash_real_protect (flash_info_t * info, long sector, int prot)
switch (info->vendor) {
case CFI_CMDSET_INTEL_PROG_REGIONS:
case CFI_CMDSET_INTEL_STANDARD:
case CFI_CMDSET_INTEL_EXTENDED:
flash_write_cmd (info, sector, 0,
FLASH_CMD_CLEAR_STATUS);
flash_write_cmd (info, sector, 0, FLASH_CMD_PROTECT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册