]> git.sur5r.net Git - u-boot/commitdiff
configs: am335x_evm: Enable SPL_DM
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 26 Apr 2017 08:07:09 +0000 (13:37 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 02:21:29 +0000 (22:21 -0400)
Enable SPL_DM on all AM335x based TI platforms.

http://patchwork.ozlabs.org/patch/751300/
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/am33xx/Kconfig
include/configs/am335x_evm.h
include/configs/ti_am335x_common.h

index db3c70fe21d44252709e0202e4e47df097993ada..5c4168fefc08cfcd8cfa9591346187010c211dc7 100644 (file)
@@ -29,6 +29,11 @@ config TARGET_AM335X_EVM
        imply SPL_SERIAL_SUPPORT
        imply SPL_WATCHDOG_SUPPORT
        imply SPL_YMODEM_SUPPORT
+       imply SPL_SYS_MALLOC_SIMPLE
+       imply SPL_SEPARATE_BSS
+       imply SPL_DM
+       imply SPL_DM_SEQ_ALIAS
+       imply SPL_OF_LIBFDT
        help
          This option specifies support for the AM335x
          GP and HS EVM development platforms. The AM335x
index 796d5c32e946bc53a314c84356350939bbcbdec8..51c3d493c8638c5c51f7b466843d40172708d2e2 100644 (file)
  * DM support in SPL
  */
 #ifdef CONFIG_SPL_BUILD
-#undef CONFIG_DM_MMC
 #undef CONFIG_TIMER
 #undef CONFIG_DM_USB
 #endif
index c0e4336eb07ff4fbe86b8e0cbc3a7ce9c1f6b86d..e4c3c807f21d13180261ec3f5114f8c8cb2c654b 100644 (file)
 /* NS16550 Configuration */
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_NS16550_SERIAL
+#ifndef CONFIG_DM_SERIAL
 #define CONFIG_SYS_NS16550_REG_SIZE    (-4)
 #endif
+#endif
 #define CONFIG_SYS_NS16550_CLK         48000000
 
 #ifndef CONFIG_SPL_BUILD