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
@@ -315,7 +315,7 @@ static int fa526_init_arch_info(struct target *target,
|
||||
arm920t->armv4_5_mmu.disable_mmu_caches = arm920t_disable_mmu_caches;
|
||||
arm920t->armv4_5_mmu.enable_mmu_caches = arm920t_enable_mmu_caches;
|
||||
arm920t->armv4_5_mmu.has_tiny_pages = 1;
|
||||
arm920t->armv4_5_mmu.mmu_enabled = 0;
|
||||
arm920t->armv4_5_mmu.mmu_enabled = false;
|
||||
|
||||
/* disabling linefills leads to lockups, so keep them enabled for now
|
||||
* this doesn't affect correctness, but might affect timing issues, if
|
||||
|
||||
Reference in New Issue
Block a user