From acb9c0b6616f96357c303964678eac05177a078d Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 2 Jul 2015 11:55:18 -0700 Subject: Braswell: Update to end of June. Remove some CamelCase in acpi.c Add FSP PcdDvfsEnable configuration parameter. Add lpc_init and lpc_set_low_power routines. Remove Braswell reference to make code easier to port to another SOC. BRANCH=none BUG=None TEST=Build and run on cyan Change-Id: I5063215fc5d19b4a07f3161f76bf3d58e30f6f02 Signed-off-by: Lee Leahy Reviewed-on: http://review.coreboot.org/10768 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/intel/braswell/pmutil.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/soc/intel/braswell/pmutil.c') diff --git a/src/soc/intel/braswell/pmutil.c b/src/soc/intel/braswell/pmutil.c index 2cdeaafdef..fe5be64d68 100644 --- a/src/soc/intel/braswell/pmutil.c +++ b/src/soc/intel/braswell/pmutil.c @@ -20,13 +20,14 @@ #include #include +#include #include #include #include #include #include -#if defined(__SMM__) +#if ENV_SMM static const device_t pcu_dev = PCI_DEV(0, PCU_DEV, 0); @@ -35,7 +36,7 @@ static inline device_t get_pcu_dev(void) return pcu_dev; } -#else /* !__SMM__ */ +#else /* ENV_SMM */ #include #include @@ -46,7 +47,7 @@ static device_t get_pcu_dev(void) pcu_dev = dev_find_slot(0, PCI_DEVFN(PCU_DEV, 0)); return pcu_dev; } -#endif +#endif /* ENV_SMM */ uint16_t get_pmbase(void) { -- cgit v1.2.3