From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 24 Jul 2019 16:06:11 -0400 Subject: [U-Boot] [PATCH v5 3/6] cmd: Add 'ab_select' command In-Reply-To: <20190705123736.3498-4-igor.opaniuk@gmail.com> References: <20190705123736.3498-1-igor.opaniuk@gmail.com> <20190705123736.3498-4-igor.opaniuk@gmail.com> Message-ID: <20190724200611.GL20116@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jul 05, 2019 at 03:37:33PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > For A/B system update support the Android boot process requires to send > 'androidboot.slot_suffix' parameter as a command line argument. This > patch implementes 'ab_select' command which allows us to obtain current > slot by processing the A/B metadata. > > The patch was extracted from commit [1] with one modification: the > separator for specifying the name of metadata partition was changed > from ';' to '#', because ';' is used for commands separation. > > [1] https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2 > > Signed-off-by: Ruslan Trofymenko > Signed-off-by: Igor Opaniuk > Reviewed-by: Alistair Strachan > Reviewed-by: Sam Protsenko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: