Skip to contentSkip to conversation

compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h

PATCH In review Ying-Chun Liu (PaulLiu) 4 participants 5 messages Mar 13, 2023 – Mar 30, 2023 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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.

Cc Tom Rini <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
---
 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
index f7d4fdc101..508b4a565c 100644
@@ -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
Reviewed-by on v1 1/1
#2 lore raw
Quoted 8 lines · Ying-Chun Liu (PaulLiu)

We have a few places here that the function declarations do not match their prototypes, correct them.

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
reviewer Reviewed-by on v1 1/1
#3 lore raw
In reply to Ying-Chun Liu (PaulLiu)
Quoted 9 lines · Ying-Chun Liu (PaulLiu)

We have a few places here that the function declarations do not match their prototypes, correct them.

Cc Tom Rini <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP i.MX U-Boot Team <[email protected]>
#4 lore raw

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.

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]
=====================================================================