mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-15 03:36:59 +02:00
board: xilinx: Remove conditional check for Microblaze
U-Boot is not picking boot.scr script address from device tree rather it's using default address for Microblaze platform, and it's picking for other platforms. Remove conditional check for Microblaze platform, so that u-boot pick up boot.scr script address for all platforms from device tree. Signed-off-by: Padmarao Begari <padmarao.begari@amd.com> Link: https://lore.kernel.org/r/20240913093231.2343528-1-padmarao.begari@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
bde2e728ce
commit
067e029480
@ -425,8 +425,6 @@ int board_late_init_xilinx(void)
|
||||
struct xilinx_board_description *desc;
|
||||
phys_size_t bootm_size = gd->ram_top - gd->ram_base;
|
||||
u64 bootscr_flash_offset, bootscr_flash_size;
|
||||
|
||||
if (!IS_ENABLED(CONFIG_MICROBLAZE)) {
|
||||
ulong scriptaddr;
|
||||
u64 bootscr_address;
|
||||
u64 bootscr_offset;
|
||||
@ -447,7 +445,6 @@ int board_late_init_xilinx(void)
|
||||
ret |= env_set_hex("scriptaddr",
|
||||
gd->ram_base + scriptaddr);
|
||||
}
|
||||
}
|
||||
|
||||
if (!ofnode_read_bootscript_flash(&bootscr_flash_offset,
|
||||
&bootscr_flash_size)) {
|
||||
|
Loading…
Reference in New Issue
Block a user