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

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

index 4aa14af057fd2e36643e05efeb75e98e2ac9b666..71c9e65782757d7c84855354b75c13d74e40115d 100644 (file)
@@ -3,3 +3,4 @@ CONFIG_ARM=y
 CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_ARNDALE=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
+CONFIG_SOUND=y
index c8c888dd68713a3330101715eeba4d7726cd8c59..db10c191bab212703c61dd8c8b99f01f21827a42 100644 (file)
@@ -23,3 +23,4 @@ CONFIG_SYS_I2C_SANDBOX=y
 CONFIG_SANDBOX_SPI=y
 CONFIG_SPI_FLASH_SANDBOX=y
 CONFIG_TPM_TIS_SANDBOX=y
+CONFIG_SOUND=y
index efc738bfeb3d1af9af726d90af28846247c31299..95f80d9fe6460e6f4f0f0c38103a8cf827769c7a 100644 (file)
@@ -3,3 +3,4 @@ CONFIG_ARM=y
 CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_SMDK5250=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
+CONFIG_SOUND=y
index 6417a771618572e2161788740fafdd10e15ecfce..6b2c8bd363e39b9c8398c886a65b83f1a45c046f 100644 (file)
@@ -7,3 +7,4 @@ CONFIG_CROS_EC=y
 CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CMD_CROS_EC=y
+CONFIG_SOUND=y
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..599edae97f27265b63e94e5ac14bc7a11505f334 100644 (file)
@@ -0,0 +1,11 @@
+config SOUND
+       bool "Enable sound support"
+       help
+         Support making sounds through an audio codec. This is normally a
+         beep at a chosen frequency for a selected length of time. However
+         the drivers support playing arbitrary sound samples using a
+         PCM interface.
+
+         Note: At present the sound setup is somewhat tangled up in that the
+         audio codecs are called from the sound-i2s code. This could be
+         converted to driver model.
index ae0e5ff47b096a48f2a1a798070a80a06ad52f52..e5935b61228f1d8c211312f7b3ff0303d6934426 100644 (file)
@@ -31,7 +31,6 @@
 /* Sound */
 #define CONFIG_CMD_SOUND
 #ifdef CONFIG_CMD_SOUND
-#define CONFIG_SOUND
 #define CONFIG_I2S_SAMSUNG
 #define CONFIG_I2S
 #define CONFIG_SOUND_MAX98095
index 842fbe27072df1dfc2d6b8a095998cb2fbfc078a..ec182261bdb585d4d6153333f80055b5ce3cde94 100644 (file)
 
 #define CONFIG_BOARD_LATE_INIT
 
-#define CONFIG_SOUND
 #define CONFIG_SOUND_SANDBOX
 #define CONFIG_CMD_SOUND