Re: [U-Boot] [PATCH v2 2/2] env_mmc: support env partition setup in runtime

2014-08-01 Thread Pantelis Antoniou
Hi Dmitry, On Jul 30, 2014, at 1:19 PM, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure.

[U-Boot] [PATCH v2 2/2] env_mmc: support env partition setup in runtime

2014-07-30 Thread Dmitry Lifshitz
Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure. Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il Signed-off-by: Igor Grinberg