From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Sat, 4 Jun 2016 17:38:29 -0300 Subject: [U-Boot] Between 2015.10 and 2016.01, SPI flash changed erase size, and saveenv stopped working In-Reply-To: <20160602134158.GA19969@amd> References: <20160529204041.GA8588@amd> <574BB1B8.8010400@denx.de> <20160530083315.GA18126@amd> <20160602134158.GA19969@amd> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jun 2, 2016 at 10:41 AM, Pavel Machek wrote: >> Does this quick hack help? I am wondering if yous SPI flash power up >> with the SR field protected: > > This may be stupid but... is it possible that changes made by > write_sr() persist over powerdown? Yes, they do.