am335x: configs: Use ISW_ENTRY_ADDR to set SPL_TEXT_BASE
[oweals/u-boot.git] / include / configs / ti_am335x_common.h
index d841b3f7b622b42545385d1be0de50556fd6faa5..809d015cf93f8b03575d95eab2967c8fd7aa9f2a 100644 (file)
@@ -56,7 +56,7 @@
  * supports X-MODEM loading via UART, and we leverage this and then use
  * Y-MODEM to load u-boot.img, when booted over UART.
  */
-#define CONFIG_SPL_TEXT_BASE           0x402F0400
+#define CONFIG_SPL_TEXT_BASE           CONFIG_ISW_ENTRY_ADDR
 #define CONFIG_SYS_SPL_ARGS_ADDR       (CONFIG_SYS_SDRAM_BASE + \
                                         (128 << 20))