]> git.sur5r.net Git - u-boot/blobdiff - include/configs/ti_am335x_common.h
cfi_flash: Remove assignments from if conditions
[u-boot] / include / configs / ti_am335x_common.h
index c0e4336eb07ff4fbe86b8e0cbc3a7ce9c1f6b86d..66cacdf3479b763f2b1c46956398f8b85e1ea881 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
  */
 #define CONFIG_SYS_BOOTCOUNT_ADDR      0x44E3E000
 
-/* Enable the HW watchdog, since we can use this with bootcount */
-#define CONFIG_HW_WATCHDOG
-#define CONFIG_OMAP_WATCHDOG
-
 /*
  * SPL related defines.  The Public RAM memory map the ROM defines the
  * area between 0x402F0400 and 0x4030B800 as a download area and
  * s_init when we have SPL used.
  */
 
-#ifdef CONFIG_NAND
-#define CONFIG_SPL_NAND_AM33XX_BCH     /* ELM support */
-#endif
-
 /* Now bring in the rest of the common code. */
 #include <configs/ti_armv7_omap.h>