diff options
author | Marek Vasut <marex@denx.de> | 2020-08-05 15:34:06 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-08-17 17:55:17 +0200 |
commit | 3c0fbbfd9572cd8c9fa562c4ebfe69d3d962f2f5 (patch) | |
tree | 6da65a7cd4ff261e1c71f90de91fcba45e87c99b /cmd/panic.c | |
parent | 5ec83561c42cddd0f78a1e183b937f44902a18e4 (diff) |
ARM: imx: Add support for reading out the primary/secondary bmode
Add new 'getprisec' subcommand to 'bmode' command, which sets the return
value of the 'bmode' command to either 0 if the system booted from primary
copy or to 1 if the system booted from secondary copy. This can be used
e.g. in 'test' command to determine which copy of the system is running.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'cmd/panic.c')
0 files changed, 0 insertions, 0 deletions