configs: versal: update initial stack pointer
authorPadmarao Begari <padmarao.begari@amd.com>
Mon, 3 Feb 2025 09:04:09 +0000 (14:34 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 5 Feb 2025 15:22:55 +0000 (16:22 +0100)
commit685874939a5e5cc42f22f3a9c8b37a56ee37a3f3
treed2df879de83ac3d6a1c6765f3289cb7604729d4b
parenta33b4b96b3cf8b9a048f33118a98964b9f757ae0
configs: versal: update initial stack pointer

The mini u-boot is hanging because of an initial stack
pointer address is used at half of the memory, when mini
u-boot is called reloc_fdt() function and doing memcpy()
for the fdt before relocation, and there is no sufficient
memory for the stack pointer. To fix, set an initial stack
pointer address to near the top of memory. The new stack
pointer address is assigned before calling the relocate
of u-boot based on the stack relocate calculation and
this new stack pointer is used while executing u-boot
from the relocated memory.

Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
Link: https://lore.kernel.org/r/20250203090409.844403-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
configs/xilinx_versal_mini_ospi_defconfig