]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sandbox: exynos: Move CONFIG_I2S_SAMSUNG to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 6 Mar 2015 20:19:11 +0000 (13:19 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:29:00 +0000 (22:29 +0200)
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 3c0a6b3d6da363036312c8c4b5a2ab481f2ad5e2..3d5c870c1d7d499dae2ee66f0c2099b67f1889b0 100644 (file)
@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
+CONFIG_I2S_SAMSUNG=y
index 58e05163287efd52b4bf189b6b03366231cb35a9..123461918c5b97d8f9e4b84da3af765b3c3eb456 100644 (file)
@@ -6,3 +6,4 @@ CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
+CONFIG_I2S_SAMSUNG=y
index eb8c64a50db1f0f2e262ce6d30e87cca57ac0ac4..d8c01e6be3d2e7ff9285c0e21639c78fdfd2bd1c 100644 (file)
@@ -10,3 +10,4 @@ CONFIG_CMD_CROS_EC=y
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
 CONFIG_I2S=y
+CONFIG_I2S_SAMSUNG=y
index 759a10fcc39a5e54c78fb37c8bc3128bdfb79133..1b97af001bba66592dd4b4d0f146c78ba15c0c06 100644 (file)
@@ -18,3 +18,13 @@ config I2S
          SoC to the audio codec. This option enables sound support using
          I2S. It calls either of the two supported codecs (no use is made
          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().
index c9eac15cfab49084767ea04243d8b586957cfc15..895d6e1994b3cb99d7d302e9b8e2165fb386ebec 100644 (file)
@@ -30,7 +30,6 @@
 
 /* Sound */
 #ifdef CONFIG_CMD_SOUND
-#define CONFIG_I2S_SAMSUNG
 #define CONFIG_SOUND_MAX98095
 #define CONFIG_SOUND_WM8994
 #endif