util: Drop flashrom -p host alias which equals to -p internal

There is a technical debt in ChromeOS flashrom, `cros_alias.c`, which
is to work around ChromeOS calling flashrom with `-p host` instead of
`-p internal`.

Replace all `-p host` occurrences with `-p internal`.

BUG=b:296978620
TEST=none

Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Change-Id: I81674213b9a21598002f349ced1130f0844841ca
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77865
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Hsuan Ting Chen
2023-09-14 11:46:20 +08:00
committed by Felix Held
parent 056952ef14
commit a6d6818f78
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@
#include "flashrom.h"
#define FLASHROM_EXEC_NAME "flashrom"
#define FLASHROM_PROGRAMMER_INTERNAL_AP "host"
#define FLASHROM_PROGRAMMER_INTERNAL_AP "internal"
/**
* Helper to create a temporary file.