소스 검색

ARM: at91: lds: use "_image_binary_end" for DT location

The MMC SPL locates the BSS section to a different memory region
from text, then use "_image_binary_end" variable to point to the
correct device tree location.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Wenyou Yang 8 년 전
부모
커밋
7abd5aabfa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      arch/arm/mach-at91/armv7/u-boot-spl.lds

+ 2 - 0
arch/arm/mach-at91/armv7/u-boot-spl.lds

@@ -47,6 +47,8 @@ SECTIONS
 		*(.__end)
 	} >.sram
 
+	_image_binary_end = .;
+
 	.bss :
 	{
 		. = ALIGN(4);