commit | 4fad4db1659ac0780ffef475dd49c964870e3a2e | [log] [tgz] |
---|---|---|
author | XiaoDong Huang <derrick.huang@rock-chips.com> | Sun Jun 25 15:55:42 2023 +0800 |
committer | XiaoDong Huang <derrick.huang@rock-chips.com> | Mon Jun 17 10:57:29 2024 +0800 |
tree | 392fa021f1b970eb856bdd87444780678821afab | |
parent | 4827018f7b2b51937865e5965c2f7d3335275d59 [diff] |
fix(rockchip): xlat: fix compatibility between v1 and v2 Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com> Change-Id: I1194ef232947ba90fa374466773373762a5acdb5
diff --git a/plat/rockchip/common/aarch32/platform_common.c b/plat/rockchip/common/aarch32/platform_common.c index 9030951..25ee964 100644 --- a/plat/rockchip/common/aarch32/platform_common.c +++ b/plat/rockchip/common/aarch32/platform_common.c
@@ -12,7 +12,7 @@ #include <common/bl_common.h> #include <common/debug.h> #include <lib/utils.h> -#include <lib/xlat_tables/xlat_tables.h> +#include <lib/xlat_tables/xlat_tables_compat.h> #include <plat_private.h>
diff --git a/plat/rockchip/common/aarch64/platform_common.c b/plat/rockchip/common/aarch64/platform_common.c index d563dfd..df51d89 100644 --- a/plat/rockchip/common/aarch64/platform_common.c +++ b/plat/rockchip/common/aarch64/platform_common.c
@@ -13,6 +13,8 @@ #include <common/debug.h> #include <drivers/arm/cci.h> #include <lib/utils.h> +#include <lib/xlat_tables/xlat_tables_compat.h> + #include <plat_private.h> #ifdef PLAT_RK_CCI_BASE