sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig

Move this over to Kconfig and tidy up.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2015-03-06 13:19:12 -07:00
parent 6bd7be2782
commit 7a170a59f3
5 changed files with 11 additions and 1 deletions

View File

@ -7,3 +7,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y
CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y

View File

@ -7,3 +7,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y
CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y

View File

@ -11,3 +11,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y
CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y

View File

@ -28,3 +28,11 @@ config I2S_SAMSUNG
using one of the available audio codec drivers. Enabling this
option provides an implementation for sound_init() and
sound_play().
config SOUND_MAX98095
bool "Support Maxim max98095 audio codec"
depends on I2S_SAMSUNG
help
Enable the max98095 audio codec. This is connected via I2S for
audio data and I2C for codec control. At present it only works
with the Samsung I2S driver.

View File

@ -30,7 +30,6 @@
/* Sound */
#ifdef CONFIG_CMD_SOUND
#define CONFIG_SOUND_MAX98095
#define CONFIG_SOUND_WM8994
#endif