mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
sandbox: exynos: Move CONFIG_SOUND to Kconfig
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
527a07277b
commit
ef35d98aa4
7 changed files with 15 additions and 2 deletions
|
@ -3,3 +3,4 @@ CONFIG_ARM=y
|
||||||
CONFIG_ARCH_EXYNOS=y
|
CONFIG_ARCH_EXYNOS=y
|
||||||
CONFIG_TARGET_ARNDALE=y
|
CONFIG_TARGET_ARNDALE=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
|
CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
|
||||||
|
CONFIG_SOUND=y
|
||||||
|
|
|
@ -23,3 +23,4 @@ CONFIG_SYS_I2C_SANDBOX=y
|
||||||
CONFIG_SANDBOX_SPI=y
|
CONFIG_SANDBOX_SPI=y
|
||||||
CONFIG_SPI_FLASH_SANDBOX=y
|
CONFIG_SPI_FLASH_SANDBOX=y
|
||||||
CONFIG_TPM_TIS_SANDBOX=y
|
CONFIG_TPM_TIS_SANDBOX=y
|
||||||
|
CONFIG_SOUND=y
|
||||||
|
|
|
@ -3,3 +3,4 @@ CONFIG_ARM=y
|
||||||
CONFIG_ARCH_EXYNOS=y
|
CONFIG_ARCH_EXYNOS=y
|
||||||
CONFIG_TARGET_SMDK5250=y
|
CONFIG_TARGET_SMDK5250=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
|
CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
|
||||||
|
CONFIG_SOUND=y
|
||||||
|
|
|
@ -7,3 +7,4 @@ CONFIG_CROS_EC=y
|
||||||
CONFIG_CROS_EC_I2C=y
|
CONFIG_CROS_EC_I2C=y
|
||||||
CONFIG_CROS_EC_KEYB=y
|
CONFIG_CROS_EC_KEYB=y
|
||||||
CONFIG_CMD_CROS_EC=y
|
CONFIG_CMD_CROS_EC=y
|
||||||
|
CONFIG_SOUND=y
|
||||||
|
|
|
@ -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.
|
|
@ -31,7 +31,6 @@
|
||||||
/* Sound */
|
/* Sound */
|
||||||
#define CONFIG_CMD_SOUND
|
#define CONFIG_CMD_SOUND
|
||||||
#ifdef CONFIG_CMD_SOUND
|
#ifdef CONFIG_CMD_SOUND
|
||||||
#define CONFIG_SOUND
|
|
||||||
#define CONFIG_I2S_SAMSUNG
|
#define CONFIG_I2S_SAMSUNG
|
||||||
#define CONFIG_I2S
|
#define CONFIG_I2S
|
||||||
#define CONFIG_SOUND_MAX98095
|
#define CONFIG_SOUND_MAX98095
|
||||||
|
|
|
@ -151,7 +151,6 @@
|
||||||
|
|
||||||
#define CONFIG_BOARD_LATE_INIT
|
#define CONFIG_BOARD_LATE_INIT
|
||||||
|
|
||||||
#define CONFIG_SOUND
|
|
||||||
#define CONFIG_SOUND_SANDBOX
|
#define CONFIG_SOUND_SANDBOX
|
||||||
#define CONFIG_CMD_SOUND
|
#define CONFIG_CMD_SOUND
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue