am335x_evm: Switch to using imply keyword
authorTom Rini <trini@konsulko.com>
Fri, 3 Mar 2017 20:33:30 +0000 (15:33 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 10 Mar 2017 00:52:15 +0000 (19:52 -0500)
These particular SPL options are part of what the ROM provides, but for
compatibility with how we have previously used them, move them to being
implied by the board being selected.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/am33xx/Kconfig
board/ti/am335x/Kconfig

index 5b5d3f8..5adcead 100644 (file)
@@ -15,6 +15,9 @@ config TARGET_AM335X_EVM
        select DM_SERIAL
        select DM_GPIO
        select TI_I2C_BOARD_DETECT
+       imply SPL_YMODEM_SUPPORT
+       imply SPL_ENV_SUPPORT
+       imply SPL_WATCHDOG_SUPPORT
        help
          This option specifies support for the AM335x
          GP and HS EVM development platforms. The AM335x
index a84e91b..97374bd 100644 (file)
@@ -1,14 +1,5 @@
 if TARGET_AM335X_EVM
 
-config SPL_ENV_SUPPORT
-       default y
-
-config SPL_WATCHDOG_SUPPORT
-       default y
-
-config SPL_YMODEM_SUPPORT
-       default y
-
 config SYS_BOARD
        default "am335x"