Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
b085b990
Commit
b085b990
authored
3 years ago
by
Mark Dykes
Committed by
TrustedFirmware Code Review
3 years ago
Browse files
Options
Download
Plain Diff
Merge "feat(plat/mediatek/mpu): add MPU support for DSP" into integration
parents
66bf006e
6c4973b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/mediatek/mt8192/drivers/emi_mpu/emi_mpu.c
+12
-1
plat/mediatek/mt8192/drivers/emi_mpu/emi_mpu.c
with
12 additions
and
1 deletion
+12
-1
plat/mediatek/mt8192/drivers/emi_mpu/emi_mpu.c
View file @
b085b990
...
...
@@ -117,7 +117,7 @@ void emi_mpu_init(void)
NO_PROT
,
FORBIDDEN
,
FORBIDDEN
,
NO_PROT
);
emi_mpu_set_protection
(
&
region_info
);
/*
Forbidden All
*/
/*
DSP protect address
*/
region_info
.
start
=
0x40000000ULL
;
/* dram base addr */
region_info
.
end
=
0x1FFFF0000ULL
;
region_info
.
region
=
3
;
...
...
@@ -128,6 +128,17 @@ void emi_mpu_init(void)
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
NO_PROT
);
emi_mpu_set_protection
(
&
region_info
);
/* Forbidden All */
region_info
.
start
=
0x40000000ULL
;
/* dram base addr */
region_info
.
end
=
0x1FFFF0000ULL
;
region_info
.
region
=
4
;
SET_ACCESS_PERMISSION
(
region_info
.
apc
,
1
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
FORBIDDEN
,
NO_PROT
);
emi_mpu_set_protection
(
&
region_info
);
dump_emi_mpu_regions
();
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help