]> git.sur5r.net Git - u-boot/commit
altera_qspi: set fail_addr for erase ops
authorThomas Chou <thomas@wytron.com.tw>
Wed, 23 Dec 2015 13:06:12 +0000 (21:06 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Mon, 28 Dec 2015 01:32:43 +0000 (09:32 +0800)
commita1b1d7eceb033c256ae661d65732323809fb9101
tree7e759c0e00e5c932acb2cc0506829fe4c32054bc
parent9e957aa4ce959faa89d31bc3ff401cc08bbc1013
altera_qspi: set fail_addr for erase ops

If the erase fails, fail_addr might indicate exactly which block
failed. If fail_addr = MTD_FAIL_ADDR_UNKNOWN, the failure was not
at the device level or was not specific to any particular block.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
drivers/mtd/altera_qspi.c