[PATCH 3/4] ARM: imx: Add support for reading out the primary/secondary bmode

sbabic at denx.de sbabic at denx.de
Tue Aug 18 14:33:28 CEST 2020


> 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 at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: NXP i.MX U-Boot Team <uboot-imx at nxp.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list