[U-Boot] [PATCH v2 2/2] altera_qspi: fix erase and write error code

Marek Vasut marex at denx.de
Tue Dec 1 14:24:22 CET 2015


On Tuesday, December 01, 2015 at 10:07:56 AM, 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>

Reviewed-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list