Changeset 22658


Ignore:
Timestamp:
2010-08-15T11:43:07+02:00 (6 years ago)
Author:
juhosg
Message:

ramips: add support for Sparklan WCR-150GN board

This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.

Signed-off-by: Roman Yeryomin <roman@…>

Location:
trunk/target/linux/ramips
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h

    r19400 r22658  
    2222 
    2323        /* RT3052 based machines */ 
     24        RAMIPS_MACH_WCR150GN,           /* Sparklan WCR-150GN */ 
    2425        RAMIPS_MACH_V22RW_2X2,          /* Ralink AP-RT3052-V22RW-2X2 */ 
    2526        RAMIPS_MACH_WHR_G300N,          /* Buffalo WHR-G300N */ 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig

    r19413 r22658  
    2121        select RALINK_DEV_GPIO_LEDS 
    2222 
     23config RT305X_MACH_WCR150GN 
     24        bool "Sparklan WCR-150GN support" 
     25        default y 
     26        select RALINK_DEV_GPIO_BUTTONS 
     27        select RALINK_DEV_GPIO_LEDS 
     28 
    2329config RT305X_MACH_FONERA20N 
    2430        bool "La Fonera20N board support" 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile

    r18132 r22658  
    1414obj-$(CONFIG_RT305X_MACH_DIR_300_REVB)  += mach-dir-300-revb.o 
    1515obj-$(CONFIG_RT305X_MACH_V22RW_2X2)     += mach-v22rw-2x2.o 
     16obj-$(CONFIG_RT305X_MACH_WCR150GN)      += mach-wcr150gn.o 
    1617obj-$(CONFIG_RT305X_MACH_WHR_G300N)     += mach-whr-g300n.o 
    1718obj-$(CONFIG_RT305X_MACH_FONERA20N)     += mach-fonera20n.o 
  • trunk/target/linux/ramips/image/Makefile

    r22435 r22658  
    9797endef 
    9898 
     99 
     100mtdlayout_wcr150gn=mtdparts=physmap-flash.0:192k(Bootloader)ro,64k(Config),64k(Factory),832k(Kernel),2944k(rootfs),3776k@0x50000(firmware) 
     101mtd_wcr150gn_kernel_part_size=851968 
     102mtd_wcr150gn_rootfs_part_size=3014656 
     103define Image/Build/Template/WCR150GN 
     104        $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_wcr150gn,$(mtd_wcr150gn_kernel_part_size),$(mtd_wcr150gn_rootfs_part_size)) 
     105endef 
     106 
     107define Image/Build/Profile/WCR150GN 
     108        $(call Image/Build/Template/WCR150GN,$(1),wcr150gn,WCR150GN) 
     109endef 
     110 
     111 
    99112ifeq ($(CONFIG_RALINK_RT305X),y) 
    100113define Image/Build/Profile/Default 
     
    103116        $(call Image/Build/Profile/V22RW2X2,$(1)) 
    104117        $(call Image/Build/Profile/WHRG300N,$(1)) 
     118        $(call Image/Build/Profile/WCR150GN,$(1)) 
    105119endef 
    106120endif 
  • trunk/target/linux/ramips/rt305x/config-2.6.32

    r21603 r22658  
    120120CONFIG_RT305X_MACH_FONERA20N=y 
    121121CONFIG_RT305X_MACH_V22RW_2X2=y 
     122CONFIG_RT305X_MACH_WCR150GN=y 
    122123CONFIG_RT305X_MACH_WHR_G300N=y 
    123124CONFIG_SCHED_OMIT_FRAME_POINTER=y 
  • trunk/target/linux/ramips/rt305x/config-2.6.34

    r22170 r22658  
    130130CONFIG_RT305X_MACH_FONERA20N=y 
    131131CONFIG_RT305X_MACH_V22RW_2X2=y 
     132CONFIG_RT305X_MACH_WCR150GN=y 
    132133CONFIG_RT305X_MACH_WHR_G300N=y 
    133134CONFIG_SCHED_OMIT_FRAME_POINTER=y 
Note: See TracChangeset for help on using the changeset viewer.