flash/nor/cfi: Use 'bool' data type

Change-Id: I25198223175c26aded9ad667b802da09883e94ee
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/5738
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2020-07-01 10:23:44 +02:00
committed by Antonio Borneo
parent 46238fabb9
commit f23525e5dd
3 changed files with 17 additions and 17 deletions

View File

@@ -23,13 +23,13 @@
#define CFI_STATUS_POLL_MASK_DQ6_DQ7 0xC0 /* DQ6..DQ7 */
struct cfi_flash_bank {
int x16_as_x8;
int jedec_probe;
int not_cfi;
int probed;
bool x16_as_x8;
bool jedec_probe;
bool not_cfi;
bool probed;
enum target_endianness endianness;
int data_swap;
bool data_swap;
uint16_t manufacturer;
uint16_t device_id;