flash: convert 'unsigned' to 'unsigned int'

Change-Id: I8e8da78385eed714524891b580e19a79cfb459d3
Signed-off-by: Mark Zhuang <mark.zhuang@spacemit.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8370
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Mark Zhuang 2024-10-26 11:09:16 +08:00 committed by Antonio Borneo
parent 114ad468ca
commit b95633b30c
2 changed files with 9 additions and 9 deletions

View File

@ -86,10 +86,10 @@ enum mx_nf_finalize_action {
}; };
struct mx3_nf_flags { struct mx3_nf_flags {
unsigned target_little_endian:1; unsigned int target_little_endian:1;
unsigned nand_readonly:1; unsigned int nand_readonly:1;
unsigned one_kb_sram:1; unsigned int one_kb_sram:1;
unsigned hw_ecc_enabled:1; unsigned int hw_ecc_enabled:1;
}; };
struct mx3_nf_controller { struct mx3_nf_controller {

View File

@ -138,11 +138,11 @@ enum mxc_nf_finalize_action {
}; };
struct mxc_nf_flags { struct mxc_nf_flags {
unsigned target_little_endian:1; unsigned int target_little_endian:1;
unsigned nand_readonly:1; unsigned int nand_readonly:1;
unsigned one_kb_sram:1; unsigned int one_kb_sram:1;
unsigned hw_ecc_enabled:1; unsigned int hw_ecc_enabled:1;
unsigned biswap_enabled:1; unsigned int biswap_enabled:1;
}; };
struct mxc_nf_controller { struct mxc_nf_controller {