summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2021-12-06 12:24:51 -0800
committerCommit Bot <commit-bot@chromium.org>2021-12-08 18:47:05 +0000
commitedaeb40e16a8bc50a2049cca774b89082ff8fc0d (patch)
tree9031b25e39439a91617702dbbba13b67fece30a0
parent85385336e7907ef1b75a71a58f2432cbda0e42dc (diff)
downloadchrome-ec-edaeb40e16a8bc50a2049cca774b89082ff8fc0d.tar.gz
flash_fp_mcu: Drop -kernelnext from platform name
If we're running flash_fp_mcu on a board that has a kernelnext variant, then it's essentially the same platform, but using a new kernel. Let's just drop the variant name so that everything else works like before and the flashing script can be run on new kernel variant testing boards. BRANCH=None BUG=b:201110424 TEST=tast run $strongbad_kernelnext_dut firmware.FpFlashFpMcuHello Change-Id: Id35f9f06b4a3ecc27891a6d22a8958cc99b36b04 Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3318784 Reviewed-by: Alexandru Stan <amstan@chromium.org>
-rw-r--r--util/flash_fp_mcu1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flash_fp_mcu b/util/flash_fp_mcu
index 16768d756c..902f3697dd 100644
--- a/util/flash_fp_mcu
+++ b/util/flash_fp_mcu
@@ -651,6 +651,7 @@ main() {
echo "Failed to get platform name"
exit "${EXIT_CONFIG}"
fi
+ PLATFORM_NAME="${PLATFORM_NAME%-kernelnext}"
readonly PLATFORM_NAME
if ! PLATFORM_BASE_NAME="$(platform_base_name "${PLATFORM_NAME}")"; then