commit | 19345d7c9483b84578da5206b3c604b534121d88 | [log] [tgz] |
---|---|---|
author | Peter Bigot <pab@pabigot.com> | Wed Sep 03 12:22:43 2014 -0500 |
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | Fri Oct 03 17:26:50 2014 +0300 |
tree | 895a493d6009bfe9d8b5b2bbd48efd8b40169bd6 | |
parent | 6dc93e7087ccac1acb6910ac8838d9e90c602fe4 [diff] |
env_mmc: correct fini partition to match init partition The code to set the MMC partition uses an weak function to obtain the correct partition number. Use that instead of the compile-time default when deciding whether it needs to switch back. Fixes: 6e7b7df4df43574 ("env_mmc: support env partition setup in runtime") Signed-off-by: Peter A. Bigot <pab@pabigot.com> Acked-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>