From: Tom Rini Date: Sun, 22 Nov 2015 10:55:27 -0500 Subject: [U-Boot] [U-Boot,v2,4/4] vexpress64: store env in flash In-Reply-To: <1447843149-28412-5-git-send-email-ryan.harkin@linaro.org> References: <1447843149-28412-5-git-send-email-ryan.harkin@linaro.org> Message-ID: <20151122155527.GG9551@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Nov 18, 2015 at 10:39:09AM +0000, Ryan Harkin wrote: > Add support for storing the environment in CFI NOR flash on Juno and FVP > models. > > I also removed some config values that are not used by CFI flash parts. > > Juno has 1 flash part with 259 sectors. The first 255 sectors are > 0x40000 (256kb) and are followed by 4 sectors of 0x10000 (64KB). > > FVP models simulate a 64MB NOR flash part at base address 0x0FFC0000. > This part has 256 x 256kb sectors. We use the last sector to store the > environment. > > To save the NOR flash to a file, the following parameters should be > passed to the model: > > -C bp.flashloader1.fname=${FILENAME} > -C bp.flashloader1.fnameWrite=${FILENAME} > > Foundation models don't simulate the NOR flash, but having NOR support > in the u-boot binary does not harm: attempting to write to the NOR will > fail gracefully. > > Signed-off-by: Ryan Harkin > Acked-by: Linus Walleij Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: