Urja Rannikko has uploaded this change for review. ( https://review.coreboot.org/20250
Change subject: fixup of "Kill doit()" ......................................................................
fixup of "Kill doit()"
Fix building with CONFIG_INTERNAL=no because force_boardmismatch doesnt exist when internal is not enabled.
Change-Id: Id9e715f09ef934bc36221b3e72c578ae96e0a3af Signed-off-by: Urja Rannikko urjaman@gmail.com --- M cli_classic.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/50/20250/1
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);