compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h
cover compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h
We have a few places here that the function declarations do not match their prototypes, correct them.
This bug was found by Tom.
https://lists.denx.de/pipermail/u-boot/2023-March/511786.html
And we fixes this bug by modifying ddr.h instead.
Ying-Chun Liu (PaulLiu) (1):
compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/1 compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h
We have a few places here that the function declarations do not match their prototypes, correct them.
--- board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h +2 -2
@@ -25,7 +25,7 @@ struct lpddr4_tcm_desc {u32 cl_eeprom_get_ddrinfo (void );u32 cl_eeprom_set_ddrinfo (u32 ddrinfo); -u32 cl_eeprom_get_subind (void ); -u32 cl_eeprom_set_subind (u32 subind); +u8 cl_eeprom_get_subind (void ); +u8 cl_eeprom_set_subind (u8 subind);u32 cl_eeprom_get_osize (void );#endif
Signature · 1 line
2.39.2
Quoted 8 lines · Ying-Chun Liu (PaulLiu)
We have a few places here that the function declarations do not match their prototypes, correct them.
Signed-off-by Ying-Chun Liu (PaulLiu) <[email protected]>Cc Tom Rini <[email protected]>Cc Stefano Babic <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP i.MX U-Boot Team <[email protected]>
Thanks for fixing this.
Signature · 1 line
Tom
Quoted 9 lines · Ying-Chun Liu (PaulLiu)
We have a few places here that the function declarations do not match their prototypes, correct them.
Signed-off-by Ying-Chun Liu (PaulLiu) <[email protected]>Cc Tom Rini <[email protected]>Cc Stefano Babic <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP i.MX U-Boot Team <[email protected]>
PATCH 1/1 compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h
In reply to Ying-Chun Liu (PaulLiu)Quoted 10 lines
We have a few places here that the function declarations do not match their prototypes, correct them.
Signed-off-by Ying-Chun Liu (PaulLiu) <[email protected]>Cc Tom Rini <[email protected]>Cc Stefano Babic <[email protected]>Cc Fabio Estevam <[email protected]>Cc NXP i.MX U-Boot Team <[email protected]>Reviewed-by Tom Rini <[email protected]>Reported-by Tom Rini <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot-imx, next, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================