]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitea98a31e9f86adf7b3b7ff55ae7beeb092ecbc41
tree7fddad0f0bce3581c95a6221ffbb7a8c3c2fa4ed
parenta8b884979c4088f19796c29a08408d44c6b36c6f
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