From 8aac3892408226ee04a4d27a7ed279c55a442c9a Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 17 Jul 2012 11:35:34 -0400 Subject: [PATCH 112/123] 509-MIPS-ath79-process-board-kernel-option Import of the above patch from openwrt trunk, as of this commit: ---------- commit c1d79f64eed0a7ac36b5b9bca52275b397bec424 Author: nbd Date: Mon Jul 16 16:26:51 2012 +0000 uboot-ar71xx: fix compile on recent mac os x versions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32750 3c298f89-4303-0410-b956-a3cf2f4a3e73 ---------- Path to patch in the repo is: target/linux/ar71xx/patches-3.3 Repo is: git://nbd.name/openwrt.git Signed-off-by: Paul Gortmaker --- arch/mips/ath79/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 60d212e..858de34 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c @@ -215,6 +215,8 @@ void __init plat_time_init(void) mips_hpt_frequency = clk_get_rate(clk) / 2; } +__setup("board=", mips_machtype_setup); + static int __init ath79_setup(void) { ath79_gpio_init(); -- 1.7.9.7