Merge tag 'u-boot-at91-2022.07-a' of https://source.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / include / configs / octeon_common.h
index 530f02a..2e4bfd0 100644 (file)
@@ -7,13 +7,15 @@
 #ifndef __OCTEON_COMMON_H__
 #define __OCTEON_COMMON_H__
 
-/* No DDR init yet -> run in L2 cache with limited resources */
-#define CONFIG_SYS_MALLOC_LEN          (256 << 10)
-#define CONFIG_SYS_SDRAM_BASE          0xffffffff80000000
-#define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
+#if defined(CONFIG_RAM_OCTEON)
+#define CONFIG_SYS_INIT_SP_OFFSET      0x20100000
+#else
+/* No DDR init -> run in L2 cache with limited resources */
+#define CONFIG_SYS_INIT_SP_OFFSET      0x00180000
+#endif
 
-#define CONFIG_SYS_LOAD_ADDR           (CONFIG_SYS_SDRAM_BASE + (1 << 20))
+#define CONFIG_SYS_SDRAM_BASE          0xffffffff80000000
 
-#define CONFIG_SYS_INIT_SP_OFFSET      0x180000
+#define CONFIG_SYS_BOOTM_LEN           (64 << 20)      /* 64M */
 
 #endif /* __OCTEON_COMMON_H__ */