diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2021-05-04 20:59:28 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-11 12:53:07 +0000 |
commit | a83d8ab0f8da00c21bd2962857a5a24f97376d4e (patch) | |
tree | 0a7d622fe13e65e350d272e418b430202686c2ed /src/mainboard/google/dedede/variants | |
parent | a5c829d4e1afa92b32dc1c23edeef73406270f15 (diff) |
mb/google/dedede: Add a variant callback to update devicetree config
This callback is required to update the devicetree config at run-time
after probing the firmware config.
BUG=b:186380807
BRANCH=dedede
TEST=Build and boot to OS in metaknight.
Change-Id: I857211bfc4beb36ab225f3786c1707336a34aae9
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52887
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Raymond Wong <wongraymond@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants')
-rw-r--r-- | src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h index e7bfd868aa..a3dcd919d1 100644 --- a/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/dedede/variants/baseboard/include/baseboard/variants.h @@ -39,4 +39,7 @@ bool variant_mem_is_half_populated(void); /* Allow each variants to customize SMI sleep flow. */ void variant_smi_sleep(u8 slp_typ); +/* Modify devictree settings during ramstage. */ +void variant_devtree_update(void); + #endif /*__BASEBOARD_VARIANTS_H__ */ |