[PATCH 10/10] ARM: socfpga: update function call to modern API

Lothar Rubusch l.rubusch at gmail.com
Sun Oct 13 16:32:32 CEST 2024


From: Lothar Rubusch <lothar.rubusch at enclustra.com>

Remove arguments in the function call. The call's argument list differs
from its definition, which breaks compilation. The removed arguments are
obtained from device-tree declaration.

Signed-off-by: Lothar Rubusch <lothar.rubusch at enclustra.com>
Signed-off-by: Lothar Rubusch <l.rubusch at gmail.com>
---
 arch/arm/mach-socfpga/misc_arria10.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-socfpga/misc_arria10.c b/arch/arm/mach-socfpga/misc_arria10.c
index c442af0288..1e20f77773 100644
--- a/arch/arm/mach-socfpga/misc_arria10.c
+++ b/arch/arm/mach-socfpga/misc_arria10.c
@@ -214,8 +214,6 @@ int qspi_flash_software_reset(void)
 	/* Get the flash info */
 	ret = spi_flash_probe_bus_cs(CONFIG_SF_DEFAULT_BUS,
 				     CONFIG_SF_DEFAULT_CS,
-				     CONFIG_SF_DEFAULT_SPEED,
-				     CONFIG_SF_DEFAULT_MODE,
 				     &flash);
 
 	if (ret) {
-- 
2.25.1



More information about the U-Boot mailing list