On Mon, Oct 01, 2018 at 11:19:07AM +0200, Uwe Kleine-König wrote:
> From: Michael Schuhmacher <[email protected]>
>
> Serial flash Adesto AT25DF321A specifies the maximal chip erase time as
> 40 seconds. Extend timeout accordingly.
>
> Signed-off-by: Uwe Kleine-König <[email protected]>
> ---
> drivers/net/e1000/eeprom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/net/e1000/eeprom.c b/drivers/net/e1000/eeprom.c
> index dda022e05437..ffd323106fbb 100644
> --- a/drivers/net/e1000/eeprom.c
> +++ b/drivers/net/e1000/eeprom.c
> @@ -883,7 +883,7 @@ static int e1000_flash_mode_erase_chunk(struct e1000_hw
> *hw, loff_t offset,
> ret = e1000_poll_reg(hw, E1000_FLSWCTL,
> E1000_FLSWCTL_DONE | E1000_FLSWCTL_FLBUSY,
> E1000_FLSWCTL_DONE,
> - 10 * SECOND);
> + 40 * SECOND);
> if (ret < 0) {
> dev_err(hw->dev,
> "Timeout waiting for FLSWCTL.DONE to be set (erase)\n");
> --
> 2.19.0
>
>
> _______________________________________________
> barebox mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox