diff options
author | Martin Roth <martinroth@google.com> | 2017-06-24 21:34:29 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-13 23:54:32 +0000 |
commit | e6ff1596e7417d24746162b3a567bcb6dd9ef988 (patch) | |
tree | 36db0c03c6122c9b31d0f25c40a2f5745371a179 /src/soc/intel/baytrail/acpi.c | |
parent | fed4303b45aa3c8ba98cd2ab90cf5bf023fc6aae (diff) |
soc/intel: add IS_ENABLED() around Kconfig symbol references
Change-Id: I3c5f9e0d3d1efdd83442ce724043729c8648ea64
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20348
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/acpi.c')
-rw-r--r-- | src/soc/intel/baytrail/acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c index 39ffa20936..b3f5ea62e9 100644 --- a/src/soc/intel/baytrail/acpi.c +++ b/src/soc/intel/baytrail/acpi.c @@ -85,15 +85,15 @@ void acpi_init_gnvs(global_nvs_t *gnvs) /* Top of Low Memory (start of resource allocation) */ gnvs->tolm = nc_read_top_of_low_memory(); -#if CONFIG_CONSOLE_CBMEM +#if IS_ENABLED(CONFIG_CONSOLE_CBMEM) /* Update the mem console pointer. */ gnvs->cbmc = (u32)cbmem_find(CBMEM_ID_CONSOLE); #endif -#if CONFIG_CHROMEOS +#if IS_ENABLED(CONFIG_CHROMEOS) /* Initialize Verified Boot data */ chromeos_init_vboot(&(gnvs->chromeos)); -#if CONFIG_EC_GOOGLE_CHROMEEC +#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC) gnvs->chromeos.vbt2 = google_ec_running_ro() ? ACTIVE_ECFW_RO : ACTIVE_ECFW_RW; #endif |