From b4eb02aa8b9e7c479e8cb104197afd326c36f974 Mon Sep 17 00:00:00 2001 From: Paul Fagerburg Date: Fri, 23 Aug 2019 11:22:14 -0600 Subject: hatch: automate creating a new variant in coreboot To create a new variant of the hatch baseboard, we need to add the variant's GBB_HWID and other information to Kconfig and Kconfig.name, and set up a skeletal build based on the hatch baseboard. BUG=b:140261109 BRANCH=none TEST=``./create_coreboot_variant.sh sushi && git show`` Kconfig will have three new lines for the SUSHI variant, and Kconfig.name will have an entirely new section. New files created are: variants/sushi/Makefile.inc variants/sushi/overridetree.cb variants/sushi/include/ec.h variants/sushi/include/gpio.h variants/sushi/include/variant/acpi/dptf.asl Also run the script with an existing board name to verify that you can't create a variant that already exists. Change-Id: I1a5b9c8735faafebb2e4e384cb3346867d64c556 Signed-off-by: Paul Fagerburg Reviewed-on: https://review.coreboot.org/c/coreboot/+/35239 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- util/mainboard/google/hatch/template/overridetree.cb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 util/mainboard/google/hatch/template/overridetree.cb (limited to 'util/mainboard/google/hatch/template/overridetree.cb') diff --git a/util/mainboard/google/hatch/template/overridetree.cb b/util/mainboard/google/hatch/template/overridetree.cb new file mode 100644 index 0000000000..abbcaaa08c --- /dev/null +++ b/util/mainboard/google/hatch/template/overridetree.cb @@ -0,0 +1,6 @@ +chip soc/intel/cannonlake + + device domain 0 on + end + +end -- cgit v1.2.3