sandbox: exynos: Move CONFIG_CMD_SOUND to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 6 Mar 2015 20:19:09 +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>
common/Kconfig
configs/arndale_defconfig
configs/sandbox_defconfig
configs/smdk5250_defconfig
configs/snow_defconfig
include/configs/exynos5250-common.h
include/configs/sandbox.h

index 0a4652b3143b32dca42f030e397d06e32a3ecbed..17930a4ff3e70de42759f0a123593ade2f4c54d5 100644 (file)
@@ -339,6 +339,16 @@ config CMD_SETGETDCR
          getidcr - Get a register value via indirect DCR addressing
          setidcr - Set a register value via indirect DCR addressing
 
+config CMD_SOUND
+       bool "sound"
+       depends on SOUND
+       help
+         This provides basic access to the U-Boot's sound support. The main
+         feature is to play a beep.
+
+            sound init   - set up sound system
+            sound play   - play a sound
+
 endmenu
 
 menu "Boot timing"
index 71c9e65782757d7c84855354b75c13d74e40115d..f452b13b05b0538adb73b2325fecbd25b18354eb 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_ARNDALE=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
 CONFIG_SOUND=y
+CONFIG_CMD_SOUND=y
index db10c191bab212703c61dd8c8b99f01f21827a42..299db4b1e7de58d6d67c481971fddb8365fe9aa2 100644 (file)
@@ -24,3 +24,4 @@ CONFIG_SANDBOX_SPI=y
 CONFIG_SPI_FLASH_SANDBOX=y
 CONFIG_TPM_TIS_SANDBOX=y
 CONFIG_SOUND=y
+CONFIG_CMD_SOUND=y
index 95f80d9fe6460e6f4f0f0c38103a8cf827769c7a..2151e89969c60fd31eb06fe99e4e188512f529fa 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_ARCH_EXYNOS=y
 CONFIG_TARGET_SMDK5250=y
 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
 CONFIG_SOUND=y
+CONFIG_CMD_SOUND=y
index 6b2c8bd363e39b9c8398c886a65b83f1a45c046f..8c1d64db11b7aa75b7d8b17896287c0d9a36f9bf 100644 (file)
@@ -8,3 +8,4 @@ CONFIG_CROS_EC_I2C=y
 CONFIG_CROS_EC_KEYB=y
 CONFIG_CMD_CROS_EC=y
 CONFIG_SOUND=y
+CONFIG_CMD_SOUND=y
index e5935b61228f1d8c211312f7b3ff0303d6934426..9f09e147a422feabab6552825243cf730dc8ce9d 100644 (file)
@@ -29,7 +29,6 @@
 #define CONFIG_SYS_INIT_SP_ADDR        CONFIG_IRAM_STACK
 
 /* Sound */
-#define CONFIG_CMD_SOUND
 #ifdef CONFIG_CMD_SOUND
 #define CONFIG_I2S_SAMSUNG
 #define CONFIG_I2S
index ec182261bdb585d4d6153333f80055b5ce3cde94..38c6cdf2ecd11a9a82af6a6ffd0d9be7b2c70ba0 100644 (file)
 #define CONFIG_BOARD_LATE_INIT
 
 #define CONFIG_SOUND_SANDBOX
-#define CONFIG_CMD_SOUND
 
 #ifndef SANDBOX_NO_SDL
 #define CONFIG_SANDBOX_SDL