aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/dell/optiplex_9010/Kconfig
diff options
context:
space:
mode:
authorMichał Żygowski <michal.zygowski@3mdeb.com>2020-04-13 21:42:24 +0200
committerMichał Żygowski <michal.zygowski@3mdeb.com>2020-05-16 17:38:46 +0000
commit72f06ca554e6f7b155a6b4e2b8ce57942288ac2c (patch)
treebb4341a075b603d0d7e3778a7b10978cbf494c1d /src/mainboard/dell/optiplex_9010/Kconfig
parentfba08308f086d7b77f95554df094288fd55903d1 (diff)
mb/dell/optiplex_9010: Add Dell OptiPlex 9010 SFF support
Based on the autoport. The OptiPlex 9010 comes in four different sizes: MT, DT, SFF and USFF. Tested on SFF only. The other PCBs are slightly different, but they are designed with intercompatibility in mind. With small devicetree overrides it should work on OptiPlex 7010 and other OptiPlex 9010 variants as well. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Change-Id: I88d65cae30d08ca727d86d930707c2be25a527cf Reviewed-on: https://review.coreboot.org/c/coreboot/+/40351 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/dell/optiplex_9010/Kconfig')
-rw-r--r--src/mainboard/dell/optiplex_9010/Kconfig69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/mainboard/dell/optiplex_9010/Kconfig b/src/mainboard/dell/optiplex_9010/Kconfig
new file mode 100644
index 0000000000..6a3feb3751
--- /dev/null
+++ b/src/mainboard/dell/optiplex_9010/Kconfig
@@ -0,0 +1,69 @@
+if BOARD_DELL_OPTIPLEX_9010
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select BOARD_ROMSIZE_KB_12288
+ select HAVE_ACPI_RESUME
+ select HAVE_ACPI_TABLES
+ select INTEL_INT15
+ select NORTHBRIDGE_INTEL_SANDYBRIDGE
+ select SERIRQ_CONTINUOUS_MODE
+ select SOUTHBRIDGE_INTEL_C216
+ select USE_NATIVE_RAMINIT
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM1
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select SUPERIO_SMSC_SCH5545
+ select MAINBOARD_HAS_LIBGFXINIT
+ select INTEL_GMA_HAVE_VBT
+ select HAVE_OPTION_TABLE
+ select HAVE_CMOS_DEFAULT
+ select PCIEXP_L1_SUB_STATE
+
+config MAINBOARD_DIR
+ string
+ default dell/optiplex_9010
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "OptiPlex 9010"
+
+config VGA_BIOS_FILE
+ string
+ default "pci8086,0162.rom"
+
+config VGA_BIOS_ID
+ string
+ default "8086,0162"
+
+config DRAM_RESET_GATE_GPIO
+ int
+ default 60
+
+config MAX_CPUS
+ int
+ default 8
+
+config USBDEBUG_HCD_INDEX
+ int
+ default 2
+
+config CBFS_SIZE
+ hex
+ default 0x600000
+
+config INCLUDE_SMSC_SCH5545_EC_FW
+ bool "Include SMSC SCH5545 EC firmware binary"
+ default n
+ help
+ This option allows to add the SMSC SCH5545 Environmental Controller
+ firmware binary. The firmware must be loaded after each power failure
+ in order to properly initialize the fan control, because EC loses its
+ configuration when power is cut off. Otherwise the fans will keep
+ running at full speed after power failure.
+
+config SMSC_SCH5545_EC_FW_FILE
+ string "File path to the SMSC SCH5545 EC firmware binary"
+ depends on INCLUDE_SMSC_SCH5545_EC_FW
+
+endif