1*91f16700Schasinglulu/* 2*91f16700Schasinglulu * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. 3*91f16700Schasinglulu * 4*91f16700Schasinglulu * SPDX-License-Identifier: BSD-3-Clause 5*91f16700Schasinglulu * 6*91f16700Schasinglulu * Stub linker script to provide the armstub8.bin header before the actual 7*91f16700Schasinglulu * code. If the GPU firmware finds a magic value at offset 240 in 8*91f16700Schasinglulu * armstub8.bin, it will put the DTB and kernel load address in subsequent 9*91f16700Schasinglulu * words. We can then read those values to find the proper NS entry point 10*91f16700Schasinglulu * and find our DTB more flexibly. 11*91f16700Schasinglulu */ 12*91f16700Schasinglulu 13*91f16700SchasingluluMEMORY { 14*91f16700Schasinglulu PRERAM (rwx): ORIGIN = 0, LENGTH = 4096 15*91f16700Schasinglulu} 16*91f16700Schasinglulu 17*91f16700SchasingluluSECTIONS 18*91f16700Schasinglulu{ 19*91f16700Schasinglulu .armstub8 . : { 20*91f16700Schasinglulu *armstub8_header.o(.text*) 21*91f16700Schasinglulu KEEP(*(.armstub8)) 22*91f16700Schasinglulu } >PRERAM 23*91f16700Schasinglulu} 24