Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Remove list of init devices
details: https://anonhg.NetBSD.org/src/rev/d13dbd6a6e29
branches: trunk
changeset: 352957:d13dbd6a6e29
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Apr 16 12:27:47 2017 +0000
description:
Remove list of init devices
diffstat:
sys/arch/arm/nvidia/tegra_fdt.c | 32 ++------------------------------
1 files changed, 2 insertions(+), 30 deletions(-)
diffs (60 lines):
diff -r 40cf20f2df76 -r d13dbd6a6e29 sys/arch/arm/nvidia/tegra_fdt.c
--- a/sys/arch/arm/nvidia/tegra_fdt.c Sun Apr 16 12:26:04 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_fdt.c Sun Apr 16 12:27:47 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_fdt.c,v 1.3 2017/04/15 00:35:12 jmcneill Exp $ */
+/* $NetBSD: tegra_fdt.c,v 1.4 2017/04/16 12:27:47 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "opt_tegra.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_fdt.c,v 1.3 2017/04/15 00:35:12 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_fdt.c,v 1.4 2017/04/16 12:27:47 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -64,32 +64,6 @@
void
tegrafdt_attach(device_t parent, device_t self, void *aux)
{
- const char *tegrafdt_init[] = {
- /* interrupt controllers */
- "nvidia,tegra124-ictlr",
- "arm,cortex-a15-gic",
- /* clocks */
- "nvidia,tegra124-car",
- "nvidia,tegra124-dfll",
- /* pinmux */
- "nvidia,tegra124-pinmux",
- "nvidia,tegra124-gpio",
- /* regulators */
- "regulator-fixed",
- /* fuse */
- "nvidia,tegra124-efuse",
- /* dma */
- "nvidia,tegra124-apbdma",
- /* pmc */
- "nvidia,tegra124-pmc",
- /* memory controller */
- "nvidia,tegra124-mc",
- /* i2c */
- "nvidia,tegra124-i2c",
- /* usb phy */
- "nvidia,tegra124-usb-phy",
- };
-
tegrafdt_found = true;
aprint_naive("\n");
@@ -101,8 +75,6 @@
.faa_a4x_bst = &armv7_generic_a4x_bs_tag,
.faa_dmat = &tegra_dma_tag,
.faa_phandle = OF_peer(0),
- .faa_init = tegrafdt_init,
- .faa_ninit = __arraycount(tegrafdt_init)
};
config_found(self, &faa, NULL);
Home |
Main Index |
Thread Index |
Old Index