[U-Boot] [PATCH 2/2] env_mmc: default to 0 if CONFIG_SYS_MMC_ENV_DEV not defined

Otavio Salvador otavio at ossystems.com.br
Wed Jan 15 12:10:51 CET 2014


On Wed, Jan 15, 2014 at 8:53 AM, Hector Palacios
<hector.palacios at digi.com>wrote:

> Since function mmc_get_env_devno is __weak and can be overridden by
> board code, boards do not necessarily need to define
> CONFIG_SYS_MMC_ENV_DEV. If the constant is not defined, return 0 by
> default.
>
> Signed-off-by: Hector Palacios <hector.palacios at digi.com>
>

Maybe use same default define, if not set?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list