summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-05-22 07:28:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-05-23 09:24:52 +0200
commit9845563450b88c77710c8b7e19d98b140cb542c4 (patch)
tree9c363329dc6f441c8eccf2f1ffc82d1873afeb89 /drivers
parentb53744ffe333db8ee426fe7e5e93eb82a16bd9a9 (diff)
downloadbarebox-9845563450b88c77710c8b7e19d98b140cb542c4.tar.gz
barebox-9845563450b88c77710c8b7e19d98b140cb542c4.tar.xz
treewide: use remap_range instead of arch_remap_range
The remapping in arch_remap_range is currently limited to attributes. In a later commit, we'll start supporting non-1:1 remappings. We'll keep remap_range as is for 1:1, so as preparation, let's switch all arch_remap_range users that want 1:1 remappings to remap_range. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230522052835.1039143-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hab/habv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c
index e8c7d3264d..b10c92ec76 100644
--- a/drivers/hab/habv4.c
+++ b/drivers/hab/habv4.c
@@ -619,7 +619,7 @@ static int init_imx6_hab_get_status(void)
/* can happen in multi-image builds and is not an error */
return 0;
- arch_remap_range(0x0, SZ_1M, MAP_CACHED);
+ remap_range(0x0, SZ_1M, MAP_CACHED);
/*
* Nobody will check the return value if there were HAB errors, but the