coreboot/src/soc/intel
Furquan Shaikh 31bff01a72 soc/intel/.../hda: Add and use config for initialization of HDA codecs
Config option SOC_INTEL_COMMON_BLOCK_HDA is currently used for
initialization of HDA codecs only. This prevents adding of any static
devices under the HDA device node. However, there can be boards which
want to add devices under HDA node (e.g. nocturne that wants to
provide DMIC properties to OS) without performing any codec
initialization using the HDA. This change:

1. Adds a new config option SOC_INTEL_COMMON_BLOCK_HDA_VERB that can
be set explicitly by the boards that want to perform codec
initialization.

2. Uses newly added config option is used to guard the initialization
functions for the codec. Rest of the device operations can still be
used by all the other boards without having to use HDA codec
initialization.

3. Selects the newly added option SOC_INTEL_COMMON_BLOCK_HDA_VERB in
kblrvp which is the only board enabling HDA codec initialization
using common block code.

4. Selects original config SOC_INTEL_COMMON_BLOCK_HDA for skylake SoC.

Above changes need to be bundled and pushed in as a single change in
order to avoid breaking existing users.

BUG=b:112888584

Change-Id: Ie6f39c13a801833b283120a2d4b6f6175688999c
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/28806
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2018-10-06 00:01:07 +00:00
..
apollolake src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
baytrail src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
braswell src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
broadwell src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
cannonlake soc/intel/cannonlake: Move the FSP related callbacks to separate files 2018-10-04 09:47:10 +00:00
common soc/intel/.../hda: Add and use config for initialization of HDA codecs 2018-10-06 00:01:07 +00:00
denverton_ns src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
fsp_baytrail src: Fix MSR_PKG_CST_CONFIG_CONTROL register name 2018-10-05 01:38:15 +00:00
fsp_broadwell_de soc/intel/fsp_broadwell_de: Fix IA32_MC0_* names 2018-10-01 04:15:30 +00:00
quark soc/intel/quark/uart.c: Don't use device_t 2018-09-21 14:12:42 +00:00
skylake soc/intel/.../hda: Add and use config for initialization of HDA codecs 2018-10-06 00:01:07 +00:00
Kconfig Kconfig: Add config to insert ucode address in second FIT 2018-07-19 08:07:49 +00:00