diff options
author | Jun Nie <jun.nie@linaro.org> | 2018-08-21 23:51:44 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2018-08-24 00:23:03 +0800 |
commit | 28ec993e1b4ee0c34b24ff384339acb324f290f6 (patch) | |
tree | 33567ce17ede4648811f2ede733fc0a8ff35af06 | |
parent | 2d06ad2bc7507912bd282049c67289bd253ff8f7 (diff) |
warp7: adjust mpid value
The mpid value get from tftf_plat_get_mpidr() should be
aligned with read_mpidr_el1(), so that below test is true
for lead core.
(read_mpidr_el1() & MPID_MASK) == mpid
Signed-off-by: Jun Nie <jun.nie@linaro.org>
-rw-r--r-- | plat/nxp/board/warp7/warp7_topology.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plat/nxp/board/warp7/warp7_topology.c b/plat/nxp/board/warp7/warp7_topology.c index 717cdf4..3929795 100644 --- a/plat/nxp/board/warp7/warp7_topology.c +++ b/plat/nxp/board/warp7/warp7_topology.c @@ -35,14 +35,6 @@ #include <stddef.h> #include <tftf_lib.h> -static const struct { - unsigned cluster_id; - unsigned cpu_id; -} warp7_cores[] = { - /* A7 Cluster: 1 core */ - { 1, 0 }, -}; - /* * The Warp7 power domain tree descriptor. Warp7 implements a system * power domain at the level 2. The first entry in the power domain descriptor @@ -64,6 +56,5 @@ uint64_t tftf_plat_get_mpidr(unsigned int core_pos) { assert(core_pos < PLATFORM_CORE_COUNT); - return make_mpid(warp7_cores[core_pos].cluster_id, - warp7_cores[core_pos].cpu_id); + return 0; } |