mb/google/brya: Add variant_init and variant_finalize callbacks
commita46056fa9a814c44796fe89220c3753c6aed8560
authorTim Wawrzynczak <twawrzynczak@chromium.org>
Thu, 17 Feb 2022 18:40:54 +0000 (17 11:40 -0700)
committerFelix Held <felix-coreboot@felixheld.de>
Thu, 14 Apr 2022 15:42:56 +0000 (14 15:42 +0000)
treecbfefbf713f1c156ac60a1edd153f2b5fa07c962
parentdaed4ea1d0503210fbec8241a25d60a67ac91bc3
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>
src/mainboard/google/brya/mainboard.c
src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h