diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2019-07-25 20:11:53 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-31 13:08:07 -0400 |
commit | 4347b0b0b26e41376640872650e5558fc07aea76 (patch) | |
tree | 583e1c52f2eb54375f79dbdf2d3d790794676641 /arch/x86/include/asm/arch-quark/mrc.h | |
parent | 3db0989e68ee23db9d5ae970304890100b4fb9bb (diff) |
omap: Correct the fastboot product var
"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 <semen.protsenko@linaro.org>
Acked-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'arch/x86/include/asm/arch-quark/mrc.h')
0 files changed, 0 insertions, 0 deletions