[U-Boot] [PATCHv2 03/20] arm: socfpga: spl: put SPL in sram

dinguyen at opensource.altera.com dinguyen at opensource.altera.com
Mon Mar 2 17:27:51 CET 2015


From: Dinh Nguyen <dinguyen at opensource.altera.com>

Update SPL linker file to use SRAM.

Signed-off-by: Dinh Nguyen <dinguyen at opensource.altera.com>
Acked-by: Pavel Machek <pavel at denx.de>
---
 arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
index a868a36..730d154 100644
--- a/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
+++ b/arch/arm/cpu/armv7/socfpga/u-boot-spl.lds
@@ -21,13 +21,13 @@ SECTIONS
 		*(.vectors)
 		arch/arm/cpu/armv7/start.o	(.text*)
 		*(.text*)
-	} >.sdram
+	} >.sram
 
 	. = ALIGN(4);
-	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sdram
+	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) } >.sram
 
 	. = ALIGN(4);
-	.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sdram
+	.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
 
 	. = ALIGN(4);
 	__image_copy_end = .;
@@ -43,5 +43,5 @@ SECTIONS
 		*(.bss*)
 		. = ALIGN(4);
 		__bss_end = .;
-	} >.sdram
+	} >.sram
 }
-- 
2.2.1



More information about the U-Boot mailing list