From 2de57585a0a357e55dbbb9bca2b2db84abf1c98c Mon Sep 17 00:00:00 2001 From: David Wu Date: Thu, 18 Jul 2019 17:23:13 +0800 Subject: mb/google/hatch: Add support for variant_devtree_update() This change adds support for variant_devtree_update() that allows variant to update device tree. BUG=None TEST=emerge-hatch coreboot chromeos-bootimage Change-Id: I0e9ad360b6c02c83fe49387ce7bc66d56448ffb9 Signed-off-by: David Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/34399 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- .../google/hatch/variants/baseboard/include/baseboard/variants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/hatch/variants') diff --git a/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h index 864d140f0e..4cb11945ca 100644 --- a/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/hatch/variants/baseboard/include/baseboard/variants.h @@ -43,4 +43,7 @@ const struct pad_config *variant_sleep_gpio_table(u8 slp_typ, size_t *num); /* Return ChromeOS gpio table and fill in number of entries. */ const struct cros_gpio *variant_cros_gpios(size_t *num); +/* Modify devictree settings during ramstage. */ +void variant_devtree_update(void); + #endif /* BASEBOARD_VARIANTS_H */ -- cgit v1.2.3