mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
sound: all sound devices must depend on CONFIG_SOUND
Clean up the sound Kconfig options to let all sound devices depend on CONFIG_SOUND. Before this patch it was possible to select CONFIG_SOUND_MAX98357A even with CONFIG_SOUND=n. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Tom Rini
parent
7f11be48db
commit
45860d882f
@@ -12,9 +12,10 @@ config SOUND
|
||||
audio codecs are called from the sound-i2s code. This could be
|
||||
converted to driver model.
|
||||
|
||||
if SOUND
|
||||
|
||||
config I2S
|
||||
bool "Enable I2S support"
|
||||
depends on SOUND
|
||||
help
|
||||
I2S is a serial bus often used to transmit audio data from the
|
||||
SoC to the audio codec. This option enables sound support using
|
||||
@@ -42,7 +43,6 @@ config I2S_SAMSUNG
|
||||
|
||||
config SOUND_DA7219
|
||||
bool "Dialog Semiconductor audio codec"
|
||||
depends on SOUND
|
||||
help
|
||||
The DA7219 is an ultra-low-power audio codec with Advanced Accessory
|
||||
Detection (AAD). This driver only supports generation of ACPI tables.
|
||||
@@ -51,7 +51,7 @@ config SOUND_DA7219
|
||||
|
||||
config SOUND_I8254
|
||||
bool "Intel i8254 timer / beeper"
|
||||
depends on SOUND && X86
|
||||
depends on X86
|
||||
help
|
||||
This enables support for a beeper that uses the i8254 timer chip.
|
||||
This can emit beeps at a fixed frequency. It is possible to control
|
||||
@@ -63,7 +63,6 @@ config SOUND_I8254
|
||||
|
||||
config SOUND_INTEL_HDA
|
||||
bool "Intel HDA audio codec"
|
||||
depends on SOUND
|
||||
help
|
||||
Most Intel chips have an HDA (High-definition audio) codec which can
|
||||
be used by U-Boot to play simple beeps. This is also sometimes called
|
||||
@@ -72,7 +71,6 @@ config SOUND_INTEL_HDA
|
||||
|
||||
config SOUND_IVYBRIDGE
|
||||
bool "Intel Ivybridge sound support"
|
||||
depends on SOUND
|
||||
select SOUND_INTEL_HDA
|
||||
help
|
||||
Enable sound output on supported Intel Ivybridge-based boards. This
|
||||
@@ -148,4 +146,6 @@ config SOUND_WM8994
|
||||
audio data and I2C for codec control. At present it only works
|
||||
with the Samsung I2S driver.
|
||||
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user