From: Kim Phillips Date: Tue, 23 Sep 2008 09:49:43 -0500 Subject: [U-Boot] [PATCH] mpc83xx: add h/w flash protection to board configs (was Re: erase and saveenv stop working after using fw_setenv) In-Reply-To: <20080916090450.0F9552487F@gemini.denx.de> References: <48CF6452.40603@inoi.fi> <20080916090450.0F9552487F@gemini.denx.de> Message-ID: <20080923094943.bded502f.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 16 Sep 2008 11:04:50 +0200 Wolfgang Denk wrote: > The problem is that the MPC8323ERDB board has flash chips that > support hardware flash protection (locking), but the board config > file does not select the CFG_FLASH_PROTECTION option. Therefore > U-Boot will not make any attempts to lock or unlock any flash > sectors. > > > I think two things should be done: > > a) Kim, I think it would make sense to add CFG_FLASH_PROTECTION to > all board configurations that use lockable flash chips. I would > even consider this a bug fix and pull it into the upcoming 2008-10 > release, if you want. ok, I'll leave non-fsl boards up to their maintainers though: