Skip to content
Snippets Groups Projects
Commit 7a170a59 authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig


Move this over to Kconfig and tidy up.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6bd7be27
No related branches found
No related tags found
No related merge requests found
...@@ -7,3 +7,4 @@ CONFIG_SOUND=y ...@@ -7,3 +7,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y
...@@ -7,3 +7,4 @@ CONFIG_SOUND=y ...@@ -7,3 +7,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y
...@@ -11,3 +11,4 @@ CONFIG_SOUND=y ...@@ -11,3 +11,4 @@ CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y CONFIG_I2S_SAMSUNG=y
CONFIG_SOUND_MAX98095=y
...@@ -28,3 +28,11 @@ config I2S_SAMSUNG ...@@ -28,3 +28,11 @@ config I2S_SAMSUNG
using one of the available audio codec drivers. Enabling this using one of the available audio codec drivers. Enabling this
option provides an implementation for sound_init() and option provides an implementation for sound_init() and
sound_play(). 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.
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
/* Sound */ /* Sound */
#ifdef CONFIG_CMD_SOUND #ifdef CONFIG_CMD_SOUND
#define CONFIG_SOUND_MAX98095
#define CONFIG_SOUND_WM8994 #define CONFIG_SOUND_WM8994
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment