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
d8b11091
Commit
d8b11091
authored
5 years ago
by
Soby Mathew
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "plat: imx8mq: Remove duplicated linker symbols" into integration
parents
519a7db2
b05631af
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c
+5
-12
plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c
with
5 additions
and
12 deletions
+5
-12
plat/imx/imx8m/imx8mq/imx8mq_bl31_setup.c
View file @
d8b11091
...
...
@@ -25,13 +25,6 @@
#include <imx_uart.h>
#include <plat_imx8.h>
IMPORT_SYM
(
uintptr_t
,
__COHERENT_RAM_START__
,
BL31_COHERENT_RAM_START
);
IMPORT_SYM
(
uintptr_t
,
__COHERENT_RAM_END__
,
BL31_COHERENT_RAM_END
);
IMPORT_SYM
(
uintptr_t
,
__RO_START__
,
BL31_RO_START
);
IMPORT_SYM
(
uintptr_t
,
__RO_END__
,
BL31_RO_END
);
IMPORT_SYM
(
uintptr_t
,
__RW_START__
,
BL31_RW_START
);
IMPORT_SYM
(
uintptr_t
,
__RW_END__
,
BL31_RW_END
);
static
const
mmap_region_t
imx_mmap
[]
=
{
MAP_REGION_FLAT
(
GPV_BASE
,
GPV_SIZE
,
MT_DEVICE
|
MT_RW
),
/* GPV map */
MAP_REGION_FLAT
(
IMX_AIPS_BASE
,
IMX_AIPS_SIZE
,
MT_DEVICE
|
MT_RW
),
/* AIPS map */
...
...
@@ -109,16 +102,16 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
void
bl31_plat_arch_setup
(
void
)
{
mmap_add_region
(
BL31_RO_START
,
BL31_RO_START
,
(
BL31_RO_END
-
BL31_RO_START
),
MT_MEMORY
|
MT_RO
|
MT_SECURE
);
mmap_add_region
(
BL31_RW_START
,
BL31_RW_START
,
(
BL31_RW_END
-
BL31_RW_START
),
mmap_add_region
(
BL31_BASE
,
BL31_BASE
,
(
BL31_LIMIT
-
BL31_BASE
),
MT_MEMORY
|
MT_RW
|
MT_SECURE
);
mmap_add_region
(
BL_CODE_BASE
,
BL_CODE_BASE
,
(
BL_CODE_END
-
BL_CODE_BASE
),
MT_MEMORY
|
MT_RO
|
MT_SECURE
);
mmap_add
(
imx_mmap
);
#if USE_COHERENT_MEM
mmap_add_region
(
BL
31
_COHERENT_RAM_
START
,
BL
31
_COHERENT_RAM_
START
,
BL
31
_COHERENT_RAM_END
-
BL
31
_COHERENT_RAM_
START
,
mmap_add_region
(
BL_COHERENT_RAM_
BASE
,
BL_COHERENT_RAM_
BASE
,
BL_COHERENT_RAM_END
-
BL_COHERENT_RAM_
BASE
,
MT_DEVICE
|
MT_RW
|
MT_SECURE
);
#endif
/* setup xlat table */
...
...
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