Skip to content

lopper:assist:baremetal_validate_comp_xlnx: Fix srec_spi_bootloader b…#762

Merged
zeddii merged 1 commit into
devicetree-org:masterfrom
sathishkumar-amd:srec_spi
May 20, 2026
Merged

lopper:assist:baremetal_validate_comp_xlnx: Fix srec_spi_bootloader b…#762
zeddii merged 1 commit into
devicetree-org:masterfrom
sathishkumar-amd:srec_spi

Conversation

@sathishkumar-amd
Copy link
Copy Markdown
Contributor

…uild failure on Spartan US+ OSPI-enabled design

The baremetal_validate_comp_xlnx assist previously issued a hard validation error when the xilsfl dependency (introduced via srec_spi_bootloader) could not be resolved on MicroBlaze and MicroBlaze RISC-V targets that are not Spartan UltraScale+, even though xilsfl is intentionally unsupported on these platforms, resulting in unnecessary build failures this change introduces an optional fourth argument (parent_app) to enable application-aware validation without impacting existing call sites, enhances platform detection by extracting family and variant from the SDT root node, and updates the validation logic to suppress the xilsfl error and emit a warning only when the parent application is srec_spi_bootloader running on non-Spartan UltraScale+ MicroBlaze or MicroBlaze RISC-V targets, while preserving the existing error behavior for all other platforms and application

…uild failure on Spartan US+ OSPI-enabled design

The baremetal_validate_comp_xlnx assist previously issued a hard validation error when the xilsfl dependency (introduced via srec_spi_bootloader)
could not be resolved on MicroBlaze and MicroBlaze RISC-V targets that are not Spartan UltraScale+, even though xilsfl is intentionally
unsupported on these platforms, resulting in unnecessary build failures
this change introduces an optional fourth argument (parent_app) to enable application-aware validation without impacting existing call sites,
enhances platform detection by extracting family and variant from the SDT root node, and updates the validation logic to suppress the xilsfl error
and emit a warning only when the parent application is srec_spi_bootloader running on non-Spartan UltraScale+ MicroBlaze or MicroBlaze RISC-V targets,
while preserving the existing error behavior for all other platforms and application

Signed-off-by: Sathish Kumar Kamishettigari <sathishkumar.kamishettigari@amd.com>
@sathishkumar-amd
Copy link
Copy Markdown
Contributor Author

Hi @onkarharsh,

Please review this

@onkarharsh
Copy link
Copy Markdown
Contributor

Looks good to me

@zeddii zeddii merged commit 55a3cfe into devicetree-org:master May 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants