-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 281660 b: refs/heads/master c: 44107d8 h: refs/heads/master v: v3
- Loading branch information
Peter De Schrijver
authored and
Olof Johansson
committed
Dec 18, 2011
1 parent
97d576a
commit 5cf0fd4
Showing
7 changed files
with
84 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 241682c8e0df98e710776ea09a7748938ca2578f | ||
refs/heads/master: 44107d8b7e7ea3e24bebed565f03befd61caf426 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* arch/arm/mach-tegra/board-dt-tegra30.c | ||
* | ||
* NVIDIA Tegra30 device tree board support | ||
* | ||
* Copyright (C) 2011 NVIDIA Corporation | ||
* | ||
* Derived from: | ||
* | ||
* arch/arm/mach-tegra/board-dt-tegra20.c | ||
* | ||
* Copyright (C) 2010 Secret Lab Technologies, Ltd. | ||
* Copyright (C) 2010 Google, Inc. | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/of.h> | ||
#include <linux/of_address.h> | ||
#include <linux/of_fdt.h> | ||
#include <linux/of_irq.h> | ||
#include <linux/of_platform.h> | ||
|
||
#include <asm/mach/arch.h> | ||
#include <asm/hardware/gic.h> | ||
|
||
#include "board.h" | ||
|
||
static struct of_device_id tegra_dt_match_table[] __initdata = { | ||
{ .compatible = "simple-bus", }, | ||
{} | ||
}; | ||
|
||
static void __init tegra30_dt_init(void) | ||
{ | ||
of_platform_populate(NULL, tegra_dt_match_table, | ||
NULL, NULL); | ||
} | ||
|
||
static const char *tegra30_dt_board_compat[] = { | ||
NULL | ||
}; | ||
|
||
DT_MACHINE_START(TEGRA30_DT, "NVIDIA Tegra30 (Flattened Device Tree)") | ||
.map_io = tegra_map_common_io, | ||
.init_early = tegra30_init_early, | ||
.init_irq = tegra_dt_init_irq, | ||
.handle_irq = gic_handle_irq, | ||
.timer = &tegra_timer, | ||
.init_machine = tegra30_dt_init, | ||
.restart = tegra_assert_system_reset, | ||
.dt_compat = tegra30_dt_board_compat, | ||
MACHINE_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters