Changeset 11946


Ignore:
Timestamp:
2008-07-26T21:53:34+02:00 (8 years ago)
Author:
juhosg
Message:

[adm5120] initial 2.6.26 support

Location:
trunk/target/linux/adm5120
Files:
14 edited
3 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120/patches-2.6.26/001-adm5120.patch

    r11552 r11946  
    2323        bool "Alchemy processor based machines" 
    2424  
    25 @@ -683,6 +698,7 @@ 
     25@@ -687,6 +702,7 @@ 
    2626  
    2727 endchoice 
  • trunk/target/linux/adm5120/patches-2.6.26/002-adm5120_flash.patch

    r11526 r11946  
    11--- a/drivers/mtd/maps/Kconfig 
    22+++ b/drivers/mtd/maps/Kconfig 
    3 @@ -590,5 +590,9 @@ 
     3@@ -586,5 +586,9 @@ 
    44  
    55          This selection automatically selects the map_ram driver. 
  • trunk/target/linux/adm5120/patches-2.6.26/003-adm5120_switch.patch

    r11526 r11946  
    11--- a/drivers/net/Kconfig 
    22+++ b/drivers/net/Kconfig 
    3 @@ -606,6 +606,10 @@ 
     3@@ -613,6 +613,10 @@ 
    44          If you have an Alchemy Semi AU1X00 based system 
    55          say Y.  Otherwise, say N. 
     
    1414--- a/drivers/net/Makefile 
    1515+++ b/drivers/net/Makefile 
    16 @@ -187,6 +187,7 @@ 
     16@@ -186,6 +186,7 @@ 
    1717 # This is also a 82596 and should probably be merged 
    1818 obj-$(CONFIG_LP486E) += lp486e.o 
  • trunk/target/linux/adm5120/patches-2.6.26/005-adm5120_usb.patch

    r11526 r11946  
    11--- a/drivers/usb/host/Kconfig 
    22+++ b/drivers/usb/host/Kconfig 
    3 @@ -260,3 +260,6 @@ 
    4           To compile this driver as a module, choose M here: the 
    5           module will be called r8a66597-hcd. 
     3@@ -4,6 +4,10 @@ 
     4 comment "USB Host Controller Drivers" 
     5        depends on USB 
    66  
    77+config USB_ADM5120_HCD 
    88+       tristate "ADM5120 HCD support (EXPERIMENTAL)" 
    99+       depends on USB && MIPS_ADM5120 && EXPERIMENTAL 
     10+ 
     11 config USB_C67X00_HCD 
     12        tristate "Cypress C67x00 HCD support" 
     13        depends on USB 
    1014--- a/drivers/usb/host/Makefile 
    1115+++ b/drivers/usb/host/Makefile 
    12 @@ -8,6 +8,7 @@ 
     16@@ -10,6 +10,7 @@ 
    1317  
    1418 obj-$(CONFIG_PCI)              += pci-quirks.o 
     
    2630+obj-$(CONFIG_USB_ADM5120_HCD)          += host/ 
    2731  
    28  obj-$(CONFIG_USB_ACM)          += class/ 
    29  obj-$(CONFIG_USB_PRINTER)      += class/ 
     32 obj-$(CONFIG_USB_C67X00_HCD)   += c67x00/ 
     33  
  • trunk/target/linux/adm5120/patches-2.6.26/006-adm5120_leds.patch

    r11526 r11946  
    11--- a/drivers/leds/Kconfig 
    22+++ b/drivers/leds/Kconfig 
    3 @@ -25,6 +25,21 @@ 
     3@@ -24,6 +24,21 @@ 
    44          This option enables support for LEDs driven using outputs 
    55          of the dedicated PWM controller found on newer Atmel SOCs. 
  • trunk/target/linux/adm5120/patches-2.6.26/007-adm5120_pci.patch

    r11526 r11946  
    88--- a/include/linux/pci_ids.h 
    99+++ b/include/linux/pci_ids.h 
    10 @@ -1705,6 +1705,9 @@ 
     10@@ -1707,6 +1707,9 @@ 
    1111 #define PCI_VENDOR_ID_ESDGMBH          0x12fe 
    1212 #define PCI_DEVICE_ID_ESDGMBH_CPCIASIO4 0x0111 
  • trunk/target/linux/adm5120/patches-2.6.26/009-adm5120_leds_switch_trigger.patch

    r11526 r11946  
    11--- a/drivers/leds/Kconfig 
    22+++ b/drivers/leds/Kconfig 
    3 @@ -213,4 +213,12 @@ 
    4           This allows LEDs to be initialised in the ON state. 
    5           If unsure, say Y. 
     3@@ -215,4 +215,12 @@ 
     4        tristate "LED Morse Trigger" 
     5        depends on LEDS_TRIGGERS 
    66  
    77+config LEDS_TRIGGER_ADM5120_SWITCH 
     
    1818@@ -30,3 +30,4 @@ 
    1919 obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT)   += ledtrig-heartbeat.o 
     20 obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o 
    2021 obj-$(CONFIG_LEDS_TRIGGER_MORSE)       += ledtrig-morse.o 
    21  obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON)  += ledtrig-default-on.o 
    2222+obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o 
  • trunk/target/linux/adm5120/patches-2.6.26/100-mtd_myloder_partition_parser.patch

    r11526 r11946  
    11--- a/drivers/mtd/Kconfig 
    22+++ b/drivers/mtd/Kconfig 
    3 @@ -168,6 +168,22 @@ 
    4           the partition map from the children of the flash node, 
    5           as described in Documentation/powerpc/booting-without-of.txt. 
     3@@ -174,6 +174,22 @@ 
     4        ---help--- 
     5          TI AR7 partitioning support 
    66  
    77+config MTD_MYLOADER_PARTS 
     
    2626--- a/drivers/mtd/Makefile 
    2727+++ b/drivers/mtd/Makefile 
    28 @@ -12,6 +12,7 @@ 
    29  obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o 
     28@@ -13,6 +13,7 @@ 
    3029 obj-$(CONFIG_MTD_AFS_PARTS)    += afs.o 
     30 obj-$(CONFIG_MTD_AR7_PARTS)    += ar7part.o 
    3131 obj-$(CONFIG_MTD_OF_PARTS)      += ofpart.o 
    3232+obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o 
  • trunk/target/linux/adm5120/patches-2.6.26/101-cfi_fixup_macronix_bootloc.patch

    r11526 r11946  
    2121 static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 
    2222 static int cfi_amdstd_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 
    23 @@ -221,6 +228,41 @@ 
    24         mtd->flags |= MTD_POWERUP_LOCK; 
     23@@ -243,6 +250,41 @@ 
     24        } 
    2525 } 
    2626  
     
    6363        { CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri, NULL }, 
    6464 #ifdef AMD_BOOTLOC_BUG 
    65 @@ -252,6 +294,9 @@ 
     65@@ -278,6 +320,9 @@ 
    6666         */ 
    6767        { CFI_MFR_ANY, CFI_ID_ANY, fixup_use_erase_chip, NULL }, 
  • trunk/target/linux/adm5120/patches-2.6.26/102-jedec_pmc_39lvxxx_chips.patch

    r11526 r11946  
    1212 #define PM49FL004      0x006E 
    1313 #define PM49FL008      0x006A 
    14 @@ -1170,6 +1174,54 @@ 
     14@@ -1173,6 +1177,54 @@ 
    1515                        ERASEINFO(0x02000,2), 
    1616                        ERASEINFO(0x04000,1), 
  • trunk/target/linux/adm5120/patches-2.6.26/120-rb153_cf_driver.patch

    r11526 r11946  
    11--- a/drivers/ata/Makefile 
    22+++ b/drivers/ata/Makefile 
    3 @@ -71,6 +71,7 @@ 
     3@@ -72,6 +72,7 @@ 
    44 obj-$(CONFIG_PATA_PLATFORM)    += pata_platform.o 
    55 obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o 
     
    1111--- a/drivers/ata/Kconfig 
    1212+++ b/drivers/ata/Kconfig 
    13 @@ -679,4 +679,13 @@ 
     13@@ -566,6 +566,15 @@ 
    1414  
    1515          If unsure, say N. 
     
    2424+         If unsure, say N. 
    2525+ 
    26  endif # ATA 
     26 config PATA_RB532 
     27        tristate "RouterBoard 532 PATA CompactFlash support" 
     28        depends on MIKROTIK_RB532 
  • trunk/target/linux/adm5120/patches-2.6.26/202-pci_disable_common_quirks.patch

    r11526 r11946  
    3232 static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_fixup *end) 
    3333 { 
    34 @@ -1562,6 +1564,7 @@ 
     34@@ -1561,6 +1563,7 @@ 
    3535 } 
    3636 EXPORT_SYMBOL(pci_fixup_device); 
     
    4040 static void __devinit quirk_p64h2_1k_io(struct pci_dev *dev) 
    4141 { 
    42 @@ -1875,3 +1878,4 @@ 
     42@@ -1929,3 +1932,4 @@ 
    4343                        quirk_msi_intx_disable_bug); 
    4444  
  • trunk/target/linux/adm5120/patches-2.6.26/203-gpio_leds_brightness.patch

    r11526 r11946  
    11--- a/drivers/leds/leds-gpio.c 
    22+++ b/drivers/leds/leds-gpio.c 
    3 @@ -41,13 +41,17 @@ 
     3@@ -43,13 +43,17 @@ 
    44                container_of(led_cdev, struct gpio_led_data, cdev); 
    55        int level; 
  • trunk/target/linux/adm5120/patches-2.6.26/310-adm5120_wdt.patch

    r11526 r11946  
    11--- a/drivers/watchdog/Kconfig 
    22+++ b/drivers/watchdog/Kconfig 
    3 @@ -619,6 +619,18 @@ 
     3@@ -632,6 +632,18 @@ 
    44  
    55 # MIPS Architecture 
     
    2222--- a/drivers/watchdog/Makefile 
    2323+++ b/drivers/watchdog/Makefile 
    24 @@ -90,6 +90,7 @@ 
     24@@ -91,6 +91,7 @@ 
    2525 # M68KNOMMU Architecture 
    2626  
  • trunk/target/linux/adm5120/router_be/config-2.6.26

    r11939 r11946  
    11CONFIG_32BIT=y 
    22# CONFIG_64BIT is not set 
     3# CONFIG_ACCESSIBILITY is not set 
    34CONFIG_ADM5120_CPU_OVERRIDES=y 
    45CONFIG_ADM5120_WDT=y 
     
    7374CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 
    7475CONFIG_GENERIC_CMOS_UPDATE=y 
     76# CONFIG_GENERIC_FIND_FIRST_BIT is not set 
    7577CONFIG_GENERIC_FIND_NEXT_BIT=y 
    7678CONFIG_GENERIC_GPIO=y 
     
    7981CONFIG_HAS_IOMEM=y 
    8082CONFIG_HAS_IOPORT=y 
     83# CONFIG_HAVE_DMA_ATTRS is not set 
    8184CONFIG_HAVE_IDE=y 
    8285# CONFIG_HAVE_KPROBES is not set 
     
    103106# CONFIG_INPUT_EVDEV is not set 
    104107CONFIG_IPV6_MIP6=m 
     108# CONFIG_IPV6_MROUTE is not set 
     109CONFIG_IPV6_NDISC_NODETYPE=y 
    105110CONFIG_IPV6_PRIVACY=y 
    106111CONFIG_IPV6_ROUTE_INFO=y 
     
    108113CONFIG_IP_NF_TARGET_CLUSTERIP=m 
    109114CONFIG_IRQ_CPU=y 
     115# CONFIG_IWLWIFI_LEDS is not set 
    110116# CONFIG_JOLIET is not set 
    111117CONFIG_LEDS_ADM5120=m 
     
    124130# CONFIG_MACH_JAZZ is not set 
    125131# CONFIG_MACH_VR41XX is not set 
     132# CONFIG_MEDIA_ATTACH is not set 
    126133# CONFIG_MEMSTICK is not set 
    127134CONFIG_MII=m 
     
    191198# CONFIG_NET_VENDOR_3COM is not set 
    192199# CONFIG_NO_IOPORT is not set 
     200# CONFIG_OCF_OCF is not set 
     201CONFIG_PAGEFLAGS_EXTENDED=y 
    193202# CONFIG_PAGE_SIZE_16KB is not set 
    194203CONFIG_PAGE_SIZE_4KB=y 
     
    201210CONFIG_PCI_DISABLE_COMMON_QUIRKS=y 
    202211CONFIG_PCI_DOMAINS=y 
     212# CONFIG_PCSPKR_PLATFORM is not set 
    203213# CONFIG_PMC_MSP is not set 
    204214# CONFIG_PMC_YOSEMITE is not set 
    205215# CONFIG_PNX8550_JBS is not set 
    206216# CONFIG_PNX8550_STB810 is not set 
    207 # CONFIG_RTC is not set 
     217CONFIG_RFKILL_LEDS=y 
    208218CONFIG_RTC_LIB=y 
    209219CONFIG_RWSEM_GENERIC_SPINLOCK=y 
     
    236246# CONFIG_SIBYTE_SWARM is not set 
    237247CONFIG_SLABINFO=y 
     248# CONFIG_SND_AW2 is not set 
    238249CONFIG_SOFT_WATCHDOG=m 
    239250# CONFIG_SPARSEMEM_STATIC is not set 
    240251# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 
    241252CONFIG_SSB_POSSIBLE=y 
     253CONFIG_SWAP_IO_SPACE=y 
    242254CONFIG_SYSVIPC_SYSCTL=y 
    243255CONFIG_SYS_HAS_CPU_MIPS32_R1=y 
     
    248260CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y 
    249261# CONFIG_THERMAL is not set 
     262# CONFIG_THERMAL_HWMON is not set 
    250263CONFIG_TICK_ONESHOT=y 
    251264CONFIG_TMPFS_POSIX_ACL=y 
     
    257270# CONFIG_USBPCWATCHDOG is not set 
    258271CONFIG_USB_ADM5120_HCD=m 
     272# CONFIG_USB_C67X00_HCD is not set 
    259273CONFIG_USB_DEBUG=y 
    260274CONFIG_USB_EHCI_HCD=m 
     275CONFIG_USB_HSO=m 
     276# CONFIG_USB_ISIGHTFW is not set 
     277# CONFIG_USB_ISP1760_HCD is not set 
    261278# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set 
    262279# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set 
    263280CONFIG_USB_OHCI_HCD=m 
    264281# CONFIG_USB_R8A66597_HCD is not set 
     282CONFIG_USB_SERIAL_MOTOROLA=m 
     283CONFIG_USB_SERIAL_SPCP8X5=m 
     284# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set 
    265285# CONFIG_USB_UHCI_HCD is not set 
     286# CONFIG_USB_WDM is not set 
    266287# CONFIG_VGASTATE is not set 
     288# CONFIG_VIDEO_ALLOW_V4L1 is not set 
     289CONFIG_VIDEO_MEDIA=m 
     290CONFIG_VIDEO_V4L2=m 
    267291CONFIG_VIDEO_V4L2_COMMON=m 
    268292CONFIG_VM_EVENT_COUNTERS=y 
     293# CONFIG_XFS_DEBUG is not set 
    269294CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/adm5120/router_le/config-2.6.26

    r11939 r11946  
    11CONFIG_32BIT=y 
    22# CONFIG_64BIT is not set 
     3# CONFIG_ACCESSIBILITY is not set 
    34CONFIG_ADM5120_CPU_OVERRIDES=y 
    45CONFIG_ADM5120_WDT=y 
     
    7374CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 
    7475CONFIG_GENERIC_CMOS_UPDATE=y 
     76# CONFIG_GENERIC_FIND_FIRST_BIT is not set 
    7577CONFIG_GENERIC_FIND_NEXT_BIT=y 
    7678CONFIG_GENERIC_GPIO=y 
     
    7981CONFIG_HAS_IOMEM=y 
    8082CONFIG_HAS_IOPORT=y 
     83# CONFIG_HAVE_DMA_ATTRS is not set 
    8184CONFIG_HAVE_IDE=y 
    8285# CONFIG_HAVE_KPROBES is not set 
     
    103106# CONFIG_INPUT_EVDEV is not set 
    104107CONFIG_IPV6_MIP6=m 
     108# CONFIG_IPV6_MROUTE is not set 
     109CONFIG_IPV6_NDISC_NODETYPE=y 
    105110CONFIG_IPV6_PRIVACY=y 
    106111CONFIG_IPV6_ROUTE_INFO=y 
     
    108113CONFIG_IP_NF_TARGET_CLUSTERIP=m 
    109114CONFIG_IRQ_CPU=y 
     115# CONFIG_IWLWIFI_LEDS is not set 
    110116# CONFIG_JOLIET is not set 
    111117CONFIG_LEDS_ADM5120=m 
     
    124130# CONFIG_MACH_JAZZ is not set 
    125131# CONFIG_MACH_VR41XX is not set 
     132# CONFIG_MEDIA_ATTACH is not set 
    126133# CONFIG_MEMSTICK is not set 
    127134CONFIG_MII=m 
     
    202209# CONFIG_NET_VENDOR_3COM is not set 
    203210# CONFIG_NO_IOPORT is not set 
     211# CONFIG_OCF_OCF is not set 
     212CONFIG_PAGEFLAGS_EXTENDED=y 
    204213# CONFIG_PAGE_SIZE_16KB is not set 
    205214CONFIG_PAGE_SIZE_4KB=y 
     
    212221CONFIG_PCI_DISABLE_COMMON_QUIRKS=y 
    213222CONFIG_PCI_DOMAINS=y 
     223# CONFIG_PCSPKR_PLATFORM is not set 
    214224# CONFIG_PMC_MSP is not set 
    215225# CONFIG_PMC_YOSEMITE is not set 
    216226# CONFIG_PNX8550_JBS is not set 
    217227# CONFIG_PNX8550_STB810 is not set 
    218 # CONFIG_RTC is not set 
     228CONFIG_RFKILL_LEDS=y 
    219229CONFIG_RTC_LIB=y 
    220230CONFIG_RWSEM_GENERIC_SPINLOCK=y 
     
    247257# CONFIG_SIBYTE_SWARM is not set 
    248258CONFIG_SLABINFO=y 
     259# CONFIG_SND_AW2 is not set 
    249260CONFIG_SOFT_WATCHDOG=m 
    250261# CONFIG_SPARSEMEM_STATIC is not set 
     
    259270CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y 
    260271# CONFIG_THERMAL is not set 
     272# CONFIG_THERMAL_HWMON is not set 
    261273CONFIG_TICK_ONESHOT=y 
    262274CONFIG_TMPFS_POSIX_ACL=y 
     
    268280# CONFIG_USBPCWATCHDOG is not set 
    269281CONFIG_USB_ADM5120_HCD=m 
     282# CONFIG_USB_C67X00_HCD is not set 
    270283CONFIG_USB_DEBUG=y 
    271284CONFIG_USB_EHCI_HCD=m 
     285CONFIG_USB_HSO=m 
     286# CONFIG_USB_ISIGHTFW is not set 
     287# CONFIG_USB_ISP1760_HCD is not set 
    272288# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set 
    273289# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set 
    274290CONFIG_USB_OHCI_HCD=m 
    275291# CONFIG_USB_R8A66597_HCD is not set 
     292CONFIG_USB_SERIAL_MOTOROLA=m 
     293CONFIG_USB_SERIAL_SPCP8X5=m 
     294# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set 
    276295# CONFIG_USB_UHCI_HCD is not set 
     296# CONFIG_USB_WDM is not set 
    277297# CONFIG_VGASTATE is not set 
    278 CONFIG_VIDEO_V4L1=y 
     298# CONFIG_VIDEO_ALLOW_V4L1 is not set 
     299CONFIG_VIDEO_MEDIA=m 
     300CONFIG_VIDEO_V4L2=m 
    279301CONFIG_VIDEO_V4L2_COMMON=m 
    280302CONFIG_VM_EVENT_COUNTERS=y 
     303# CONFIG_XFS_DEBUG is not set 
    281304CONFIG_YAFFS_9BYTE_TAGS=y 
    282305# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set 
Note: See TracChangeset for help on using the changeset viewer.