Changeset 38319


Ignore:
Timestamp:
2013-10-07T17:02:23+02:00 (4 years ago)
Author:
blogic
Message:

ralink: make cevt systick selectable via kconfig

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/target/linux/ramips
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/mt7620a/config-3.10

    r38026 r38319  
    1010CONFIG_CEVT_R4K=y 
    1111CONFIG_CLKDEV_LOOKUP=y 
    12 CONFIG_CLKEVT_RT3352=y 
     12# CONFIG_CLKEVT_RT3352 is not set 
    1313CONFIG_CLKSRC_MMIO=y 
    1414CONFIG_CLKSRC_OF=y 
  • trunk/target/linux/ramips/patches-3.10/0011-MIPS-ralink-add-support-for-systick-timer-found-on-n.patch

    r37778 r38319  
    1717 create mode 100644 arch/mips/ralink/cevt-rt3352.c 
    1818 
    19 --- a/arch/mips/ralink/Kconfig 
    20 +++ b/arch/mips/ralink/Kconfig 
     19Index: linux-3.10.13/arch/mips/ralink/Kconfig 
     20=================================================================== 
     21--- linux-3.10.13.orig/arch/mips/ralink/Kconfig 2013-09-27 02:18:49.000000000 +0200 
     22+++ linux-3.10.13/arch/mips/ralink/Kconfig      2013-10-02 21:40:41.252368892 +0200 
    2123@@ -1,5 +1,12 @@ 
    2224 if RALINK 
    2325  
    2426+config CLKEVT_RT3352 
    25 +       bool 
     27+       bool "Systick Clockevent source" 
    2628+       depends on SOC_RT305X || SOC_MT7620 
    2729+       default y 
     
    3234        prompt "Ralink SoC selection" 
    3335        default SOC_RT305X 
    34 --- a/arch/mips/ralink/Makefile 
    35 +++ b/arch/mips/ralink/Makefile 
     36Index: linux-3.10.13/arch/mips/ralink/Makefile 
     37=================================================================== 
     38--- linux-3.10.13.orig/arch/mips/ralink/Makefile        2013-10-02 20:46:43.856230578 +0200 
     39+++ linux-3.10.13/arch/mips/ralink/Makefile     2013-10-02 21:13:11.584298451 +0200 
    3640@@ -8,6 +8,8 @@ 
    3741  
     
    4347 obj-$(CONFIG_SOC_RT305X) += rt305x.o 
    4448 obj-$(CONFIG_SOC_RT3883) += rt3883.o 
    45 --- /dev/null 
    46 +++ b/arch/mips/ralink/cevt-rt3352.c 
     49Index: linux-3.10.13/arch/mips/ralink/cevt-rt3352.c 
     50=================================================================== 
     51--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     52+++ linux-3.10.13/arch/mips/ralink/cevt-rt3352.c        2013-10-02 21:13:19.396298787 +0200 
    4753@@ -0,0 +1,145 @@ 
    4854+/* 
  • trunk/target/linux/ramips/rt305x/config-3.10

    r38181 r38319  
    1010CONFIG_CEVT_R4K=y 
    1111CONFIG_CLKDEV_LOOKUP=y 
    12 CONFIG_CLKEVT_RT3352=y 
     12# CONFIG_CLKEVT_RT3352 is not set 
    1313CONFIG_CLKSRC_MMIO=y 
    1414CONFIG_CLKSRC_OF=y 
Note: See TracChangeset for help on using the changeset viewer.