Skip to content

configs: socfpga: Add QSPI support for Cyclone 5 - #1042

Open
ngboonkhai wants to merge 1 commit into
u-boot:nextfrom
ngboonkhai:next_qspi_cyclone5_v2
Open

ngboonkhai wants to merge 1 commit into
u-boot:nextfrom
ngboonkhai:next_qspi_cyclone5_v2

Conversation

@ngboonkhai

Copy link
Copy Markdown
Contributor

Not intended to check in, just want to run pipeline test.


Add QSPI boot support to boot target devices list. Platform can provide their own boot settings through SOCFPGA_BOOT_SETTINGS macro if needed.

Add SOCFPGA_BOOT_SETTINGS for Cyclone 5.

Guard QSPI boot-target integration with a new Kconfig option, SOCFPGA_DISTRO_BOOT_QSPI, so that only boards which actually define qspiload/qspiboot get "qspi" appended to boot_targets. Without this, any SoCFPGA board enabling CONFIG_CMD_SF (e.g. Arria V, DE10, SoCKit) for an unrelated SPI flash use-case would also pick up bootcmd_qspi and could fail during distro autoboot

Please do not submit a Pull Request via github. Our project makes use of
mailing lists for patch submission and review. For more details please
see https://u-boot.readthedocs.io/en/latest/develop/sending_patches.html

The only exception to this is in order to trigger a CI loop on Azure prior
to posting of patches.

Add QSPI boot support to boot target devices list.
Platform can provide their own boot settings through
SOCFPGA_BOOT_SETTINGS macro if needed.

Add SOCFPGA_BOOT_SETTINGS for Cyclone 5.

Guard QSPI boot-target integration with a new Kconfig option,
SOCFPGA_DISTRO_BOOT_QSPI, so that only boards which actually define
qspiload/qspiboot get "qspi" appended to boot_targets. Without this,
any SoCFPGA board enabling CONFIG_CMD_SF (e.g. Arria V, DE10, SoCKit)
for an unrelated SPI flash use-case would also pick up bootcmd_qspi
and could fail during distro autoboot

Signed-off-by: Boon Khai Ng <boon.khai.ng@altera.com>
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.

1 participant