]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sandbox: exynos: Move CONFIG_SOUND_SANDBOX to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 6 Mar 2015 20:19:14 +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/sandbox_defconfig
drivers/sound/Kconfig
include/configs/sandbox.h

index de039a965f726b73c8a5fe9f69ede583535fdfe5..5ad7df3ab5d03074c92faa8c20c95c9f249a556a 100644 (file)
@@ -27,3 +27,4 @@ CONFIG_SPI_FLASH_SANDBOX=y
 CONFIG_TPM_TIS_SANDBOX=y
 CONFIG_SOUND=y
 CONFIG_CMD_SOUND=y
+CONFIG_SOUND_SANDBOX=y
index a1c950bf867e981b450c371d0d7b7cfdf8c724f9..3b96e844806067066dad94cc5bcbc024a62e7067 100644 (file)
@@ -37,6 +37,15 @@ config SOUND_MAX98095
          audio data and I2C for codec control. At present it only works
          with the Samsung I2S driver.
 
+config SOUND_SANDBOX
+       bool "Support sandbox emulated audio codec"
+       depends on SANDBOX && SOUND
+       help
+         U-Boot sandbox can emulate a sound device using SDL, playing the
+         sound on the host machine. This option implements the sound_init()
+         and sound_play() functions for sandbox. Note that you must install
+         the SDL libraries for this to work.
+
 config SOUND_WM8994
        bool "Support Wolfson Micro wm8994 audio codec"
        depends on I2S_SAMSUNG
index 38c6cdf2ecd11a9a82af6a6ffd0d9be7b2c70ba0..0a3671990c55392b396c3a15d647e7040c4ef488 100644 (file)
 
 #define CONFIG_BOARD_LATE_INIT
 
-#define CONFIG_SOUND_SANDBOX
-
 #ifndef SANDBOX_NO_SDL
 #define CONFIG_SANDBOX_SDL
 #endif