source: trunk/target/linux/ar71xx/patches-3.3/612-ALL0315N-support.patch @ 33387

Last change on this file since 33387 was 33387, checked in by juhosg, 4 years ago

ar71xx: add device registration code for the AR934x NAND flash controller

File size: 1.4 KB
  • arch/mips/ath79/Kconfig

    a b config ATH79_MACH_ALL0258N 
    3838        select ATH79_DEV_LEDS_GPIO 
    3939        select ATH79_DEV_M25P80 
    4040 
     41config ATH79_MACH_ALL0315N 
     42        bool "Allnet ALL0315N support" 
     43        select SOC_AR724X 
     44        select ATH79_DEV_AP9X_PCI if PCI 
     45        select ATH79_DEV_ETH 
     46        select ATH79_DEV_GPIO_BUTTONS 
     47        select ATH79_DEV_LEDS_GPIO 
     48        select ATH79_DEV_M25P80 
     49 
    4150config ATH79_MACH_AP113 
    4251        bool "Atheros AP113 board support" 
    4352        select SOC_AR724X 
  • arch/mips/ath79/Makefile

    a b obj-$(CONFIG_ATH79_ROUTERBOOT) += route 
    4141obj-$(CONFIG_ATH79_MACH_ALFA_AP96)      += mach-alfa-ap96.o 
    4242obj-$(CONFIG_ATH79_MACH_ALFA_NX)        += mach-alfa-nx.o 
    4343obj-$(CONFIG_ATH79_MACH_ALL0258N)       += mach-all0258n.o 
     44obj-$(CONFIG_ATH79_MACH_ALL0315N)       += mach-all0315n.o 
    4445obj-$(CONFIG_ATH79_MACH_AP113)          += mach-ap113.o 
    4546obj-$(CONFIG_ATH79_MACH_AP121)          += mach-ap121.o 
    4647obj-$(CONFIG_ATH79_MACH_AP136)          += mach-ap136.o 
  • arch/mips/ath79/machtypes.h

    a b enum ath79_mach_type { 
    2020        ATH79_MACH_ALFA_NX,             /* ALFA Network N2/N5 board */ 
    2121        ATH79_MACH_ALL0258N,            /* Allnet ALL0258N */ 
    2222        ATH79_MACH_ALL0305,             /* Allnet ALL0305 */ 
     23        ATH79_MACH_ALL0315N,            /* Allnet ALL0315N */ 
    2324        ATH79_MACH_AP113,               /* Atheros AP113 reference board */ 
    2425        ATH79_MACH_AP121,               /* Atheros AP121 reference board */ 
    2526        ATH79_MACH_AP121_MINI,          /* Atheros AP121-MINI reference board */ 
Note: See TracBrowser for help on using the repository browser.