commit | 97d2fb9d6106af5631861e0196b2a64fae0581cf | [log] [tgz] |
---|---|---|
author | Dmitry Lifshitz <lifshitz@compulab.co.il> | Wed Jul 30 13:19:06 2014 +0300 |
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | Fri Aug 01 20:12:15 2014 +0300 |
tree | 64f0cc9f8d1d07ca8f19d66cf2a9f0ba17eead23 | |
parent | df90f8e1b223bae4336fb686c178b1115f3f6992 [diff] |
env_mmc: support env partition setup in runtime 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 <lifshitz@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>