From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 1 Dec 2015 14:24:22 +0100 Subject: [U-Boot] [PATCH v2 2/2] altera_qspi: fix erase and write error code In-Reply-To: <1448960876-22615-2-git-send-email-thomas@wytron.com.tw> References: <1448797103-30524-1-git-send-email-thomas@wytron.com.tw> <1448960876-22615-1-git-send-email-thomas@wytron.com.tw> <1448960876-22615-2-git-send-email-thomas@wytron.com.tw> Message-ID: <201512011424.23029.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Marek Vasut Best regards, Marek Vasut