mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
993ad29359
Backport patches from upstream Linux kernel which are making the kernel stores the appended dtb not in the same resisters as defined in the UHI specification, use a separate variable on MIPS. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [some modifications] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
12 lines
312 B
Diff
12 lines
312 B
Diff
--- a/arch/mips/ath79/setup.c
|
|
+++ b/arch/mips/ath79/setup.c
|
|
@@ -253,6 +253,8 @@ void __init plat_time_init(void)
|
|
mips_hpt_frequency = cpu_clk_rate / 2;
|
|
}
|
|
|
|
+__setup("board=", mips_machtype_setup);
|
|
+
|
|
static int __init ath79_setup(void)
|
|
{
|
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|