diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-02-17 11:40:54 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-14 15:42:56 +0000 |
commit | a46056fa9a814c44796fe89220c3753c6aed8560 (patch) | |
tree | cbfefbf713f1c156ac60a1edd153f2b5fa07c962 /src/mainboard/google/brya/variants/baseboard | |
parent | daed4ea1d0503210fbec8241a25d60a67ac91bc3 (diff) |
mb/google/brya: Add variant_init and variant_finalize callbacks
Some brya variants may need to initialize and finalize some
variant-specific devices during ramstage, therefore add the
commonly-used hooks and callbacks to support this.
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Iede6dc5a5b9a7385fedd59d4eeaaba118eff0e20
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62382
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/baseboard')
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h index b088ecb10e..42e76227b6 100644 --- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h @@ -82,4 +82,7 @@ void variant_update_psys_power_limits(const struct cpu_power_limits *limits, size_t num_entries, const struct psys_config *config); +void variant_init(void); +void variant_finalize(void); + #endif /*__BASEBOARD_VARIANTS_H__ */ |