summaryrefslogtreecommitdiffstats
path: root/src/mainboard/intel/leafhill/Kconfig
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@intel.com>2017-02-23 14:10:11 -0800
committerAndrey Petrov <andrey.petrov@intel.com>2017-02-25 09:00:50 +0100
commit6a489237d5686828f26d7e452824374df7fb5708 (patch)
treeca24b0c87fd7c18869cf4d1299e835b35bba998b /src/mainboard/intel/leafhill/Kconfig
parent37e30aa624e959bcc5b3a3a2ed1d1337c32afff4 (diff)
downloadcoreboot-6a489237d5686828f26d7e452824374df7fb5708.tar.gz
coreboot-6a489237d5686828f26d7e452824374df7fb5708.tar.bz2
coreboot-6a489237d5686828f26d7e452824374df7fb5708.zip
mainboard/intel/leafhill: Clean up
This patch tries to clean the code by: o removing duplication of LPC GPIO pads o removing incorrect definitions from devicetree o removing irrelevant entries from FMD file Also adds vital defaults in Kconfig so it is possible to build an image. Change-Id: Id9913f3b053189166392271152ce5300d82a7de8 Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/18479 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/intel/leafhill/Kconfig')
-rw-r--r--src/mainboard/intel/leafhill/Kconfig68
1 files changed, 64 insertions, 4 deletions
diff --git a/src/mainboard/intel/leafhill/Kconfig b/src/mainboard/intel/leafhill/Kconfig
index ddef0e7d3f8b..c344615758b7 100644
--- a/src/mainboard/intel/leafhill/Kconfig
+++ b/src/mainboard/intel/leafhill/Kconfig
@@ -4,11 +4,7 @@ config BOARD_SPECIFIC_OPTIONS
def_bool y
select SOC_INTEL_APOLLOLAKE
select BOARD_ROMSIZE_KB_16384
- select DRIVERS_I2C_HID
select HAVE_ACPI_TABLES
-# select HAVE_INTEL_FIRMWARE
-# select HAVE_ME_BIN
-# select LOCK_MANAGEMENT_ENGINE
config MAINBOARD_DIR
string
@@ -22,4 +18,68 @@ config MAINBOARD_PART_NUMBER
string
default "Leafhill"
+config MAINBOARD_VENDOR
+ string
+ default "Intel"
+
+config FMDFILE
+ string
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/leafhill.$(CONFIG_COREBOOT_ROMSIZE_KB).fmd"
+
+config UART_FOR_CONSOLE
+ int "Number of UART port to use for serial log"
+ default 2
+
+config NEED_IFWI
+ # this must be set to y
+ bool "Use IFWI stitching"
+ default n
+
+config IFWI_FMAP_NAME
+ string "section in .fmd file to place ifwi blob"
+ depends on NEED_IFWI
+ default "IFWI"
+
+config IFWI_FILE_NAME
+ string "path to image coming from FIT tool"
+ depends on NEED_IFWI
+ default ""
+
+config IFD_BIN_PATH
+ string "path to descriptor.bin"
+ depends on NEED_IFWI
+ default ""
+
+config HAVE_IFD_BIN
+ bool
+ depends on NEED_IFWI
+ default y
+
+config SOC_UART_DEBUG
+ bool "use serial port debugging"
+ default y
+
+config ADD_FSP_BINARIES
+ bool "Add FSP blobs"
+ depends on PLATFORM_USES_FSP2_0
+ default n
+
+config FSP_M_FILE
+ string "path to FSP-M.Fv blob"
+ depends on ADD_FSP_BINARIES
+ default ""
+
+config FSP_S_FILE
+ string "path to FSP-S.Fv blob"
+ depends on ADD_FSP_BINARIES
+ default ""
+
+config FSP_S_CBFS
+ string
+ default "fsps.bin"
+
+config FSP_M_CBFS
+ string
+ default "fspm.bin"
+
endif # BOARD_INTEL_LEAFHILL