
Hi,
-----Original Message----- From: Marek Vasut marex@denx.de Sent: Wednesday, September 25, 2024 2:36 AM To: Chee, Tien Fong tien.fong.chee@intel.com; u-boot@lists.denx.de Cc: Simon Goldschmidt simon.k.r.goldschmidt@gmail.com; Meng, Tingting tingting.meng@intel.com; Yuslaimi, Alif Zakuan alif.zakuan.yuslaimi@intel.com; Hea, Kok Kiang kok.kiang.hea@intel.com Subject: Re: [PATCH v1 03/20] linker: Add SPL linker script for SoC64 devices
On 9/24/24 7:48 AM, Chee, Tien Fong wrote:
Hi,
Add a new .data section for preserving the original state of the .data section of SoC64 SPL. This new .data section is required to make SPL reentrant after warm reset.
Where is the linker script copied from ? What is the original file name and path ?
I think the script is copied from arch/arm/cpu/armv8/u-boot-spl.lds .
Can arch/arm/cpu/armv8/u-boot-spl.lds be extended somehow instead , or are there too many differences ?
We think can use arch/arm/cpu/armv8/u-boot-spl.lds, because we just noticed the CONFIG_SPL_RECOVER_DATA_SECTION was added into lds and this should be the same design with current patch.
Thanks.
Best regards, Tien Fong