mb/supermicro: restructure x11ssh-tf to represent a x11 board series
commit0a6c62fbbe979b3363152ee8c5aace8a0a12871d
authorMichael Niewöhner <foss@mniewoehner.de>
Wed, 18 Sep 2019 14:31:50 +0000 (18 16:31 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 26 Sep 2019 09:29:25 +0000 (26 09:29 +0000)
treef1194dff0876384276aa106d3cb2750d13254f9a
parentb68ebfa8fc925bd74aa601ad77fcf882f44ba8f5
mb/supermicro: restructure x11ssh-tf to represent a x11 board series

Most of the X11 boards with socket LGA1151 are basically the same boards
with just some minor differences like different NICs (1 GbE, 10 GbE),
number of NICs / PCIe ports etc.

There are about 20 boards that can be added, if there is a community for
testing.

To be able to add more x11 boards easily like x11ssm (see CB:35427) this
restructures the x11ssh tree to represent a "X11 LGA1151 series". There
were multiple suggestions for the structure like grouping by series
(x10, x11, x...), grouping by chipset or by cpu family.

It turned out that there are some "X11 series" boards that are
completely different. Grouping by chipset or cpu family suffers from the
same problem. This is why finally we agreed on grouping by series and
socket ("X11 LGA1151 series").

The structure uses the common baseboard scheme, while there is no "real"
baseboard we know of. By checking images, comparing logs etc. we came to
the conclusion that Supermicro does have some base layout which is only
modified a bit for the different boards.

X11SSH-TF was moved to the variants/ folder with it's gpio.h. As we
expect the other boards to have mostly the same device tree, there is a
common devicetree that gets overridden by each variant's overridetree.

Besides that some very minor modifications happened (formatting, fixing
comments, ...) but not much.

Documentation is reworked in CB:35547

Change-Id: I8dc4240ae042760a845e890b923ad40478bb8e29
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35426
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
25 files changed:
Documentation/mainboard/index.md
Documentation/mainboard/supermicro/x11-lga1151-series/index.md [new file with mode: 0644]
Documentation/mainboard/supermicro/x11-lga1151-series/x11ssh-tf/x11ssh-tf.md [moved from Documentation/mainboard/supermicro/x11ssh-tf.md with 94% similarity]
Documentation/mainboard/supermicro/x11-lga1151-series/x11ssh-tf/x11ssh-tf_flash.jpg [moved from Documentation/mainboard/supermicro/x11ssh_flash.jpg with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/Kconfig [moved from src/mainboard/supermicro/x11ssh/Kconfig with 70% similarity]
src/mainboard/supermicro/x11-lga1151-series/Kconfig.name [new file with mode: 0644]
src/mainboard/supermicro/x11-lga1151-series/Makefile.inc [moved from src/mainboard/supermicro/x11ssh/Makefile.inc with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/acpi/ec.asl [moved from src/mainboard/supermicro/x11ssh/acpi/ec.asl with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/acpi/mainboard.asl [moved from src/mainboard/supermicro/x11ssh/acpi/mainboard.asl with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/acpi/superio.asl [moved from src/mainboard/supermicro/x11ssh/acpi/superio.asl with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/acpi_tables.c [moved from src/mainboard/supermicro/x11ssh/acpi_tables.c with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/board_info.txt [new file with mode: 0644]
src/mainboard/supermicro/x11-lga1151-series/bootblock.c [moved from src/mainboard/supermicro/x11ssh/bootblock.c with 98% similarity]
src/mainboard/supermicro/x11-lga1151-series/cmos.layout [moved from src/mainboard/supermicro/x11ssh/cmos.layout with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/devicetree.cb [new file with mode: 0644]
src/mainboard/supermicro/x11-lga1151-series/dsdt.asl [moved from src/mainboard/supermicro/x11ssh/dsdt.asl with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/ramstage.c [moved from src/mainboard/supermicro/x11ssh/ramstage.c with 97% similarity]
src/mainboard/supermicro/x11-lga1151-series/romstage.c [moved from src/mainboard/supermicro/x11ssh/romstage.c with 100% similarity]
src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/board_info.txt [moved from src/mainboard/supermicro/x11ssh/variants/tf/board_info.txt with 61% similarity]
src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h [moved from src/mainboard/supermicro/x11ssh/gpio.h with 99% similarity]
src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/overridetree.cb [new file with mode: 0644]
src/mainboard/supermicro/x11-lga1151-series/vboot-ro-rwab.fmd [moved from src/mainboard/supermicro/x11ssh/vboot-ro-rwab.fmd with 100% similarity]
src/mainboard/supermicro/x11ssh/Kconfig.name [deleted file]
src/mainboard/supermicro/x11ssh/board_info.txt [deleted file]
src/mainboard/supermicro/x11ssh/variants/tf/devicetree.cb [deleted file]