summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-10-07 17:25:25 -0400
committerTom Rini <trini@konsulko.com>2020-10-07 17:25:25 -0400
commit1c431f118c95662365283e3b9fce00a7bbb59b5d (patch)
tree3783e662287c0dbb6f008b888f654368865001ff /include
parent42378e3cd2432e0353cdcc1789039293e4b46252 (diff)
parent1471560b2c375c6e667acc896e99fa271100d299 (diff)
downloadu-boot-1c431f118c95662365283e3b9fce00a7bbb59b5d.tar.gz
u-boot-1c431f118c95662365283e3b9fce00a7bbb59b5d.tar.xz
u-boot-1c431f118c95662365283e3b9fce00a7bbb59b5d.zip
Merge tag 'mips-pull-2020-10-07' of https://gitlab.denx.de/u-boot/custodians/u-boot-mips
- mips: octeon: add support for DDR4 memory controller - mips: octeon: add support for DWC3 USB - mips: octeon: add support for booting Linux
Diffstat (limited to 'include')
-rw-r--r--include/configs/octeon_common.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/configs/octeon_common.h b/include/configs/octeon_common.h
index 530f02ad3c..109ef4064d 100644
--- a/include/configs/octeon_common.h
+++ b/include/configs/octeon_common.h
@@ -7,13 +7,20 @@
#ifndef __OCTEON_COMMON_H__
#define __OCTEON_COMMON_H__
-/* No DDR init yet -> run in L2 cache with limited resources */
+#if defined(CONFIG_RAM_OCTEON)
+#define CONFIG_SYS_MALLOC_LEN (16 << 20)
+#define CONFIG_SYS_INIT_SP_OFFSET 0x20100000
+#else
+/* No DDR init -> run in L2 cache with limited resources */
#define CONFIG_SYS_MALLOC_LEN (256 << 10)
+#define CONFIG_SYS_INIT_SP_OFFSET 0x00180000
+#endif
+
#define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + (1 << 20))
-#define CONFIG_SYS_INIT_SP_OFFSET 0x180000
+#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
#endif /* __OCTEON_COMMON_H__ */