[U-Boot,1/2] openrisc: specify a memory region for u_boot_lists

Submitted by Stefan Kristiansson on May 1, 2013, 7:32 p.m.

Details

Message ID 1367436766-32382-2-git-send-email-stefan.kristiansson@saunalahti.fi
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Stefan Kristiansson May 1, 2013, 7:32 p.m.
Since there are two memory areas defined, vectors and ram,
the linker will error when neither of them are specified for a
section.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
---
 board/openrisc/openrisc-generic/u-boot.lds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/board/openrisc/openrisc-generic/u-boot.lds b/board/openrisc/openrisc-generic/u-boot.lds
index 9024f30..d9bb7b7 100644
--- a/board/openrisc/openrisc-generic/u-boot.lds
+++ b/board/openrisc/openrisc-generic/u-boot.lds
@@ -30,7 +30,7 @@  SECTIONS
 	 . = ALIGN(4);
 	 .u_boot_list : {
 		KEEP(*(SORT(.u_boot_list*)));
-	 }
+	 } > ram
 
 	.rodata : {
 		*(.rodata);