[U-Boot] [PATCH] env_nand: use nand_spl_load_image for readenv if SPL
    Scott Wood 
    scottwood at freescale.com
       
    Fri May 15 20:59:32 CEST 2015
    
    
  
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 <tharvey at gateworks.com>
> ---
>  common/env_nand.c | 7 +++++++
>  1 file changed, 7 insertions(+)
Acked-by: Scott Wood <scottwood at freescale.com>
-Scott
    
    
More information about the U-Boot
mailing list