summaryrefslogtreecommitdiff
path: root/src/mainboard/google/mistral
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-19 21:52:21 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-04 07:08:17 +0000
commit43881bb21456802536a4545172cfc5134496d9e1 (patch)
treefe68e60c828402a5dcac3ee20a89e177eceb4e22 /src/mainboard/google/mistral
parent864be5bae5dea454a6867c39bdb12271bf39db3c (diff)
mb/google: Convert some CONFIG(CHROMEOS) preprocessor
Change-Id: Ica8691e3dc4feecbeb11ba3f5868932f926965b2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48785 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/mistral')
-rw-r--r--src/mainboard/google/mistral/mainboard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c
index e0cd75d8c3..4079182497 100644
--- a/src/mainboard/google/mistral/mainboard.c
+++ b/src/mainboard/google/mistral/mainboard.c
@@ -19,10 +19,9 @@ static void setup_usb(void)
static void mainboard_init(struct device *dev)
{
- if (CONFIG(CHROMEOS)) {
- /* Copy WIFI calibration data into CBMEM. */
+ /* Copy WIFI calibration data into CBMEM. */
+ if (CONFIG(CHROMEOS))
cbmem_add_vpd_calibration_data();
- }
setup_usb();
}