Commit de79a7654be3805477d63b5e1377aa1ad4cf6a4d

Authored by Simon Glass
1 parent ef35d98aa4

sandbox: exynos: Move CONFIG_CMD_SOUND to Kconfig

Move this over to Kconfig and tidy up.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 7 changed files with 14 additions and 2 deletions Side-by-side Diff

... ... @@ -339,6 +339,16 @@
339 339 getidcr - Get a register value via indirect DCR addressing
340 340 setidcr - Set a register value via indirect DCR addressing
341 341  
  342 +config CMD_SOUND
  343 + bool "sound"
  344 + depends on SOUND
  345 + help
  346 + This provides basic access to the U-Boot's sound support. The main
  347 + feature is to play a beep.
  348 +
  349 + sound init - set up sound system
  350 + sound play - play a sound
  351 +
342 352 endmenu
343 353  
344 354 menu "Boot timing"
configs/arndale_defconfig
... ... @@ -4,4 +4,5 @@
4 4 CONFIG_TARGET_ARNDALE=y
5 5 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale"
6 6 CONFIG_SOUND=y
  7 +CONFIG_CMD_SOUND=y
configs/sandbox_defconfig
... ... @@ -24,4 +24,5 @@
24 24 CONFIG_SPI_FLASH_SANDBOX=y
25 25 CONFIG_TPM_TIS_SANDBOX=y
26 26 CONFIG_SOUND=y
  27 +CONFIG_CMD_SOUND=y
configs/smdk5250_defconfig
... ... @@ -4,4 +4,5 @@
4 4 CONFIG_TARGET_SMDK5250=y
5 5 CONFIG_DEFAULT_DEVICE_TREE="exynos5250-smdk5250"
6 6 CONFIG_SOUND=y
  7 +CONFIG_CMD_SOUND=y
configs/snow_defconfig
... ... @@ -8,4 +8,5 @@
8 8 CONFIG_CROS_EC_KEYB=y
9 9 CONFIG_CMD_CROS_EC=y
10 10 CONFIG_SOUND=y
  11 +CONFIG_CMD_SOUND=y
include/configs/exynos5250-common.h
... ... @@ -29,7 +29,6 @@
29 29 #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
30 30  
31 31 /* Sound */
32   -#define CONFIG_CMD_SOUND
33 32 #ifdef CONFIG_CMD_SOUND
34 33 #define CONFIG_I2S_SAMSUNG
35 34 #define CONFIG_I2S
include/configs/sandbox.h
... ... @@ -152,7 +152,6 @@
152 152 #define CONFIG_BOARD_LATE_INIT
153 153  
154 154 #define CONFIG_SOUND_SANDBOX
155   -#define CONFIG_CMD_SOUND
156 155  
157 156 #ifndef SANDBOX_NO_SDL
158 157 #define CONFIG_SANDBOX_SDL