Openwrt/target/linux/brcm2708/patches-3.18/0098-bcm2709-Also-accept-the-2708-machine-ID.patch
John Crispin 9b74de00f7 brcm2708: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44433
2015-02-13 07:38:27 +00:00

32 lines
979 B
Diff

From 3a930cc266561ce539f40d0e4b8e1752442481b4 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Wed, 28 Jan 2015 17:57:23 +0000
Subject: [PATCH 098/114] bcm2709: Also accept the 2708 machine ID
---
arch/arm/mach-bcm2709/bcm2709.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- a/arch/arm/mach-bcm2709/bcm2709.c
+++ b/arch/arm/mach-bcm2709/bcm2709.c
@@ -1270,6 +1270,19 @@ MACHINE_START(BCM2709, "BCM2709")
.dt_compat = bcm2709_compat,
MACHINE_END
+MACHINE_START(BCM2708, "BCM2709")
+ /* Maintainer: Broadcom Europe Ltd. */
+ .smp = smp_ops(bcm2709_smp_ops),
+ .map_io = bcm2709_map_io,
+ .init_irq = bcm2709_init_irq,
+ .init_time = bcm2709_timer_init,
+ .init_machine = bcm2709_init,
+ .init_early = bcm2709_init_early,
+ .reserve = board_reserve,
+ .restart = bcm2709_restart,
+ .dt_compat = bcm2709_compat,
+MACHINE_END
+
module_param(boardrev, uint, 0644);
module_param(serial, uint, 0644);
module_param(uart_clock, uint, 0644);