Changeset 24126


Ignore:
Timestamp:
2010-11-24T11:01:23+01:00 (7 years ago)
Author:
juhosg
Message:

ramips: add support for Belkin F5D8235 v2 board

No support for usb for now.

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

    r23129 r24126  
    2222 
    2323        /* RT3052 based machines */ 
     24        RAMIPS_MACH_F5D8235_V2,         /* Belkin F5D8235 v2 */ 
    2425        RAMIPS_MACH_PWH2004,            /* Prolink 2004H / Abocom 5205 */ 
    2526        RAMIPS_MACH_WCR150GN,           /* Sparklan WCR-150GN */ 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig

    r23129 r24126  
    22 
    33menu "Ralink RT350x machine selection" 
     4 
     5config RT305X_MACH_F5D8235_V2 
     6        bool "Belkin F5D8235 v2 support" 
     7        default y 
     8        select RALINK_DEV_GPIO_BUTTONS 
     9        select RALINK_DEV_GPIO_LEDS 
    410 
    511config RT305X_MACH_WHR_G300N 
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile

    r23129 r24126  
    1212obj-$(CONFIG_EARLY_PRINTK)              += early_printk.o 
    1313 
     14obj-$(CONFIG_RT305X_MACH_F5D8235_V2)    += mach-f5d8235-v2.o 
    1415obj-$(CONFIG_RT305X_MACH_DIR_300_REVB)  += mach-dir-300-revb.o 
    1516obj-$(CONFIG_RT305X_MACH_V22RW_2X2)     += mach-v22rw-2x2.o 
  • trunk/target/linux/ramips/image/Makefile

    r23129 r24126  
    114114 
    115115 
     116mtdlayout_f5d8235=mtdparts=physmap-flash.0:320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware) 
     117mtd_f5d8235_kernel_part_size=1572864 
     118mtd_f5d8235_rootfs_part_size=6356992 
     119define Image/Build/Template/F5D8235V2 
     120        $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size)) 
     121endef 
     122 
     123define Image/Build/Profile/F5D8235V2 
     124        $(call Image/Build/Template/F5D8235V2,$(1),f5d8235v2,F5D8235_V2) 
     125endef 
     126 
     127 
    116128ifeq ($(CONFIG_RALINK_RT305X),y) 
    117129define Image/Build/Profile/Default 
     
    122134        $(call Image/Build/Profile/WHRG300N,$(1)) 
    123135        $(call Image/Build/Profile/WCR150GN,$(1)) 
     136        $(call Image/Build/Profile/F5D8235V2,$(1)) 
    124137endef 
    125138endif 
  • trunk/target/linux/ramips/rt305x/config-2.6.32

    r23129 r24126  
    118118CONFIG_RALINK_RT305X=y 
    119119CONFIG_RT305X_MACH_DIR_300_REVB=y 
     120CONFIG_RT305X_MACH_F5D8235_V2=y 
    120121CONFIG_RT305X_MACH_FONERA20N=y 
    121122CONFIG_RT305X_MACH_V22RW_2X2=y 
  • trunk/target/linux/ramips/rt305x/config-2.6.34

    r23129 r24126  
    128128CONFIG_RALINK_RT305X=y 
    129129CONFIG_RT305X_MACH_DIR_300_REVB=y 
     130CONFIG_RT305X_MACH_F5D8235_V2=y 
    130131CONFIG_RT305X_MACH_FONERA20N=y 
    131132CONFIG_RT305X_MACH_V22RW_2X2=y 
Note: See TracChangeset for help on using the changeset viewer.