coreboot/src
Jeremy Compostella 74f5a3e8a0 soc/intel: Improve CONFIG_ACPI_SOC_INTEL_SLP_S0_FREQ_HZ use
Commit bd9c562a9e ("acpi: Configure
slp-s0 residency counter frequency in LPIT table") led to jenkins
reporting the following error:

    !!!!! Error: defined(CONFIG_ACPI_SOC_INTEL_SLP_S0_FREQ_HZ)
          used at src/include/acpi/acpi.h:457.  Symbols of type 'hex'
	  are always defined.

Since hex Kconfig are always defined there is no need to test it being
defined but also no need to handle zero or non-zero values.

In addition:

1. This config was defined in Meteor Lake specific Kconfig file while
   it should actually be define closer to where it is being used (here
   soc/intel/common/block/acpi/Kconfig) and only set by the SoC Kconfig.

2. Once moved and under control of `SOC_INTEL_COMMON_BLOCK_ACPI_LPIT'
   gating (lpit.c), the Kconfig name needed to be adjusted to better fit
   its use.

3. Make Meteor Lake Kconfig sets the config but does not define it
   anymore.

TEST=LPIT ACPI table Counter Frequency field is set to 0x2005 on rex

Change-Id: I2083c9209e61be6180cca2c9f74097e2f4b4ce9a
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78458
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-by: Sukumar Ghorai <sukumar.ghorai@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2023-10-19 16:17:20 +00:00
..
acpi acpi/acpigen: Allow general namestring in write mutex functions 2023-10-16 07:59:21 +00:00
arch arch/x86/cpu_common: Add cpu_get_c_substate_support 2023-10-06 12:15:34 +00:00
commonlib cbfs: Restore 32-bit padding in cbfs_header 2023-10-06 10:11:31 +00:00
console commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
cpu Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00
device arch to drivers/intel: Fix misspellings & capitalization issues 2023-09-08 00:53:57 +00:00
drivers spi/winbond: Use spi_flash_bpbits in winbond_bpbits_to_region 2023-10-05 12:57:51 +00:00
ec ec/google/chromeec: Add is_battery_present_and_above_critical_threshold 2023-10-16 03:41:29 +00:00
include soc/intel: Improve CONFIG_ACPI_SOC_INTEL_SLP_S0_FREQ_HZ use 2023-10-19 16:17:20 +00:00
lib cbfs: Remove x86 .data section limitation comment 2023-09-18 13:19:51 +00:00
mainboard mb/intel/mtlrvp: Disable package C-state auto demotion 2023-10-18 06:24:45 +00:00
northbridge Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00
sbom
security security/tpm: Enable Hibernate on setup failure 2023-10-02 17:06:32 +00:00
soc soc/intel: Improve CONFIG_ACPI_SOC_INTEL_SLP_S0_FREQ_HZ use 2023-10-19 16:17:20 +00:00
southbridge sb/intel/bd82x6x/pcie: Drop register write 2023-10-12 12:41:17 +00:00
superio superio/smsc/sch5545/acpi/superio.asl: Clear PME status bits on SCI 2023-10-19 07:45:02 +00:00
vendorcode vc/intel/raptorlake: Use FSP v4301.01 headers for Google 2023-10-19 04:50:26 +00:00
Kconfig Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00