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
e70ce64c
Unverified
Commit
e70ce64c
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1853 from vwadekar/dummy_io_storage
Tegra: dummy support for the io_storage backend
parents
ba4ae23d
8d56e24b
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
v2.1
v2.1-rc1
v2.1-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
plat/nvidia/tegra/common/tegra_common.mk
+3
-1
plat/nvidia/tegra/common/tegra_common.mk
plat/nvidia/tegra/common/tegra_io_storage.c
+20
-0
plat/nvidia/tegra/common/tegra_io_storage.c
plat/nvidia/tegra/include/platform_def.h
+6
-0
plat/nvidia/tegra/include/platform_def.h
plat/nvidia/tegra/platform.mk
+1
-2
plat/nvidia/tegra/platform.mk
with
30 additions
and
3 deletions
+30
-3
plat/nvidia/tegra/common/tegra_common.mk
View file @
e70ce64c
#
# Copyright (c) 2015-201
8
, ARM Limited and Contributors. All rights reserved.
# Copyright (c) 2015-201
9
, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
...
...
@@ -22,6 +22,7 @@ TEGRA_GICv2_SOURCES := drivers/arm/gic/common/gic_common.c \
BL31_SOURCES
+=
drivers/console/aarch64/console.S
\
drivers/delay_timer/delay_timer.c
\
drivers/io/io_storage.c
\
${TEGRA_GICv2_SOURCES}
\
${COMMON_DIR}
/aarch64/tegra_helpers.S
\
${COMMON_DIR}
/drivers/pmc/pmc.c
\
...
...
@@ -29,6 +30,7 @@ BL31_SOURCES += drivers/console/aarch64/console.S \
${COMMON_DIR}
/tegra_bl31_setup.c
\
${COMMON_DIR}
/tegra_delay_timer.c
\
${COMMON_DIR}
/tegra_fiq_glue.c
\
${COMMON_DIR}
/tegra_io_storage.c
\
${COMMON_DIR}
/tegra_platform.c
\
${COMMON_DIR}
/tegra_pm.c
\
${COMMON_DIR}
/tegra_sip_calls.c
\
...
...
This diff is collapsed.
Click to expand it.
plat/nvidia/tegra/common/tegra_io_storage.c
0 → 100644
View file @
e70ce64c
/*
* Copyright (c) 2019, NVIDIA Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <errno.h>
#include <plat/common/platform.h>
/*
* Return an IO device handle and specification which can be used to access
* an image. Use this to enforce platform load policy.
*
* This function is not supported at this time
*/
int
plat_get_image_source
(
unsigned
int
image_id
,
uintptr_t
*
dev_handle
,
uintptr_t
*
image_spec
)
{
return
-
ENOTSUP
;
}
This diff is collapsed.
Click to expand it.
plat/nvidia/tegra/include/platform_def.h
View file @
e70ce64c
...
...
@@ -66,4 +66,10 @@
#define CACHE_WRITEBACK_SHIFT 6
#define CACHE_WRITEBACK_GRANULE (0x40)
/* (U(1) << CACHE_WRITEBACK_SHIFT) */
/*******************************************************************************
* Dummy macros to compile io_storage support
******************************************************************************/
#define MAX_IO_DEVICES U(0)
#define MAX_IO_HANDLES U(0)
#endif
/* PLATFORM_DEF_H */
This diff is collapsed.
Click to expand it.
plat/nvidia/tegra/platform.mk
View file @
e70ce64c
#
# Copyright (c) 2015-201
8
, ARM Limited and Contributors. All rights reserved.
# Copyright (c) 2015-201
9
, ARM Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
...
...
@@ -68,7 +68,6 @@ ifneq ($(findstring armlink,$(notdir $(LD))),)
# o resolve undefined symbols to el3_panic
# o include only required sections
TF_LDFLAGS
+=
--diag_suppress
=
L6314,L6332
--no_scanlib
--callgraph
TF_LDFLAGS
+=
--unresolved
=
el3_panic
TF_LDFLAGS
+=
--keep
=
"*(__pubsub*)"
--keep
=
"*(rt_svc_descs*)"
--keep
=
"*(*cpu_ops)"
ifeq
(${ENABLE_PMF},1)
TF_LDFLAGS
+=
--keep
=
"*(*pmf_svc_descs*)"
...
...
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