public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Fix sparse warnings in zynq platform
@ 2023-06-14  9:03 Ashok Reddy Soma
  2023-06-14  9:03 ` [PATCH v2 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op Ashok Reddy Soma
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ashok Reddy Soma @ 2023-06-14  9:03 UTC (permalink / raw)
  To: u-boot; +Cc: michal.simek, dario.binacchi, michael, jagan, git,
	Ashok Reddy Soma

Fix below sparse warnings
 - Add missing prototype for zynqmp_mmio_write
 - Add missing prototype for zynq_qspi_mem_exec_op
 - Change datatype of status and ecc_status from u32 to int
 - Pass the missing argument type in function definition
 - Add the missing function prototypes
 - Add missing prototype for xilinx_qspi_mem_exec_op


Changes in v2:
 - Move prototype declaration from sys_proto.h to include/zynqmp_firmware.h
 - Added argument void in below files to fix warning
    board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c
    board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c
    board/xilinx/zynq/zynq-zed/ps7_init_gpl.c

Algapally Santosh Sagar (6):
  spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op
  xilinx: zynq: Add missing prototype for zynqmp_mmio_write
  spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op
  mtd: nand: zynq_nand: Change datatype of status and ecc_status to int
  arm: zynq: Pass the missing argument type in function definition
  xilinx: zynq: Add the missing function prototypes

 board/xilinx/zynq/board.c                      | 2 ++
 board/xilinx/zynq/zynq-microzed/ps7_init_gpl.c | 4 ++--
 board/xilinx/zynq/zynq-zc702/ps7_init_gpl.c    | 4 ++--
 board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c    | 4 ++--
 board/xilinx/zynq/zynq-zed/ps7_init_gpl.c      | 4 ++--
 drivers/mtd/nand/raw/zynq_nand.c               | 4 ++--
 drivers/spi/xilinx_spi.c                       | 4 ++--
 drivers/spi/zynq_qspi.c                        | 4 ++--
 include/zynqmp_firmware.h                      | 1 +
 9 files changed, 17 insertions(+), 14 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-23 12:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14  9:03 [PATCH v2 0/6] Fix sparse warnings in zynq platform Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 2/6] xilinx: zynq: Add missing prototype for zynqmp_mmio_write Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 3/6] spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 4/6] mtd: nand: zynq_nand: Change datatype of status and ecc_status to int Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 5/6] arm: zynq: Pass the missing argument type in function definition Ashok Reddy Soma
2023-06-14  9:03 ` [PATCH v2 6/6] xilinx: zynq: Add the missing function prototypes Ashok Reddy Soma
2023-06-23 12:47 ` [PATCH v2 0/6] Fix sparse warnings in zynq platform Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox