Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium We don't need to call the POW and FGA b...



details:   https://anonhg.NetBSD.org/src/rev/6a8e949c3b5a
branches:  trunk
changeset: 937423:6a8e949c3b5a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 18 10:35:51 2020 +0000

description:
We don't need to call the POW and FGA bootstrap functions from the FDT
mainbus attach, the iobus attach code does this already and is called
for both iobus-only and FDT cases anyway.

After discussion with jmcneill@.

diffstat:

 sys/arch/mips/cavium/mainbus.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r e1d6d7a55714 -r 6a8e949c3b5a sys/arch/mips/cavium/mainbus.c
--- a/sys/arch/mips/cavium/mainbus.c    Tue Aug 18 09:44:07 2020 +0000
+++ b/sys/arch/mips/cavium/mainbus.c    Tue Aug 18 10:35:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.4 2020/08/17 21:25:12 jmcneill Exp $     */
+/*     $NetBSD: mainbus.c,v 1.5 2020/08/18 10:35:51 simonb Exp $       */
 
 /*
  * Copyright (c) 2007
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.4 2020/08/17 21:25:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.5 2020/08/18 10:35:51 simonb Exp $");
 
 #define        _MIPS_BUS_DMA_PRIVATE
 
@@ -122,9 +122,6 @@
        config_found_sm_loc(self, "mainbus", NULL, &aa, mainbus_print,
            mainbus_submatch);
 
-       octpow_bootstrap(&octeon_configuration);
-       octfpa_bootstrap(&octeon_configuration);
-
        simplebus_bus_io_init(&simplebus_bus_tag, NULL);
 
        faa.faa_bst = &simplebus_bus_tag;



Home | Main Index | Thread Index | Old Index