mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
spi: cadence_qspi: Add missing prototype for cadence_qspi_flash_reset
Add missing prototype to fix the sparse warning,
warning: no previous prototype for 'cadence_qspi_flash_reset'
[-Wmissing-prototypes].
Fixes: 6d234a79e9
("cadence_qspi: Refactor the flash reset functionality")
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20250122135334.1201562-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
1621851495
commit
e5c9c4dd06
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ int cadence_qspi_apb_dma_read(struct cadence_spi_priv *priv,
|
|||
const struct spi_mem_op *op);
|
||||
int cadence_qspi_apb_wait_for_dma_cmplt(struct cadence_spi_priv *priv);
|
||||
int cadence_qspi_apb_exec_flash_cmd(void *reg_base, unsigned int reg);
|
||||
int cadence_qspi_versal_flash_reset(struct udevice *dev);
|
||||
int cadence_qspi_flash_reset(struct udevice *dev);
|
||||
ofnode cadence_qspi_get_subnode(struct udevice *dev);
|
||||
void cadence_qspi_apb_enable_linear_mode(bool enable);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue