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

sandbox: exynos: Move CONFIG_I2S_SAMSUNG to Kconfig


Move this over to Kconfig and tidy up.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 00cf7bf1
No related branches found
No related tags found
No related merge requests found
...@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale" ...@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
CONFIG_SOUND=y CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
...@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250" ...@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
CONFIG_SOUND=y CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
...@@ -10,3 +10,4 @@ CONFIG_CMD_CROS_EC=y ...@@ -10,3 +10,4 @@ CONFIG_CMD_CROS_EC=y
CONFIG_SOUND=y CONFIG_SOUND=y
CONFIG_CMD_SOUND=y CONFIG_CMD_SOUND=y
CONFIG_I2S=y CONFIG_I2S=y
CONFIG_I2S_SAMSUNG=y
...@@ -18,3 +18,13 @@ config I2S ...@@ -18,3 +18,13 @@ config I2S
SoC to the audio codec. This option enables sound support using SoC to the audio codec. This option enables sound support using
I2S. It calls either of the two supported codecs (no use is made I2S. It calls either of the two supported codecs (no use is made
of driver model at present). of driver model at present).
config I2S_SAMSUNG
bool "Enable I2C support for Samsung SoCs"
depends on SOUND
help
Samsung Exynos SoCs support an I2S interface for sending audio
data to an audio codec. This option enables support for this,
using one of the available audio codec drivers. Enabling this
option provides an implementation for sound_init() and
sound_play().
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
/* Sound */ /* Sound */
#ifdef CONFIG_CMD_SOUND #ifdef CONFIG_CMD_SOUND
#define CONFIG_I2S_SAMSUNG
#define CONFIG_SOUND_MAX98095 #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