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
3c1fb7a7
Unverified
Commit
3c1fb7a7
authored
Nov 01, 2018
by
Antonio Niño Díaz
Committed by
GitHub
Nov 01, 2018
Browse files
Merge pull request #1658 from glneo/plat-arm-remove
ti: k3: common: Remove use of ARM platform code
parents
3d7ae0b9
ef202857
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/ti/k3/common/k3_bl31_setup.c
View file @
3c1fb7a7
...
...
@@ -10,14 +10,14 @@
#include <bl_common.h>
#include <debug.h>
#include <k3_console.h>
#include <plat_arm.h>
#include <platform_def.h>
#include <k3_gicv3.h>
#include <platform_def.h>
#include <string.h>
#include <ti_sci.h>
#include <xlat_tables_v2.h>
/* Table of regions to map using the MMU */
const
mmap_region_t
plat_
arm
_mmap
[]
=
{
const
mmap_region_t
plat_
k3
_mmap
[]
=
{
MAP_REGION_FLAT
(
SHARED_RAM_BASE
,
SHARED_RAM_SIZE
,
MT_DEVICE
|
MT_RW
|
MT_SECURE
),
MAP_REGION_FLAT
(
K3_USART_BASE_ADDRESS
,
K3_USART_SIZE
,
MT_DEVICE
|
MT_RW
|
MT_SECURE
),
MAP_REGION_FLAT
(
K3_GICD_BASE
,
K3_GICD_SIZE
,
MT_DEVICE
|
MT_RW
|
MT_SECURE
),
...
...
@@ -97,7 +97,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
void
bl31_plat_arch_setup
(
void
)
{
const
mmap_region_t
bl_regions
[]
=
{
MAP_REGION_FLAT
(
BL31_BASE
,
BL31_END
-
BL31_BASE
,
MT_MEMORY
|
MT_RW
|
MT_SECURE
),
...
...
@@ -108,7 +107,7 @@ void bl31_plat_arch_setup(void)
{
0
}
};
setup_page_tables
(
bl_regions
,
plat_
arm_get
_mmap
()
);
setup_page_tables
(
bl_regions
,
plat_
k3
_mmap
);
enable_mmu_el3
(
0
);
}
...
...
plat/ti/k3/common/plat_common.mk
View file @
3c1fb7a7
...
...
@@ -35,8 +35,6 @@ include lib/xlat_tables_v2/xlat_tables.mk
PLAT_INCLUDES
+=
\
-I
${PLAT_PATH}
/include
\
-Iinclude
/plat/arm/common/
\
-Iinclude
/plat/arm/common/aarch64/
\
-I
${PLAT_PATH}
/common/drivers/sec_proxy
\
-I
${PLAT_PATH}
/common/drivers/ti_sci
\
...
...
@@ -63,7 +61,6 @@ K3_TI_SCI_SOURCES += \
${PLAT_PATH}
/common/drivers/ti_sci/ti_sci.c
\
PLAT_BL_COMMON_SOURCES
+=
\
plat/arm/common/arm_common.c
\
lib/cpus/aarch64/cortex_a53.S
\
${XLAT_TABLES_LIB_SRCS}
\
${K3_CONSOLE_SOURCES}
\
...
...
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