0019-MIPS-ath79-process-board-cmdline-option.patch 701 B

1234567891011121314151617181920212223242526
  1. From 4c84b317734842765cb1c52624fc569efd9222dc Mon Sep 17 00:00:00 2001
  2. From: Phil Sutter <phil@nwl.cc>
  3. Date: Tue, 13 May 2014 02:11:59 +0200
  4. Subject: [PATCH] MIPS: ath79: process board cmdline option
  5. This is necessary to correctly identify the running machine.
  6. ---
  7. arch/mips/ath79/setup.c | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c
  10. index 64807a4..0c95758 100644
  11. --- a/arch/mips/ath79/setup.c
  12. +++ b/arch/mips/ath79/setup.c
  13. @@ -229,6 +229,8 @@ void __init plat_time_init(void)
  14. mips_hpt_frequency = cpu_clk_rate / 2;
  15. }
  16. +__setup("board=", mips_machtype_setup);
  17. +
  18. static int __init ath79_setup(void)
  19. {
  20. ath79_gpio_init();
  21. --
  22. 1.8.5.3