summaryrefslogtreecommitdiff
path: root/src/Kconfig
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-05-26 17:12:17 -0700
committerMartin Roth <martinroth@google.com>2016-06-03 17:29:13 +0200
commitfc3741f379f972d9d7d962fa4e62cec7a01f5e86 (patch)
treee45de306e12391e802e5cd68674c2b1792c1421e /src/Kconfig
parenteb0e7bc9763de294ab74f67e38a78e6706246966 (diff)
downloadcoreboot-fc3741f379f972d9d7d962fa4e62cec7a01f5e86.tar.xz
Add Board Checklist Support
Build the <board>_checklist.html file which contains a checklist table for each stage of coreboot. This processing builds a set of implemented (done) routines which are marked green in the table. The remaining required routines (work-to-do) are marked red in the table and the optional routines are marked yellow in the table. The table heading for each stage contains a completion percentage in terms of count of routines (done .vs. required). Add some Kconfig values: * CREATE_BOARD_CHECKLIST - When selected creates the checklist file * MAKE_CHECKLIST_PUBLIC - Copies the checklist file into the Documenation directory * CHECKLIST_DATA_FILE_LOCATION - Location of the checklist data files: * <stage>_complete.dat - Lists all of the weak routines * <stage>_optional.dat - Lists weak routines which may be optionally implemented TEST=Build with Galileo Gen2. Change-Id: Ie056f8bb6d45ff7f3bc6390b5630b5063f54c527 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15011 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 6e6e9447ff..4eda5378f9 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1174,3 +1174,33 @@ config DEBUG_BOOT_STATE
help
Control debugging of the boot state machine. When selected displays
the state boundaries in ramstage.
+
+config CREATE_BOARD_CHECKLIST
+ bool
+ default n
+ help
+ When selected, creates a webpage showing the implementation status for
+ the board. Routines highlighted in green are complete, yellow are
+ optional and red are required and must be implemented. A table is
+ produced for each stage of the boot process except the bootblock. The
+ red items may be used as an implementation checklist for the board.
+
+config MAKE_CHECKLIST_PUBLIC
+ bool
+ default n
+ help
+ When selected, build/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html
+ is copied into the Documentation/$(CONFIG_MAINBOARD_VENDOR)/Board
+ directory.
+
+config CHECKLIST_DATA_FILE_LOCATION
+ string
+ help
+ Location of the <stage>_complete.dat and <stage>_optional.dat files
+ that are consumed during checklist processing. <stage>_complete.dat
+ contains the symbols that are expected to be in the resulting image.
+ <stage>_optional.dat is a subset of <stage>_complete.dat and contains
+ a list of weak symbols which the resulting image may consume. Other
+ symbols contained only in <stage>_complete.dat will be flagged as
+ required and not implemented if a weak implementation is found in the
+ resulting image.