coreboot/src/mainboard/dell
Walter Sonius a65b874472 mb/dell: Convert OptiPlex 3050 into variant
To minimize code duplication when adding the new "optiplex_5040" port
CB:88735, the "optiplex_3050" should be turned into a variant first.

Naming of the template inspired by "ifdtool --platform quirk" and recent
"sklkbl_thinkpads" commit. However it's naming is not limmited to its
CPU support since some Coffee Lake (Refresh) CPUs are already tested!

Currently chose a more common name "desktops" although yet only Dell
OptiPlex units are supported Inspiron, Vostro or even Precision desktops
running the same chipset(s) and code should be foreseen.

Open to any other naming / convention suggestions?

Patch stages:
patch1: add variant template with duplicated code some specialized files
        but full devicetree.cb as overridetree.cb wont build as variant!
patch2: edit Kconfig(.name) and Makefile.mk to include both variants
        trim each overridetree.cb specific & derive common devicetree.cb
        builds both variants only tested and verified "optiplex_5040"
patch3: remove "optiplex_5040" variant so this only turns into a variant
        containing the converted "optiplex_3050"
patch12 customized gpio between 3050 and 5040 use gpio.c vs gpio.h

Further patches mostly rebasing.

TEST=Checksum BUILD_TIMELESS=1 matches if original build adds 1 ramstage
     linked file to variant folder! See comments howto verify checksum.

Change-Id: I16e3b92104f515b334afaacfed740a3b71f5b048
Signed-off-by: Walter Sonius <walterav1984@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88726
Reviewed-by: Máté Kukri <km@mkukri.xyz>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-12-03 22:20:05 +00:00
..
gm45_latitude device: Add Kconfig to prepare for reworked verb table implementation 2025-09-28 18:18:03 +00:00
haswell_latitude device: Add Kconfig to prepare for reworked verb table implementation 2025-09-28 18:18:03 +00:00
optiplex_9020 device: Add Kconfig to prepare for reworked verb table implementation 2025-09-28 18:18:03 +00:00
sklkbl_desktops mb/dell: Convert OptiPlex 3050 into variant 2025-12-03 22:20:05 +00:00
snb_ivb_latitude device: Add Kconfig to prepare for reworked verb table implementation 2025-09-28 18:18:03 +00:00
snb_ivb_workstations tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
xps_8300 device: Add Kconfig to prepare for reworked verb table implementation 2025-09-28 18:18:03 +00:00
Kconfig mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00
Kconfig.name mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00