Skip to content

Commit

Permalink
ARM: tegra: match SoC name not board name in DT board files
Browse files Browse the repository at this point in the history
board-dt-tegra*.c should support any board using Tegra when booted using
device tree. Instead of explicitly listing all the supported boards,
which requires a kernel change for each new board, list the supported SoC
model instead.

Note that the board files do currently have explicit support for setting
up each board's pinmux. However, it's fairly likely that at least the
basic devices on any new board will work just fine as set up by the boot-
loader, and the pinmux data should be moving into device tree soon anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Stephen Warren authored and Olof Johansson committed Mar 4, 2012
1 parent 1dbe1df commit c5444f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions arch/arm/mach-tegra/board-dt-tegra20.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,7 @@ static void __init tegra_dt_init(void)
}

static const char *tegra20_dt_board_compat[] = {
"compulab,trimslice",
"nvidia,harmony",
"compal,paz00",
"nvidia,seaboard",
"nvidia,ventana",
"nvidia,tegra20",
NULL
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/board-dt-tegra30.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void __init tegra30_dt_init(void)
}

static const char *tegra30_dt_board_compat[] = {
"nvidia,cardhu",
"nvidia,tegra30",
NULL
};

Expand Down

0 comments on commit c5444f3

Please sign in to comment.