From: sbabic at denx.de Date: Tue, 18 Aug 2020 14:33:28 +0200 (CEST) Subject: [PATCH 3/4] ARM: imx: Add support for reading out the primary/secondary bmode In-Reply-To: <20200805133407.101338-3-marex@denx.de> Message-ID: <20200818123328.D9A33821D4@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team > Cc: Peng Fan > Cc: Stefano Babic > Reviewed-by: Stefano Babic 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 =====================================================================