mirror of
https://github.com/u-boot/u-boot.git
synced 2025-01-24 19:53:25 +08:00
armv7m: mpu_config add missing break
For DEVICE_NON_SHARED the newly assigned value of attr is overwritten due to a missing break. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
6def7de37b
commit
a5981734a4
@ -68,6 +68,7 @@ void mpu_config(struct mpu_region_config *reg_config)
|
||||
break;
|
||||
case DEVICE_NON_SHARED:
|
||||
attr = (2 << TEX_SHIFT) | BUFFERABLE;
|
||||
break;
|
||||
default:
|
||||
attr = 0; /* strongly ordered */
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user