From fc3741f379f972d9d7d962fa4e62cec7a01f5e86 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 26 May 2016 17:12:17 -0700 Subject: Add Board Checklist Support Build the _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: * _complete.dat - Lists all of the weak routines * _optional.dat - Lists weak routines which may be optionally implemented TEST=Build with Galileo Gen2. Change-Id: Ie056f8bb6d45ff7f3bc6390b5630b5063f54c527 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/15011 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/Kconfig | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'src/Kconfig') 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 _complete.dat and _optional.dat files + that are consumed during checklist processing. _complete.dat + contains the symbols that are expected to be in the resulting image. + _optional.dat is a subset of _complete.dat and contains + a list of weak symbols which the resulting image may consume. Other + symbols contained only in _complete.dat will be flagged as + required and not implemented if a weak implementation is found in the + resulting image. -- cgit v1.2.3