From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 11 Feb 2013 11:53:22 +0100 Subject: [U-Boot] [PATCH 3/5] mtd: Make mtdparts work with pre-reloc env In-Reply-To: <1360354046-32392-4-git-send-email-joe.hershberger@ni.com> References: <1360354046-32392-1-git-send-email-joe.hershberger@ni.com> <1360354046-32392-4-git-send-email-joe.hershberger@ni.com> Message-ID: <5118CDA2.5020008@gmail.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 02/08/2013 09:07 PM, Joe Hershberger wrote: > The env in UBI needs to look up the mtd partition as part of relocation, > which happens before relocation. Make the mtdparts code capable of > working on the default env to start with. > > The code tries to set values in the env as well, but again, the env > isn't there yet, so add a check to setenv to not allow sets before the > env is relocated. > > Signed-off-by: Joe Hershberger Looks good: Acked-by: Stefan Roese Thanks, Stefan