Эх сурвалжийг харах

DaVinci sffsdr: Add ARM Relocation Support

Add ARM Relocation Support

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Sandeep Paulraj 14 жил өмнө
parent
commit
ebc3c6cfe6

+ 9 - 0
include/configs/davinci_sffsdr.h

@@ -143,4 +143,13 @@
 #undef CONFIG_CMD_SETGETDCR
 #undef CONFIG_CMD_FLASH
 #undef CONFIG_CMD_IMLS
+
+#define CONFIG_MAX_RAM_BANK_SIZE	(256 << 20)	/* 256 MB */
+
+#define CONFIG_SYS_SDRAM_BASE		PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_RAM_SIZE	0x1000
+#define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + \
+					 CONFIG_SYS_INIT_RAM_SIZE - \
+					 GENERATED_GBL_DATA_SIZE)
+
 #endif /* __CONFIG_H */