summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2021-12-11 00:17:46 +0000
committerCommit Bot <commit-bot@chromium.org>2021-12-11 07:59:19 +0000
commit3af17c9a04585c0d465e708ca8766ddadc701da8 (patch)
tree756a9f3b5b54c312c1b7c894c6747cdf7ff43faf
parent601284821b550a347024a21772930be070b8ab04 (diff)
downloadchrome-ec-stabilize-14395.B-main.tar.gz
Revert "flash_fp_mcu: Drop -kernelnext from platform name"stabilize-14395.B-main
This reverts commit edaeb40e16a8bc50a2049cca774b89082ff8fc0d. Reason for revert: The script already supports finding the platform basename. The failures due to strongbad-kernelnext should be fixed a different way. Original change's description: > 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> Bug: b:201110424 Change-Id: I19a74b75afcaa35e8eabf488d7462de4b4e0e96d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3331460 Auto-Submit: Stephen Boyd <swboyd@chromium.org> Tested-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Alexandru Stan <amstan@chromium.org> Commit-Queue: Alexandru Stan <amstan@chromium.org>
-rw-r--r--util/flash_fp_mcu1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/flash_fp_mcu b/util/flash_fp_mcu
index 902f3697dd..16768d756c 100644
--- a/util/flash_fp_mcu
+++ b/util/flash_fp_mcu
@@ -651,7 +651,6 @@ 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