[U-Boot] [PATCH v2 2/2] altera_qspi: fix erase and write error code
Thomas Chou
thomas at wytron.com.tw
Sun Dec 6 04:33:08 CET 2015
On 2015年12月01日 17:07, Thomas Chou wrote:
> 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 at wytron.com.tw>
> ---
> v2
> add description as suggested by Marek.
>
> drivers/mtd/altera_qspi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied to u-boot-nios.
More information about the U-Boot
mailing list