mmc: Update environment variable with active partition
authorReuben Dowle <reubendowle0@gmail.com>
Thu, 13 May 2021 22:15:43 +0000 (10:15 +1200)
committerPeng Fan <peng.fan@nxp.com>
Tue, 22 Jun 2021 04:02:46 +0000 (12:02 +0800)
commit5c2beda545dde4d27c0e893e97c74740ff27ff2f
tree7fddad0f0bce3581c95a6221ffbb7a8c3c2fa4ed
parent1925e65706b84ec83b99e6335d9a36d8644c9085
mmc: Update environment variable with active partition

This patch allows uboot scripts make choices about where to boot from based
on the active mmc boot partition. This allows having two copies of kernel,
filesystems etc, and choosing which to boot from based off of the active
bootloader partition.

Signed-off-by: Reuben Dowle <reuben.dowle@4rf.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c
doc/usage/mmc.rst