diff --git a/Documentation/Intel/Board/Galileo_checklist.html b/Documentation/Intel/Board/Galileo_checklist.html deleted file mode 100644 index 397f570b0e..0000000000 --- a/Documentation/Intel/Board/Galileo_checklist.html +++ /dev/null @@ -1,160 +0,0 @@ - - -Galileo Implementation Status - - -

Galileo Implementation Status
2016/07/08 06:51:34 PDT

- - - - - -
Legend
RedRequired - To-be-implemented
YellowOptional
GreenImplemented
- - - - - - - - - -
- - - - - - - - - - - - - -
bootblock: 100% Done
TypeRoutine
Optionalbootblock_c_entry
Requiredbootblock_main_with_timestamp
Optionalbootblock_mainboard_early_init
Optionalbootblock_mainboard_init
Requiredbootblock_pre_c_entry
Requiredbootblock_protected_mode_entry
Requiredbootblock_soc_early_init
Optionalbootblock_soc_init
Requiredtsc_freq_mhz
Requireduart_init
-
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
romstage: 67% Done
TypeRoutine
Optionalarch_segment_loaded
Optionalbackup_top_of_ram
Optionalboot_device_init
Optionalcar_mainboard_post_console_init
Requiredcar_mainboard_pre_console_init
Requiredcar_soc_post_console_init
Requiredcar_soc_pre_console_init
Requiredcar_stage_entry
Requiredcbfs_master_header_locator
Optionalcbmem_fail_resume
Optionalclear_recovery_mode_switch
Optionalcpu_smi_handler
Requiredfill_power_state
Optionalget_sw_write_protect_state
Optionalget_top_of_ram
Optionalgpio_acpi_path
Requiredinit_timer
Optionalmainboard_add_dimm_info
Optionalmainboard_check_ec_image
Requiredmainboard_fill_spd_data
Optionalmainboard_io_trap_handler
Requiredmainboard_memory_init_params
Optionalmainboard_post
Requiredmainboard_romstage_entry
Optionalmainboard_save_dimm_info
Optionalmainboard_smi_apmc
Optionalmainboard_smi_gpi
Optionalmainboard_smi_sleep
Optionalmap_oprom_vendev
Requiredmigrate_power_state
Requiredmrc_cache_get_current_with_version
Requiredmrc_cache_stash_data_with_version
Optionalplatform_prog_run
Optionalplatform_segment_loaded
Requiredprint_fsp_info
Requiredraminit
Requiredramstage_cache_invalid
Requiredreport_memory_config
Requiredromstage_common
Optionalsave_chromeos_gpios
Requiredset_max_freq
Requiredsetup_stack_and_mtrrs
Requiredsmm_region
Requiredsmm_region_size
Requiredsoc_after_ram_init
Requiredsoc_display_memory_init_params
Requiredsoc_memory_init_params
Optionalsoc_pre_ram_init
Optionalsouthbridge_smi_handler
Optionalstage_cache_add
Optionalstage_cache_load_stage
Optionaltimestamp_get
Requiredtsc_freq_mhz
Optionalvb2ex_hwcrypto_digest_extend
Optionalvb2ex_hwcrypto_digest_finalize
Optionalvb2ex_hwcrypto_digest_init
Optionalvboot_platform_prepare_reboot
Optionalverstage_mainboard_init
-
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ramstage: 60% Done
TypeRoutine
Requiredacpi_create_serialio_ssdt
Optionalarch_segment_loaded
Optionalbackup_top_of_ram
Optionalboot_device_init
Requiredcbfs_master_header_locator
Optionalcbmem_fail_resume
Optionalclear_recovery_mode_switch
Optionalcpu_smi_handler
Optionalfw_cfg_acpi_tables
Optionalget_sw_write_protect_state
Optionalget_top_of_ram
Optionalgpio_acpi_path
Requiredinit_timer
Optionallb_board
Optionallb_framebuffer
Optionalmainboard_add_dimm_info
Optionalmainboard_io_trap_handler
Optionalmainboard_post
Optionalmainboard_silicon_init_params
Optionalmainboard_smi_apmc
Optionalmainboard_smi_gpi
Optionalmainboard_smi_sleep
Optionalmainboard_suspend_resume
Optionalmap_oprom_vendev
Optionalmirror_payload
Optionalnorthbridge_smi_handler
Optionalnvm_mmio_to_flash_offset
Optionalplatform_prog_run
Optionalplatform_segment_loaded
Optionalsave_chromeos_gpios
Optionalsmbios_mainboard_bios_version
Optionalsmbios_mainboard_manufacturer
Optionalsmbios_mainboard_product_name
Optionalsmbios_mainboard_serial_number
Optionalsmbios_mainboard_set_uuid
Requiredsmbios_mainboard_version
Optionalsmm_disable_busmaster
Optionalsoc_after_silicon_init
Requiredsoc_display_silicon_init_params
Requiredsoc_fill_acpi_wake
Requiredsoc_silicon_init_params
Optionalsoc_skip_ucode_update
Optionalsouthbridge_smi_handler
Optionalstage_cache_add
Optionalstage_cache_load_stage
Requiredtimestamp_get
Requiredtimestamp_tick_freq_mhz
Requiredtsc_freq_mhz
Optionalvb2ex_hwcrypto_digest_extend
Optionalvb2ex_hwcrypto_digest_finalize
Optionalvb2ex_hwcrypto_digest_init
Optionalwifi_regulatory_domain
Optionalwrite_smp_table
-
 
- - diff --git a/Documentation/Intel/Board/galileo.html b/Documentation/Intel/Board/galileo.html index cd0a28ac35..f7edf6e8ee 100644 --- a/Documentation/Intel/Board/galileo.html +++ b/Documentation/Intel/Board/galileo.html @@ -17,7 +17,6 @@
  • SoC support
  • FSP 1.1 integration
  • Board support
  • -
  • Implementation Checklist
  • diff --git a/src/Kconfig b/src/Kconfig index 8de9dafe25..a069f63e4e 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -1091,36 +1091,6 @@ config MAX_REBOOT_CNT with the normal image enabled before assuming the normal image is defective and switching to the fallback image. -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. - config UNCOMPRESSED_RAMSTAGE bool diff --git a/src/drivers/intel/fsp1_1/Kconfig b/src/drivers/intel/fsp1_1/Kconfig index af6ed422a1..2575577ba4 100644 --- a/src/drivers/intel/fsp1_1/Kconfig +++ b/src/drivers/intel/fsp1_1/Kconfig @@ -86,10 +86,6 @@ config USE_GENERIC_FSP_CAR_INC The chipset can select this to use a generic cache_as_ram.inc file that should be good for all FSP based platforms. -config CHECKLIST_DATA_FILE_LOCATION - string - default "src/vendorcode/intel/fsp/fsp1_1/checklist" - config RESET_ON_INVALID_RAMSTAGE_CACHE bool "Reset the system on S3 wake when ramstage cache invalid." default n diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig index 28e9e5dcd3..8156d187dc 100644 --- a/src/drivers/intel/fsp2_0/Kconfig +++ b/src/drivers/intel/fsp2_0/Kconfig @@ -146,10 +146,6 @@ config VERIFY_HOBS Verify that the HOBs required by coreboot are returned by FSP and that the resource HOBs are in the correct order and position. -config CHECKLIST_DATA_FILE_LOCATION - string - default "src/vendorcode/intel/fsp/fsp2_0/checklist" - config RESET_ON_INVALID_RAMSTAGE_CACHE bool "Reset the system on S3 wake when ramstage cache invalid." default n diff --git a/src/mainboard/intel/galileo/Kconfig b/src/mainboard/intel/galileo/Kconfig index bddc03666d..0af03e570c 100644 --- a/src/mainboard/intel/galileo/Kconfig +++ b/src/mainboard/intel/galileo/Kconfig @@ -18,7 +18,6 @@ if BOARD_INTEL_GALILEO config BOARD_SPECIFIC_OPTIONS def_bool y select BOARD_ROMSIZE_KB_8192 -# select CREATE_BOARD_CHECKLIST select ENABLE_BUILTIN_HSUART1 select HAVE_ACPI_TABLES select SOC_INTEL_QUARK @@ -52,7 +51,6 @@ choice config FSP_VERSION_1_1 bool "FSP 1.1" - select CREATE_BOARD_CHECKLIST select PLATFORM_USES_FSP1_1 # select ADD_FSP_RAW_BIN help diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat deleted file mode 100644 index 4055a3c6c1..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat +++ /dev/null @@ -1,10 +0,0 @@ -bootblock_c_entry -bootblock_mainboard_early_init -bootblock_mainboard_init -bootblock_main_with_timestamp -bootblock_pre_c_entry -bootblock_protected_mode_entry -bootblock_soc_early_init -bootblock_soc_init -tsc_freq_mhz -uart_init diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_optional.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_optional.dat deleted file mode 100644 index fc0e872fd9..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_optional.dat +++ /dev/null @@ -1,6 +0,0 @@ -bootblock_c_entry -bootblock_mainboard_early_init -bootblock_mainboard_init -bootblock_soc_early_init -bootblock_soc_init -uart_init diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_complete.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_complete.dat deleted file mode 100644 index 64f8584340..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_complete.dat +++ /dev/null @@ -1,53 +0,0 @@ -acpi_create_serialio_ssdt -arch_segment_loaded -backup_top_of_ram -boot_device_init -cbfs_master_header_locator -cbmem_fail_resume -clear_recovery_mode_switch -cpu_smi_handler -fw_cfg_acpi_tables -get_sw_write_protect_state -get_top_of_ram -gpio_acpi_path -init_timer -lb_board -lb_framebuffer -mainboard_add_dimm_info -mainboard_io_trap_handler -mainboard_post -mainboard_silicon_init_params -mainboard_smi_apmc -mainboard_smi_gpi -mainboard_smi_sleep -mainboard_suspend_resume -map_oprom_vendev -mirror_payload -northbridge_smi_handler -nvm_mmio_to_flash_offset -platform_prog_run -platform_segment_loaded -save_chromeos_gpios -smbios_mainboard_bios_version -smbios_mainboard_manufacturer -smbios_mainboard_product_name -smbios_mainboard_serial_number -smbios_mainboard_set_uuid -smbios_mainboard_version -smm_disable_busmaster -soc_after_silicon_init -soc_display_silicon_init_params -soc_fill_acpi_wake -soc_silicon_init_params -soc_skip_ucode_update -southbridge_smi_handler -stage_cache_add -stage_cache_load_stage -timestamp_get -timestamp_tick_freq_mhz -tsc_freq_mhz -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init -wifi_regulatory_domain -write_smp_table diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_optional.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_optional.dat deleted file mode 100644 index 6608583b28..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/ramstage_optional.dat +++ /dev/null @@ -1,46 +0,0 @@ -arch_segment_loaded -backup_top_of_ram -boot_device_init -cbmem_fail_resume -clear_recovery_mode_switch -cpu_smi_handler -fw_cfg_acpi_tables -get_sw_write_protect_state -get_top_of_ram -gpio_acpi_path -lb_board -lb_framebuffer -mainboard_add_dimm_info -mainboard_io_trap_handler -mainboard_post -mainboard_silicon_init_params -mainboard_smi_apmc -mainboard_smi_gpi -mainboard_smi_sleep -mainboard_suspend_resume -map_oprom_vendev -mirror_payload -northbridge_smi_handler -nvm_mmio_to_flash_offset -platform_prog_run -platform_segment_loaded -save_chromeos_gpios -smbios_mainboard_bios_version -smbios_mainboard_manufacturer -smbios_mainboard_product_name -smbios_mainboard_serial_number -smbios_mainboard_set_uuid -smbios_mainboard_version -smm_disable_busmaster -soc_after_silicon_init -soc_display_silicon_init_params -soc_silicon_init_params -soc_skip_ucode_update -southbridge_smi_handler -stage_cache_add -stage_cache_load_stage -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init -wifi_regulatory_domain -write_smp_table diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_complete.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_complete.dat deleted file mode 100644 index 34172121f5..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_complete.dat +++ /dev/null @@ -1,53 +0,0 @@ -arch_segment_loaded -backup_top_of_ram -boot_device_init -car_stage_entry -cbfs_master_header_locator -cbmem_fail_resume -clear_recovery_mode_switch -cpu_smi_handler -fill_power_state -get_sw_write_protect_state -get_top_of_ram -gpio_acpi_path -init_timer -mainboard_add_dimm_info -mainboard_check_ec_image -mainboard_fill_spd_data -mainboard_io_trap_handler -mainboard_memory_init_params -mainboard_post -mainboard_romstage_entry -mainboard_save_dimm_info -mainboard_smi_apmc -mainboard_smi_gpi -mainboard_smi_sleep -map_oprom_vendev -migrate_power_state -mrc_cache_get_current_with_version -mrc_cache_stash_data_with_version -platform_prog_run -platform_segment_loaded -print_fsp_info -raminit -ramstage_cache_invalid -report_memory_config -romstage_common -save_chromeos_gpios -set_max_freq -setup_stack_and_mtrrs -smm_region -smm_region_size -soc_after_ram_init -soc_display_memory_init_params -soc_memory_init_params -soc_pre_ram_init -southbridge_smi_handler -stage_cache_add -stage_cache_load_stage -timestamp_get -tsc_freq_mhz -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init -vboot_platform_prepare_reboot diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_optional.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_optional.dat deleted file mode 100644 index 08351907c7..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/romstage_optional.dat +++ /dev/null @@ -1,33 +0,0 @@ -arch_segment_loaded -backup_top_of_ram -boot_device_init -car_stage_entry -cbmem_fail_resume -clear_recovery_mode_switch -cpu_smi_handler -get_sw_write_protect_state -get_top_of_ram -gpio_acpi_path -mainboard_add_dimm_info -mainboard_check_ec_image -mainboard_io_trap_handler -mainboard_post -mainboard_romstage_entry -mainboard_save_dimm_info -mainboard_smi_apmc -mainboard_smi_gpi -mainboard_smi_sleep -map_oprom_vendev -platform_prog_run -platform_segment_loaded -save_chromeos_gpios -soc_after_ram_init -soc_display_memory_init_params -soc_memory_init_params -soc_pre_ram_init -southbridge_smi_handler -stage_cache_add -stage_cache_load_stage -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_complete.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_complete.dat deleted file mode 100644 index 0910152c89..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_complete.dat +++ /dev/null @@ -1,33 +0,0 @@ -arch_segment_loaded -backup_top_of_ram -boot_device_init -car_mainboard_post_console_init -car_mainboard_pre_console_init -car_soc_post_console_init -car_soc_pre_console_init -cbfs_master_header_locator -cbmem_fail_resume -clear_recovery_mode_switch -cpu_smi_handler -get_sw_write_protect_state -gpio_acpi_path -init_timer -mainboard_check_ec_image -mainboard_io_trap_handler -mainboard_post -mainboard_smi_apmc -mainboard_smi_gpi -mainboard_smi_sleep -map_oprom_vendev -platform_prog_run -platform_segment_loaded -save_chromeos_gpios -stage_cache_add -stage_cache_load_stage -timestamp_get -tsc_freq_mhz -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init -vboot_platform_prepare_reboot -verstage_mainboard_init diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_optional.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_optional.dat deleted file mode 100644 index fe1f0d9d2e..0000000000 --- a/src/vendorcode/intel/fsp/fsp1_1/checklist/verstage_optional.dat +++ /dev/null @@ -1,20 +0,0 @@ -arch_segment_loaded -backup_top_of_ram -boot_device_init -car_mainboard_post_console_init -car_mainboard_pre_console_init -car_soc_post_console_init -car_soc_pre_console_init -mainboard_check_ec_image -mainboard_post -platform_prog_run -platform_segment_loaded -stage_cache_add -stage_cache_load_stage -timestamp_get -tsc_freq_mhz -vb2ex_hwcrypto_digest_extend -vb2ex_hwcrypto_digest_finalize -vb2ex_hwcrypto_digest_init -vboot_platform_prepare_reboot -verstage_mainboard_init diff --git a/util/checklist/Makefile.inc b/util/checklist/Makefile.inc deleted file mode 100644 index 362498e358..0000000000 --- a/util/checklist/Makefile.inc +++ /dev/null @@ -1,301 +0,0 @@ -# -# This file is part of the coreboot project. -# -# Copyright (C) 2016 Intel Corporation. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# - -########################################################################### -# Instructions -########################################################################### -# -# Create new control files for checklist: -# -# 1. Remove any selection for CREATE_BOARD_CHECKLIST -# 2. Remove any selection for MAKE_CHECKLIST_PUBLIC -# 3. make -# 4. nm build/cbfs/fallback/.debug > _symbols.txt -# 6. sed 's/^...........//' _symbols.txt > _complete.dat -# 7. grep -F " W " _symbols.txt | sed 's/^...........//' \ -# > _optional.dat -# 8. Edit _complete.dat to remove any symbols that are not -# desired in the report -# 9. Edit _optional.dat to remove any symbols that are -# required to be implemented -# -# Create a board checklist: -# -# 1. select CREATE_BOARD_CHECKLIST -# 2. Optionally: select MAKE_CHECKLIST_PUBLIC -# 3. Specify CONFIG_CHECKLIST_DATA_FILE_LOCATION -# 4. make -# -# Build Errors: -# * No checklist built - verify CREATE_BOARD_CHECKLIST is selected in -# board Kconfig file. Do a make clean -# * _complete.dat not found - verify that -# CONFIG_CHECKLIST_DATA_FILE_LOCATION points to the directory -# containing the checklist data files. Build the checklist -# data files if necessary. -# * Segmentation fault - most likely caused by $(NM_$(class)) not being -# set. -# -########################################################################### -# Build the board implementation checklist -########################################################################### - -# Only build the checklist for boards under development -ifeq ($(CONFIG_CREATE_BOARD_CHECKLIST),y) - -# -# Extract the symbol table from the image -# -%.symbol_table: %.elf %.debug - $(NM_$(class)) $(*D)/$(*F).debug > $@ - $(NM_$(class)) $< >> $@ - -# -# All symbols in the image -# -# 1. Remove the address and symbol type -# 2. Sort the table into alphabetical order -# 3. Remove any duplicates -# -%.symbols: %.symbol_table - sed 's/^...........//' $< > $@.tmp - sort $@.tmp > $@.tmp2 - uniq $@.tmp2 > $@ - rm $@.tmp $@.tmp2 - -# -# Weak symbols in the image -# -# 1. Find the weak symbols -# 2. Remove the address and symbol type -# 3. Sort the table into alphabetical order -# 4. Remove any duplicates -# -%.weak: %.symbol_table - grep -F " W " $< | sed 's/^...........//' > $@.tmp - sort $@.tmp > $@.tmp2 - uniq $@.tmp2 > $@ - rm $@.tmp $@.tmp2 - -# -# Expected symbols in the image -# -# 1. Get the complete list of expected symbols in the image -# 2. Sort the table into alphabetical order -# 3. Remove any duplicates -# -%.expected: %.symbol_table - cp $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/$(basename $(*F))_complete.dat $@.tmp - cat $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/$(basename $(*F))_optional.dat >> $@.tmp - # If no separate verstage, combine verstage and romstage routines into a single list - if [ "$(*F)" = "romstage" ]; then \ - if [ ! -e $(*D)/verstage.elf ]; then \ - if [ ! -e $(*D)/postcar.elf ]; then \ - cat $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/verstage_complete.dat >> $@.tmp; \ - cat $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/verstage_optional.dat >> $@.tmp; \ - fi; \ - fi; \ - fi - sort $@.tmp > $@.tmp2 - uniq $@.tmp2 > $@ - rm $@.tmp $@.tmp2 - -# -# Optional symbols in the image -# -# 1. Get the list of optional symbols in the image -# 2. Sort the table into alphabetical order -# 3. Remove any duplicates -# -%.optional: %.symbol_table - cp $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/$(basename $(*F))_optional.dat $@.tmp - # If no separate verstage, combine verstage and romstage routines into a single list - if [ "$(*F)" = "romstage" ]; then \ - if [ ! -e $(*D)/verstage.elf ]; then \ - if [ ! -e $(*D)/postcar.elf ]; then \ - cat $(CONFIG_CHECKLIST_DATA_FILE_LOCATION)/verstage_optional.dat >> $@.tmp; \ - fi; \ - fi; \ - fi - sort $@.tmp > $@.tmp2 - uniq $@.tmp2 > $@ - rm $@.tmp $@.tmp2 - -# -# Expected Symbols Optional Weak Done Type -# no yes no d/c yes Don't display -# yes no no no no Required - not implemented -# yes no yes no no Optional - not implemented -# yes yes yes yes no Optional - not implemented -# yes yes no no yes Required - implemented -# yes yes yes no yes Required - implemented -# -# Implemented routines are in the symbol table and are not weak -# -# 1. Remove expected symbols which are not in the image (not implemented yet) -# 2. Remove weak symbols from the list (not implemented yet) -# -%.done: %.symbols %.expected %.weak %.optional - comm -12 $(*D)/$(*F).expected $(*D)/$(*F).symbols | sed "s/^[ \t]*//" > $@.tmp - comm -23 $@.tmp $(*D)/$(*F).weak | sed "s/^[ \t]*//" > $@ - rm $@.tmp - -# -# Remove any routines that are implemented -# -%.optional2: %.optional %.done - comm -23 $^ | sed "s/^[ \t]*//" > $@ - -# -# Remove any implemented or optional routines -# -%.tbd: %.expected %.done %.optional2 - comm -23 $(*D)/$(*F).expected $(*D)/$(*F).done | sed "s/^[ \t]*//" > $@.tmp - comm -23 $@.tmp $(*D)/$(*F).optional2 | sed "s/^[ \t]*//" > $@ - rm $@.tmp - -# -# Build the implementation table for each stage -# 1. Color code the rows -# * Done table rows are in green -# * Optional table rows are in yellow -# * TBD table rows are in red -# 2. Add the row termination -# 3. Sort the rows into alphabetical order -# -%.table_rows: %.optional2 %.done %.expected %.tbd - sed -e 's/^/Required<\/td>/' $(*D)/$(basename $(*F)).done > $@.tmp - sed -e 's/^/Optional<\/td>/' $(*D)/$(basename $(*F)).optional2 >> $@.tmp - if [ -s $(*D)/$(basename $(*F)).tbd ]; then \ - sed -e 's/^/Required<\/td>/' $(*D)/$(basename $(*F)).tbd >> $@.tmp; \ - fi - sed -e 's/$$/<\/td><\/tr>/' -i $@.tmp - sort -t ">" -k4 $@.tmp > $@ - rm $@.tmp - -# -# Count the lines in the done file -# -done_lines = $$(wc -l $(*D)/$(basename $(*F)).done | sed 's/ .*//') - -# -# Count the lines in the optional file -# -optional_lines = $$(wc -l $(*D)/$(basename $(*F)).optional2 | sed 's/ .*//') - -# -# Count the lines in the expected file -# -expected_lines = $$(wc -l $(*D)/$(basename $(*F)).expected | sed 's/ .*//') - -# Compute the percentage done by routine count -percent_complete = $$(($(done_lines) * 100 / ($(expected_lines) - $(optional_lines)))) - -# -# Build the table -# 1. Add the table header -# 2. Add the table rows -# 3. Add the table trailer -# -%.html: %.table_rows - echo "" > $@ - echo "" >> $@ - echo "" >> $@ - cat $< >> $@ - echo "
    $(basename $(*F)): $(percent_complete)% Done
    TypeRoutine
    " >> $@ - -# -# Determine which HTML files to include into the webpage -# -ifeq ($(CONFIG_C_ENVIRONMENT_BOOTBLOCK),y) -html_table_files += $(objcbfs)/bootblock.html -endif -ifeq ($(CONFIG_SEPARATE_VERSTAGE),y) -html_table_files += $(objcbfs)/verstage.html -endif -html_table_files += $(objcbfs)/romstage.html -ifeq ($(CONFIG_POSTCAR_STAGE),y) -html_table_files += $(objcbfs)/postcar.html -endif -html_table_files += $(objcbfs)/ramstage.html - -# -# Create a list with each file on a separate line -# -list_of_html_files = $(subst _NEWLINE_,${\n},${html_table_files}) - -# -# Get the date for the webpage -# -current_date_time = $$(date +"%Y/%m/%d %T %Z") - -# -# Build the webpage from the implementation tables -# 1. Add the header to the webpage -# 2. Add the legend to the webpage -# 3. Use a table to place stage tables side-by-side -# 4. Add the stage tables to the webpage -# 5. Separate the stage tables -# 6. Terminate the outer table -# 7. Add the trailer to the webpage -# -$(obj)/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html: $(html_table_files) - echo "" > $@ - echo "" >> $@ - echo "$(CONFIG_MAINBOARD_PART_NUMBER) Implementation Status" >> $@ - echo "" >> $@ - echo "" >> $@ - echo "

    $(CONFIG_MAINBOARD_PART_NUMBER) Implementation Status
    $(current_date_time)

    " >> $@ - echo "" >> $@ - echo " " >> $@ - echo " " >> $@ - echo " " >> $@ - echo " " >> $@ - echo "
    Legend
    RedRequired - To-be-implemented
    YellowOptional
    GreenImplemented
    " >> $@ - echo "" >> $@ - echo " " >> $@ - for table in $(list_of_html_files); do \ - echo " " >> $@; \ - echo " " >> $@; \ - done - echo " " >> $@ - echo "
    " >> $@; \ - cat $$table >> $@; \ - echo "  
    " >> $@ - echo "" >> $@ - echo "" >> $@ - -# -# Copy the output file into the Documentation directory -# -Documentation/$(CONFIG_MAINBOARD_VENDOR)/Board/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html: $(obj)/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html - if [ ! -d Documentation/$(CONFIG_MAINBOARD_VENDOR) ]; then \ - mkdir Documentation/$(CONFIG_MAINBOARD_VENDOR); \ - fi - if [ ! -d Documentation/$(CONFIG_MAINBOARD_VENDOR)/Board ]; then \ - mkdir Documentation/$(CONFIG_MAINBOARD_VENDOR)/Board; \ - fi - cp $< $@ - -# -# Determine where to place the output file -# -ifeq ($(CONFIG_MAKE_CHECKLIST_PUBLIC),y) -INTERMEDIATE+=Documentation/$(CONFIG_MAINBOARD_VENDOR)/Board/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html -else -INTERMEDIATE+=$(obj)/$(CONFIG_MAINBOARD_PART_NUMBER)_checklist.html -endif - -endif diff --git a/util/checklist/description.md b/util/checklist/description.md deleted file mode 100644 index 3133ed2b08..0000000000 --- a/util/checklist/description.md +++ /dev/null @@ -1 +0,0 @@ -Board implementation checklist generator `Make`