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
d8b11091
Commit
d8b11091
authored
May 15, 2019
by
Soby Mathew
Committed by
TrustedFirmware Code Review
May 15, 2019
Browse files
Merge "plat: imx8mq: Remove duplicated linker symbols" into integration
parents
519a7db2
b05631af
Changes
1
Hide whitespace changes
Inline
Side-by-side
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 */
...
...
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