diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2012-04-09 18:08:04 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-03 18:33:35 -0700 |
commit | df80522dd557e2759552b6c6b0f1f1c8ad1c5614 (patch) | |
tree | 6712cae609f2e9564f130c8e3e0e1e74ec2e85b7 | |
parent | f919c5ac473b2ca4e3ae2e4b421f31bd87ce5d5b (diff) |
ARM: tegra: cardhu: Add DT boot support
Use the existing boardfile for everything, just match using DT.
Change-Id: Ie12cad6ab0bfcb94538cd158dd9fc9ca85b91c98
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/95478
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.c b/arch/arm/mach-tegra/board-cardhu.c index 242bbef30936..9fa78c502747 100644 --- a/arch/arm/mach-tegra/board-cardhu.c +++ b/arch/arm/mach-tegra/board-cardhu.c @@ -1461,6 +1461,11 @@ static void __init tegra_cardhu_reserve(void) tegra_ram_console_debug_reserve(SZ_1M); } +static const char *cardhu_dt_board_compat[] = { + "nvidia,cardhu", + NULL +}; + MACHINE_START(CARDHU, "cardhu") .boot_params = 0x80000100, .map_io = tegra_map_common_io, @@ -1469,4 +1474,5 @@ MACHINE_START(CARDHU, "cardhu") .init_irq = tegra_init_irq, .timer = &tegra_timer, .init_machine = tegra_cardhu_init, + .dt_compat = cardhu_dt_board_compat, MACHINE_END |