[U-Boot] [PATCH] imx: ventana: config: set MMC env Partition to 1

Stefano Babic sbabic at denx.de
Wed Apr 12 16:25:05 UTC 2017


On 11/04/2017 18:58, Tim Harvey wrote:
> Partition 1 equates to EMMC boot0
> 
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> ---
>  include/configs/gw_ventana.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
> index c3908de..8191d43 100644
> --- a/include/configs/gw_ventana.h
> +++ b/include/configs/gw_ventana.h
> @@ -232,6 +232,7 @@
>  #endif
>  #if defined(CONFIG_ENV_IS_IN_MMC)
>    #define CONFIG_SYS_MMC_ENV_DEV         0
> +  #define CONFIG_SYS_MMC_ENV_PART        1
>    #define CONFIG_ENV_OFFSET              (709 * SZ_1K)
>    #define CONFIG_ENV_SIZE                (128 * SZ_1K)
>    #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + (128 * SZ_1K))
> 
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
=====================================================================


More information about the U-Boot mailing list