Skip to content
GitLab
Menu
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
3546afff
Commit
3546afff
authored
Feb 25, 2020
by
Soby Mathew
Committed by
TrustedFirmware Code Review
Feb 25, 2020
Browse files
Merge "mediatek: mt8183: protect 4GB~8GB dram memory" into integration
parents
7390559b
95d3c46a
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/mediatek/mt8183/drivers/emi_mpu/emi_mpu.c
View file @
3546afff
...
@@ -138,15 +138,9 @@ void emi_mpu_init(void)
...
@@ -138,15 +138,9 @@ void emi_mpu_init(void)
(
FORBIDDEN
<<
6
));
(
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0x52900000UL
,
0x5FFFFFFFUL
,
2
,
emi_mpu_set_region_protection
(
0x52900000UL
,
0x5FFFFFFFUL
,
2
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0x60000000UL
,
0x
7
FFFFFFFUL
,
3
,
emi_mpu_set_region_protection
(
0x60000000UL
,
0x
F
FFFFFFFUL
,
3
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0x80000000UL
,
0x9FFFFFFFUL
,
4
,
emi_mpu_set_region_protection
(
0x100000000UL
,
0x23FFFFFFFUL
,
4
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0xA0000000UL
,
0xBFFFFFFFUL
,
5
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0xC0000000UL
,
0xDFFFFFFFUL
,
6
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
emi_mpu_set_region_protection
(
0xE0000000UL
,
0xFFFFFFFFUL
,
7
,
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
(
FORBIDDEN
<<
3
|
FORBIDDEN
<<
6
));
dump_emi_mpu_regions
();
dump_emi_mpu_regions
();
}
}
...
...
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