Module Name: src
Committed By: jmcneill
Date: Sat May 27 20:26:27 UTC 2017
Modified Files:
src/sys/arch/arm/nvidia: tegra_soc.c
src/sys/arch/evbarm/tegra: tegra_machdep.c
Log Message:
GC unused tegra_dma_bootstrap function.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/nvidia/tegra_soc.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbarm/tegra/tegra_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/nvidia/tegra_soc.c
diff -u src/sys/arch/arm/nvidia/tegra_soc.c:1.11 src/sys/arch/arm/nvidia/tegra_soc.c:1.12
--- src/sys/arch/arm/nvidia/tegra_soc.c:1.11 Thu May 25 23:26:48 2017
+++ src/sys/arch/arm/nvidia/tegra_soc.c Sat May 27 20:26:27 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_soc.c,v 1.11 2017/05/25 23:26:48 jmcneill Exp $ */
+/* $NetBSD: tegra_soc.c,v 1.12 2017/05/27 20:26:27 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -30,7 +30,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_soc.c,v 1.11 2017/05/25 23:26:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_soc.c,v 1.12 2017/05/27 20:26:27 jmcneill Exp $");
#define _ARM32_BUS_DMA_PRIVATE
#include <sys/param.h>
@@ -84,11 +84,6 @@ tegra_bootstrap(void)
tegra_mpinit();
}
-void
-tegra_dma_bootstrap(psize_t psize)
-{
-}
-
static void
tegra_mpinit(void)
{
Index: src/sys/arch/evbarm/tegra/tegra_machdep.c
diff -u src/sys/arch/evbarm/tegra/tegra_machdep.c:1.42 src/sys/arch/evbarm/tegra/tegra_machdep.c:1.43
--- src/sys/arch/evbarm/tegra/tegra_machdep.c:1.42 Fri May 26 18:58:55 2017
+++ src/sys/arch/evbarm/tegra/tegra_machdep.c Sat May 27 20:26:27 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_machdep.c,v 1.42 2017/05/26 18:58:55 jmcneill Exp $ */
+/* $NetBSD: tegra_machdep.c,v 1.43 2017/05/27 20:26:27 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <[email protected]>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.42 2017/05/26 18:58:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_machdep.c,v 1.43 2017/05/27 20:26:27 jmcneill Exp $");
#include "opt_tegra.h"
#include "opt_machdep.h"
@@ -323,9 +323,6 @@ initarm(void *arg)
KASSERTMSG(ram_size > 0, "RAM size unknown and MEMSIZE undefined");
#endif
- /* DMA tag setup */
- tegra_dma_bootstrap(ram_size);
-
/* Fake bootconfig structure for the benefit of pmap.c. */
bootconfig.dramblocks = 1;
bootconfig.dram[0].address = (bus_addr_t)memory_addr;