]> Git Repo - J-u-boot.git/commit
ARM: imx: Add support for reading out the primary/secondary bmode
authorMarek Vasut <[email protected]>
Wed, 5 Aug 2020 13:34:06 +0000 (15:34 +0200)
committerStefano Babic <[email protected]>
Mon, 17 Aug 2020 15:55:17 +0000 (17:55 +0200)
commit3c0fbbfd9572cd8c9fa562c4ebfe69d3d962f2f5
tree6da65a7cd4ff261e1c71f90de91fcba45e87c99b
parent5ec83561c42cddd0f78a1e183b937f44902a18e4
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 <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP i.MX U-Boot Team <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
arch/arm/mach-imx/cmd_bmode.c
This page took 0.034684 seconds and 4 git commands to generate.