diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-03-18 16:00:14 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-24 07:55:03 +0000 |
commit | 5d31dfa8df50dc6020a145f7c5123d93538167cc (patch) | |
tree | 740e5a54b25ef229a8263df681dcca22cae6050f /src/device/Kconfig | |
parent | 6da78660d055e7fdd7af07e824433921b500437b (diff) |
device/azalia_device.c: Introduce AZALIA_MAX_CODECS
Add the AZALIA_MAX_CODECS Kconfig option and use it.
Change-Id: Ibb10c2f2992257bc261e6cb35f11cc4b2d956054
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51640
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r-- | src/device/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig index 8dc9ecdff9..1bfc34a982 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -519,6 +519,14 @@ config AZALIA_PLUGIN_SUPPORT bool default n +config AZALIA_MAX_CODECS + int + depends on AZALIA_PLUGIN_SUPPORT + default 3 + range 1 15 + help + The maximum number of codecs supported on a single HD Audio controller. + config PCIEXP_PLUGIN_SUPPORT bool default y |