Skip to content
Snippets Groups Projects
Commit a5981734 authored by xypron.glpk@gmx.de's avatar xypron.glpk@gmx.de Committed by Tom Rini
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 6def7de3
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ void mpu_config(struct mpu_region_config *reg_config) ...@@ -68,6 +68,7 @@ void mpu_config(struct mpu_region_config *reg_config)
break; break;
case DEVICE_NON_SHARED: case DEVICE_NON_SHARED:
attr = (2 << TEX_SHIFT) | BUFFERABLE; attr = (2 << TEX_SHIFT) | BUFFERABLE;
break;
default: default:
attr = 0; /* strongly ordered */ attr = 0; /* strongly ordered */
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment