Aarya has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/83833?usp=email )
Change subject: programmer.h: Introduce new enum for is_laptop ......................................................................
programmer.h: Introduce new enum for is_laptop
Add new enum for `is_laptop` variable. The enum would take values NO, YES, UNKNOWN.
Change-Id: I6b06e83fa5824cd4078f762195a99e0ce9fc3806 Signed-off-by: Aarya Chaumal aarya.chaumal@gmail.com --- M include/programmer.h 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/33/83833/1
diff --git a/include/programmer.h b/include/programmer.h index a90624b..3b1ebeb 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -164,6 +164,12 @@ P3 };
+enum is_laptop { + NO, + YES, + UNKNOWN, +}; + struct board_cfg { int is_laptop; bool laptop_ok;