From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 31 Jul 2019 23:35:55 -0400 Subject: [U-Boot] [PATCH v2] omap: Correct the fastboot product var In-Reply-To: <20190725171153.11534-1-semen.protsenko@linaro.org> References: <20190725171153.11534-1-semen.protsenko@linaro.org> Message-ID: <20190801033555.GP6403@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 Thu, Jul 25, 2019 at 08:11:53PM +0300, Sam Protsenko wrote: > "fastboot flashall" expects "fastboot getvar product" value to be one of > values provided in android-info.txt file (in AOSP), from "require > board=" list. Before this patch, "am57xx" is returned for all AM57xx > based boards, as it's set in $board env var from SYS_BOARD in > board/ti/am57xx/Kconfig file, which is used for default implementation > of "fastboot getvar product". > > In order to fix that inconsistency, let's do next: > 1. In U-Boot: override fastboot.product, reusing the value from > $board_name > 2. In AOSP: provide values for all AM57xx boards we can use to > device/ti/beagle_x15/board-info.txt file > > This way requirements check in "fastboot flashall" will work as > expected, verifying that user tries to flash images to the board which > those images were built for. > > Signed-off-by: Sam Protsenko > Acked-by: Andrew F. Davis 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: