[coreboot-gerrit] New patch to review for coreboot: util/checklist: Add bootblock support

Leroy P Leahy (leroy.p.leahy@intel.com) gerrit at coreboot.org
Thu Jun 9 02:26:00 CEST 2016


Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15130

-gerrit

commit 89c13146a85b692ad713489356c9b1b6cbb12dc1
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date:   Sun Jun 5 18:45:22 2016 -0700

    util/checklist: Add bootblock support
    
    Scan the boot block when building it with C_ENVIRONMENT_BOOTBLOCK
    selected.
    
    TEST=Build and run with Galileo Gen2
    
    Change-Id: I922f761c31e95efde0975d8572c47084b91b2879
    Signed-off-by: Lee Leahy <leroy.p.leahy at intel.com>
---
 .../fsp/fsp1_1/checklist/bootblock_complete.dat    | 77 ++--------------------
 .../fsp/fsp1_1/checklist/bootblock_optional.dat    |  6 ++
 util/checklist/Makefile.inc                        |  3 +
 3 files changed, 14 insertions(+), 72 deletions(-)

diff --git a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat b/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat
index 8a4325f..4055a3c 100644
--- a/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat
+++ b/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_complete.dat
@@ -1,77 +1,10 @@
-arch_segment_loaded
-backup_top_of_ram
+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
-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
-fill_power_state
-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_check_ec_image
-mainboard_io_trap_handler
-mainboard_memory_init_params
-mainboard_post
-mainboard_romstage_entry
-mainboard_save_dimm_info
-mainboard_silicon_init_params
-mainboard_smi_apmc
-mainboard_smi_gpi
-mainboard_smi_sleep
-mainboard_suspend_resume
-map_oprom_vendev
-mirror_payload
-mrc_cache_get_current
-mrc_cache_stash_data
-northbridge_smi_handler
-nvm_mmio_to_flash_offset
-platform_prog_run
-platform_segment_loaded
-raminit
-ramstage_cache_invalid
-report_memory_config
-save_chromeos_gpios
-setup_stack_and_mtrrs
-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_ram_init
-soc_after_silicon_init
-soc_display_memory_init_params
-soc_display_silicon_init_params
-soc_fill_acpi_wake
-soc_memory_init_params
-soc_pre_ram_init
-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
-vboot_platform_prepare_reboot
-verstage_mainboard_init
-wifi_regulatory_domain
-write_smp_table
+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
new file mode 100644
index 0000000..fc0e872
--- /dev/null
+++ b/src/vendorcode/intel/fsp/fsp1_1/checklist/bootblock_optional.dat
@@ -0,0 +1,6 @@
+bootblock_c_entry
+bootblock_mainboard_early_init
+bootblock_mainboard_init
+bootblock_soc_early_init
+bootblock_soc_init
+uart_init
diff --git a/util/checklist/Makefile.inc b/util/checklist/Makefile.inc
index f8e5ebd..e400725 100644
--- a/util/checklist/Makefile.inc
+++ b/util/checklist/Makefile.inc
@@ -182,6 +182,9 @@ percent_complete = $$(($(done_lines) * 100 / ($(expected_lines) - $(optional_lin
 #
 # 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



More information about the coreboot-gerrit mailing list