]> git.sur5r.net Git - u-boot/commitdiff
sandbox: exynos: Move CONFIG_SOUND_MAX98095 to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 6 Mar 2015 20:19:12 +0000 (13:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:39 +0000 (11:11 -0600)
Move this over to Kconfig and tidy up.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/arndale_defconfig
configs/smdk5250_defconfig
configs/snow_defconfig
drivers/sound/Kconfig
include/configs/exynos5250-common.h

index 3d5c870c1d7d499dae2ee66f0c2099b67f1889b0..f77209a8b61d32b3be22cec7b8d3df67b77dab4e 100644 (file)
@@ -7,3 +7,4 @@ CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
+CONFIG_SOUND_MAX98095=y
index 123461918c5b97d8f9e4b84da3af765b3c3eb456..8dd6b95d2b124206122d14affe06c8b4aa0537ab 100644 (file)
@@ -7,3 +7,4 @@ CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
+CONFIG_SOUND_MAX98095=y
index d8c01e6be3d2e7ff9285c0e21639c78fdfd2bd1c..0fd084b19745e97d741e9987f526630ab4cbe03e 100644 (file)
@@ -11,3 +11,4 @@ CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
 CONFIG_I2S_SAMSUNG=y
+CONFIG_SOUND_MAX98095=y
index 1b97af001bba66592dd4b4d0f146c78ba15c0c06..cfc75cb57e79017ac2c0d4ce0162165a4aefdae2 100644 (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.
index 895d6e1994b3cb99d7d302e9b8e2165fb386ebec..79a7adf761cc5a714ec73bdeaad88f9325856746 100644 (file)
@@ -30,7 +30,6 @@
 
 /* Sound */
 #ifdef CONFIG_CMD_SOUND
-#define CONFIG_SOUND_MAX98095
 #define CONFIG_SOUND_WM8994
 #endif