ARM: tegra: cardhu: Add DT boot support
Dan Willemsen [Tue, 10 Apr 2012 01:08:04 +0000 (18:08 -0700)]
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>

arch/arm/mach-tegra/board-cardhu.c

index 19cb2a3..390b564 100644 (file)
@@ -1439,6 +1439,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")
        .atag_offset    = 0x100,
        .soc            = &tegra_soc_desc,
@@ -1450,4 +1455,5 @@ MACHINE_START(CARDHU, "cardhu")
        .timer          = &tegra_timer,
        .init_machine   = tegra_cardhu_init,
        .restart        = tegra_assert_system_reset,
+       .dt_compat      = cardhu_dt_board_compat,
 MACHINE_END