13eb10ec66f0dfba359903078f701698f8c372e9
[openwrt/staging/dedeckeh.git] / target / linux / brcm2708 / patches-3.18 / 0098-bcm2709-Also-accept-the-2708-machine-ID.patch
1 From 3a930cc266561ce539f40d0e4b8e1752442481b4 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 28 Jan 2015 17:57:23 +0000
4 Subject: [PATCH 098/114] bcm2709: Also accept the 2708 machine ID
5
6 ---
7 arch/arm/mach-bcm2709/bcm2709.c | 13 +++++++++++++
8 1 file changed, 13 insertions(+)
9
10 diff --git a/arch/arm/mach-bcm2709/bcm2709.c b/arch/arm/mach-bcm2709/bcm2709.c
11 index f009aeb..7e3affd 100644
12 --- a/arch/arm/mach-bcm2709/bcm2709.c
13 +++ b/arch/arm/mach-bcm2709/bcm2709.c
14 @@ -1270,6 +1270,19 @@ MACHINE_START(BCM2709, "BCM2709")
15 .dt_compat = bcm2709_compat,
16 MACHINE_END
17
18 +MACHINE_START(BCM2708, "BCM2709")
19 + /* Maintainer: Broadcom Europe Ltd. */
20 + .smp = smp_ops(bcm2709_smp_ops),
21 + .map_io = bcm2709_map_io,
22 + .init_irq = bcm2709_init_irq,
23 + .init_time = bcm2709_timer_init,
24 + .init_machine = bcm2709_init,
25 + .init_early = bcm2709_init_early,
26 + .reserve = board_reserve,
27 + .restart = bcm2709_restart,
28 + .dt_compat = bcm2709_compat,
29 +MACHINE_END
30 +
31 module_param(boardrev, uint, 0644);
32 module_param(serial, uint, 0644);
33 module_param(uart_clock, uint, 0644);
34 --
35 1.8.3.2
36