diff options
author | Nitin Kumbhar <nkumbhar@nvidia.com> | 2012-06-13 19:15:08 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-03 18:59:16 -0700 |
commit | 0c8ad3fc25b0097dd63516742b9f0133d10b3c20 (patch) | |
tree | 6e7de3c975bf77708b1ba5d93d75bad35106a65f /arch/arm/mach-tegra/board-whistler.c | |
parent | 6d68be701eeba639230a4b7beaa45f5fa4469628 (diff) |
arm: whistler: add device tree support for whistler
Enable device tree support for whistler by adding board
compatible table.
Bug 1001225
Change-Id: Ic945d70894fe2deb5039106e794b7fa51c5604bb
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/116609
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-whistler.c')
-rw-r--r-- | arch/arm/mach-tegra/board-whistler.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-whistler.c b/arch/arm/mach-tegra/board-whistler.c index 92fa6e502abe..492367076170 100644 --- a/arch/arm/mach-tegra/board-whistler.c +++ b/arch/arm/mach-tegra/board-whistler.c @@ -539,12 +539,18 @@ void __init tegra_whistler_reserve(void) tegra_ram_console_debug_reserve(SZ_1M); } +static const char *whistler_dt_board_compat[] = { + "nvidia,whistler", + NULL +}; + MACHINE_START(WHISTLER, "whistler") .boot_params = 0x00000100, .map_io = tegra_map_common_io, - .reserve = tegra_whistler_reserve, .init_early = tegra_init_early, .init_irq = tegra_init_irq, + .reserve = tegra_whistler_reserve, .timer = &tegra_timer, .init_machine = tegra_whistler_init, + .dt_compat = whistler_dt_board_compat, MACHINE_END |