Nico Huber has submitted this change and it was merged. ( https://review.coreboot.org/20250 )
Change subject: fixup! Kill doit() ......................................................................
fixup! Kill doit()
Fix building with CONFIG_INTERNAL=no because force_boardmismatch doesn't exist when internal is not enabled.
Change-Id: Id9e715f09ef934bc36221b3e72c578ae96e0a3af Signed-off-by: Urja Rannikko urjaman@gmail.com Reviewed-on: https://review.coreboot.org/20250 Reviewed-by: Nico Huber nico.h@gmx.de Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M cli_classic.c 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Nico Huber: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/cli_classic.c b/cli_classic.c index 0a09cfd..4c3db4d 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -553,7 +553,9 @@
flashrom_layout_set(fill_flash, layout); flashrom_flag_set(fill_flash, FLASHROM_FLAG_FORCE, !!force); +#if CONFIG_INTERNAL == 1 flashrom_flag_set(fill_flash, FLASHROM_FLAG_FORCE_BOARDMISMATCH, !!force_boardmismatch); +#endif flashrom_flag_set(fill_flash, FLASHROM_FLAG_VERIFY_AFTER_WRITE, !dont_verify_it); flashrom_flag_set(fill_flash, FLASHROM_FLAG_VERIFY_WHOLE_CHIP, !dont_verify_all);