From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 19 May 2015 15:02:52 +0200 Subject: [U-Boot] [PATCH] env_nand: use nand_spl_load_image for readenv if SPL In-Reply-To: <1431716372.3868.208.camel@freescale.com> References: <1431629284-1456-1-git-send-email-tharvey@gateworks.com> <1431716372.3868.208.camel@freescale.com> Message-ID: <555B347C.6040700@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tim, On 15/05/2015 20:59, Scott Wood wrote: > On Thu, 2015-05-14 at 11:48 -0700, Tim Harvey wrote: >> The readenv() implementation of env_nand uses the mtd layer which is >> unnecessary overhead in SPL when we already have a nand_spl_load_image() >> function that doesn't need it. Using this instead eliminates the need >> to provide a mtd_read for SPL env as well as reduces code (4KB savings in IMX6 >> SPL). >> >> Signed-off-by: Tim Harvey >> --- >> common/env_nand.c | 7 +++++++ >> 1 file changed, 7 insertions(+) > > Acked-by: Scott Wood > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================