forked from auracaster/openocd
target: Use 'bool' data type for 'mmu_enabled'
The variables are already used in some parts of the code as boolean value but have the wrong data type. Change-Id: I2c4955a6ed463fabf63a1dbd79145cb63bc7a99c Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8988 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
caf7ffc7eb
commit
a66e6fb43f
@@ -81,7 +81,7 @@ struct armv7a_mmu_common {
|
||||
int (*read_physical_memory)(struct target *target, target_addr_t address, uint32_t size,
|
||||
uint32_t count, uint8_t *buffer);
|
||||
struct armv7a_cache_common armv7a_cache;
|
||||
uint32_t mmu_enabled;
|
||||
bool mmu_enabled;
|
||||
};
|
||||
|
||||
struct armv7a_common {
|
||||
|
||||
Reference in New Issue
Block a user