Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch GC unused tegra_dma_bootstrap function.



details:   https://anonhg.NetBSD.org/src/rev/42e1f21e3873
branches:  trunk
changeset: 824199:42e1f21e3873
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 27 20:26:27 2017 +0000

description:
GC unused tegra_dma_bootstrap function.

diffstat:

 sys/arch/arm/nvidia/tegra_soc.c       |  9 ++-------
 sys/arch/evbarm/tegra/tegra_machdep.c |  7 ++-----
 2 files changed, 4 insertions(+), 12 deletions(-)

diffs (58 lines):

diff -r b3e29466fce1 -r 42e1f21e3873 sys/arch/arm/nvidia/tegra_soc.c
--- a/sys/arch/arm/nvidia/tegra_soc.c   Sat May 27 13:55:58 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_soc.c   Sat May 27 20:26:27 2017 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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_mpinit();
 }
 
-void
-tegra_dma_bootstrap(psize_t psize)
-{
-}
-
 static void
 tegra_mpinit(void)
 {
diff -r b3e29466fce1 -r 42e1f21e3873 sys/arch/evbarm/tegra/tegra_machdep.c
--- a/sys/arch/evbarm/tegra/tegra_machdep.c     Sat May 27 13:55:58 2017 +0000
+++ b/sys/arch/evbarm/tegra/tegra_machdep.c     Sat May 27 20:26:27 2017 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index