]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: common: fix script address for Microblaze
authorPadmarao Begari <padmarao.begari@amd.com>
Tue, 1 Oct 2024 08:25:37 +0000 (13:55 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 25 Oct 2024 12:10:31 +0000 (14:10 +0200)
commit5550a152baf612ed8acecc11074f72c40b7c02c1
tree894801a0f8780e67f7c3fa894296c2405f1a7ceb
parentf346dd67d047ad19f076d901dcc5295a2eb0cdde
xilinx: common: fix script address for Microblaze

Fix the issue introduced by commit 067e0294806e
("board: xilinx: Remove conditional check for Microblaze").
The scriptaddr should be physical location not really offset
from start of DDR. When U-Boot is not found boot.scr script
address in device tree, then it is assigned  based on script
address  and ram base address for Microblaze and i.e exceeding
DDR memory. To fix this, the script address is assigned
initially with offset instead of address. Later it is added
with ram base address and gets the physical address.

Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
Link: https://lore.kernel.org/r/20241001082537.830286-1-padmarao.begari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/microblaze-generic/microblaze-generic.c