diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-12-01 16:18:20 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-12-06 11:31:29 +0800 |
commit | f118fe5cf960702f5d57e4f60ec3e488215544dc (patch) | |
tree | e3fc862254ef64f5253665336dc8c9706c4fdea3 /fs | |
parent | 421f306f2c8ced177d96704fa4cef8c6fbdc807c (diff) | |
download | talos-obmc-uboot-f118fe5cf960702f5d57e4f60ec3e488215544dc.tar.gz talos-obmc-uboot-f118fe5cf960702f5d57e4f60ec3e488215544dc.zip |
altera_qspi: fix erase and write error code
Fix erase and write error code, which should be "protected".
From the "Embedded Peripherals IP User Guide" of Altera,
The "Illegal write" flag indicates that a write instruction is
targeting a protected sector on the flash memory. This bit is
set to indicate that the IP has cancelled a write instruction.
The "Illegal erase" flag indicates that an erase instruction has
been set to a protected sector on the flash memory. This bit is
set to indicate that the IP has cancelled the erase instruction.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Chin Liang See <clsee@altera.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions