summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/Kconfig
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-12-28 11:43:10 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-01-03 21:04:42 +0100
commita765090f0d2f77cb099a60c23da8acaff62cb171 (patch)
tree1ea5e703e4d9c91a2478f06c166bb3e89679f448 /src/soc/intel/quark/Kconfig
parent73f6a282a191c39d8f5e72e6cd2ce172821cdef4 (diff)
soc/intel/quark: Add early debugging code
Add Kconfig values and early debugging code to better segment and debug the early code in bootblock by using the SD LED as an indicator. Update the help text for the debug Kconfig values to point to the various failure locations. TEST=Build and run on Galileo Gen2 Change-Id: I1cd62eba3e9547cb1dd7f547aaec5d4827e14633 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/17985 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/Kconfig')
-rw-r--r--src/soc/intel/quark/Kconfig43
1 files changed, 38 insertions, 5 deletions
diff --git a/src/soc/intel/quark/Kconfig b/src/soc/intel/quark/Kconfig
index 5a488475cb..c5efd4a296 100644
--- a/src/soc/intel/quark/Kconfig
+++ b/src/soc/intel/quark/Kconfig
@@ -109,21 +109,54 @@ config ENABLE_DEBUG_LED_ESRAM
default n
select ENABLE_DEBUG_LED
help
- Indicate that ESRAM has been successfully initialized.
+ Indicate that ESRAM has been successfully initialized. If the SD LED
+ does not light then the ESRAM initialization needs to be debugged.
config ENABLE_DEBUG_LED_FINDFSP
bool "SD LED indicates fsp.bin file was found"
+ depends on PLATFORM_USES_FSP1_1
+ default n
+ select ENABLE_DEBUG_LED
+ help
+ Indicate that fsp.bin was found. If the SD LED does not light then
+ the code between ESRAM initialization through find_fsp needs to
+ debugged. Start by verifying that the correct fsp.bin is in the
+ image.
+
+config ENABLE_DEBUG_LED_BOOTBLOCK_ENTRY
+ bool "SD LED indicates bootblock.c successfully entered"
+ default n
+ select ENABLE_DEBUG_LED
+ help
+ Indicate that bootblock_c_entry was entered. If the SD LED does not
+ light then debug the code between ESRAM and bootblock_c_entry. For
+ FSP 1.1, use ENABLE_DEBUG_LED_FINDFSP to split this code.
+
+config ENABLE_DEBUG_LED_SOC_EARLY_INIT_ENTRY
+ bool "SD LED indicates bootblock_soc_early_init successfully entered"
+ default n
+ select ENABLE_DEBUG_LED
+ help
+ Indicate that bootblock_soc_early_init was entered. If the SD LED
+ does not light then debug the code in bootblock_main_with_timestamp.
+
+config ENABLE_DEBUG_LED_SOC_EARLY_INIT_EXIT
+ bool "SD LED indicates bootblock_soc_early_init successfully exited"
default n
select ENABLE_DEBUG_LED
help
- Indicate that fsp.bin was found.
+ Indicate that bootblock_soc_early_init exited. If the SD LED does not
+ light then debug the scripts in bootblock_soc_early_init.
-config ENABLE_DEBUG_LED_TEMPRAMINIT
- bool "SD LED indicates TempRamInit was successful"
+config ENABLE_DEBUG_LED_SOC_INIT_ENTRY
+ bool "SD LED indicates bootblock_soc_init successfully entered"
default n
select ENABLE_DEBUG_LED
help
- Indicate that TempRamInit was successful.
+ Indicate that bootblock_soc_init was entered. If the SD LED does not
+ light then debug the code in bootblock_mainboard_early_init and
+ console_init. If the SD LED does light but there is no serial then
+ debug the serial port configuration and initialization.
#####
# ESRAM layout