summaryrefslogtreecommitdiffstats
path: root/sys/arm/tegra
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2013-10-27 03:13:26 +0000
committerian <ian@FreeBSD.org>2013-10-27 03:13:26 +0000
commit7b011cd9377544934fa3928d1f40d7d5973f7a9f (patch)
tree2845b26324c8412cced10240287b98ab1a90ff52 /sys/arm/tegra
parent7fa106116d54cc826abd69020bb0b4c4703eda2b (diff)
downloadFreeBSD-src-7b011cd9377544934fa3928d1f40d7d5973f7a9f.zip
FreeBSD-src-7b011cd9377544934fa3928d1f40d7d5973f7a9f.tar.gz
Retire arm_remap_nocache() and the data and constants associated with it.
The only remaining user was the code that allocates bounce pages for armv4 busdma. It's not clear why bounce pages would need uncached memory, but if that ever changes, kmem_alloc_attr() would be the way to get it.
Diffstat (limited to 'sys/arm/tegra')
-rw-r--r--sys/arm/tegra/tegra2_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/tegra/tegra2_machdep.c b/sys/arm/tegra/tegra2_machdep.c
index 447dbdc..66fe0a9 100644
--- a/sys/arm/tegra/tegra2_machdep.c
+++ b/sys/arm/tegra/tegra2_machdep.c
@@ -109,7 +109,7 @@ initarm_lastaddr(void)
if (fdt_immr_addr(TEGRA2_BASE) != 0) /* FIXME ???? */
while (1);
- return (fdt_immr_va - ARM_NOCACHE_KVA_SIZE);
+ return (fdt_immr_va);
}
void
OpenPOWER on IntegriCloud