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
01460492
Unverified
Commit
01460492
authored
6 years ago
by
Dimitris Papastamos
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1433 from sivadur/integration
xilinx: fix zynqmp build when tsp is enabled
parents
3caa841d
0435ba64
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
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plat/xilinx/zynqmp/aarch64/zynqmp_common.c
+12
-3
plat/xilinx/zynqmp/aarch64/zynqmp_common.c
plat/xilinx/zynqmp/include/platform_def.h
+1
-1
plat/xilinx/zynqmp/include/platform_def.h
with
13 additions
and
4 deletions
+13
-4
plat/xilinx/zynqmp/aarch64/zynqmp_common.c
View file @
01460492
...
...
@@ -205,12 +205,21 @@ static char *zynqmp_get_silicon_idcode_name(void)
{
uint32_t
id
,
ver
,
chipid
[
2
];
size_t
i
,
j
,
len
;
enum
pm_ret_status
ret
;
const
char
*
name
=
"EG/EV"
;
ret
=
pm_get_chipid
(
chipid
);
if
(
ret
)
#ifdef IMAGE_BL32
/*
* For BL32, get the chip id info directly by reading corresponding
* registers instead of making pm call. This has limitation
* that these registers should be configured to have access
* from APU which is default case.
*/
chipid
[
0
]
=
mmio_read_32
(
ZYNQMP_CSU_BASEADDR
+
ZYNQMP_CSU_IDCODE_OFFSET
);
chipid
[
1
]
=
mmio_read_32
(
EFUSE_BASEADDR
+
EFUSE_IPDISABLE_OFFSET
);
#else
if
(
pm_get_chipid
(
chipid
)
!=
PM_RET_SUCCESS
)
return
"UNKN"
;
#endif
id
=
chipid
[
0
]
&
(
ZYNQMP_CSU_IDCODE_DEVICE_CODE_MASK
|
ZYNQMP_CSU_IDCODE_SVD_MASK
);
...
...
This diff is collapsed.
Click to expand it.
plat/xilinx/zynqmp/include/platform_def.h
View file @
01460492
...
...
@@ -34,7 +34,7 @@
* little space for growth.
*/
#ifndef ZYNQMP_ATF_MEM_BASE
#if !DEBUG
#if !DEBUG
&& defined(SPD_none)
# define BL31_BASE 0xfffea000
# define BL31_LIMIT 0xffffffff
#else
...
...
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