summaryrefslogtreecommitdiff
path: root/doc/usage
diff options
context:
space:
mode:
authorReuben Dowle <reubendowle0@gmail.com>2021-05-14 01:15:43 +0300
committerPeng Fan <peng.fan@nxp.com>2021-06-22 07:02:46 +0300
commit5c2beda545dde4d27c0e893e97c74740ff27ff2f (patch)
tree7fddad0f0bce3581c95a6221ffbb7a8c3c2fa4ed /doc/usage
parent1925e65706b84ec83b99e6335d9a36d8644c9085 (diff)
downloadu-boot-5c2beda545dde4d27c0e893e97c74740ff27ff2f.tar.xz
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>
Diffstat (limited to 'doc/usage')
-rw-r--r--doc/usage/mmc.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/usage/mmc.rst b/doc/usage/mmc.rst
index 458c7642c0..f20efe3d70 100644
--- a/doc/usage/mmc.rst
+++ b/doc/usage/mmc.rst
@@ -19,7 +19,7 @@ Synopsis
mmc wp
mmc bootbus <dev> <boot_bus_width> <reset_boot_bus_width> <boot_mode>
mmc bootpart-resize <dev> <dev part size MB> <RPMB part size MB>
- mmc partconf <dev> [boot_ack boot_partition partition_access]
+ mmc partconf <dev> [[varname] | [<boot_ack> <boot_partition> <partition_access>]]
mmc rst-function <dev> <value>
Description
@@ -92,6 +92,8 @@ The 'mmc bootbus' command sets the BOOT_BUS_WIDTH field. (*Refer to eMMC specifi
The 'mmc partconf' command shows or changes PARTITION_CONFIG field.
+ varname
+ When showing the PARTITION_CONFIG, an optional environment variable to store the current boot_partition value into.
boot_ack
boot acknowledge value
boot_partition