diff options
author | Andreas Färber <afaerber@suse.de> | 2018-02-17 06:02:32 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2018-02-17 06:15:35 +0100 |
commit | 28db3e96efd3e172a2973962130dca952c9f21cd (patch) | |
tree | cebaa2477e2685abbfc75c28199efad6ae6eb692 /lib/psci/psci_common.c | |
parent | 885b7c85c1aa2d4c55ab8eeb848e4b72691fde35 (diff) |
tegra: Fix mmap_region_t struct mismatch
Commit fdb1964c34968921379d3592e7ac6e9a685dbab1 ("xlat: Introduce
MAP_REGION2() macro") added a granularity field to mmap_region_t.
Tegra platforms were using the v2 xlat_tables implementation in
common/tegra_common.mk, but v1 xlat_tables.h headers in soc/*/plat_setup.c
where arrays are being defined. This caused the next physical address to
be read as granularity, causing EINVAL error and triggering an assert.
Consistently use xlat_tables_v2.h header to avoid this.
Fixes ARM-software/tf-issues#548.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions