This is an automated email from Gerrit.

"Mark Zhuang <mark.zhu...@spacemit.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8370

-- gerrit

commit b8ee912a952b016830c6e1c6fe7ea44ff5f61122
Author: Mark Zhuang <mark.zhu...@spacemit.com>
Date:   Sat Oct 26 11:09:16 2024 +0800

    flash: convert 'unsigned' to 'unsigned int'
    
    Change-Id: I8e8da78385eed714524891b580e19a79cfb459d3
    Signed-off-by: Mark Zhuang <mark.zhu...@spacemit.com>

diff --git a/src/flash/nand/mx3.h b/src/flash/nand/mx3.h
index b272962b4c..648cd86ccc 100644
--- a/src/flash/nand/mx3.h
+++ b/src/flash/nand/mx3.h
@@ -86,10 +86,10 @@ enum mx_nf_finalize_action {
 };
 
 struct mx3_nf_flags {
-       unsigned target_little_endian:1;
-       unsigned nand_readonly:1;
-       unsigned one_kb_sram:1;
-       unsigned hw_ecc_enabled:1;
+       unsigned int target_little_endian:1;
+       unsigned int nand_readonly:1;
+       unsigned int one_kb_sram:1;
+       unsigned int hw_ecc_enabled:1;
 };
 
 struct mx3_nf_controller {
diff --git a/src/flash/nand/mxc.h b/src/flash/nand/mxc.h
index ae2c03a758..e9dc0a2f3d 100644
--- a/src/flash/nand/mxc.h
+++ b/src/flash/nand/mxc.h
@@ -138,11 +138,11 @@ enum mxc_nf_finalize_action {
 };
 
 struct mxc_nf_flags {
-       unsigned target_little_endian:1;
-       unsigned nand_readonly:1;
-       unsigned one_kb_sram:1;
-       unsigned hw_ecc_enabled:1;
-       unsigned biswap_enabled:1;
+       unsigned int target_little_endian:1;
+       unsigned int nand_readonly:1;
+       unsigned int one_kb_sram:1;
+       unsigned int hw_ecc_enabled:1;
+       unsigned int biswap_enabled:1;
 };
 
 struct mxc_nf_controller {

-- 

Reply via email to