Changeset 27396


Ignore:
Timestamp:
2011-07-03T17:02:06+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: add 2.6.39 support

Based on the patches from #9625

Location:
trunk/target/linux/ramips
Files:
2 added
10 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/patches-2.6.39/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch

    r27395 r27396  
    11--- a/drivers/mtd/chips/cfi_cmdset_0002.c 
    22+++ b/drivers/mtd/chips/cfi_cmdset_0002.c 
    3 @@ -1640,7 +1640,7 @@ static int __xipram do_erase_chip(struct 
     3@@ -1631,7 +1631,7 @@ static int __xipram do_erase_chip(struct 
    44                        chip->erase_suspended = 0; 
    55                } 
     
    1010  
    1111                if (time_after(jiffies, timeo)) { 
    12 @@ -1728,7 +1728,7 @@ static int __xipram do_erase_oneblock(st 
     12@@ -1719,7 +1719,7 @@ static int __xipram do_erase_oneblock(st 
    1313                        chip->erase_suspended = 0; 
    1414                } 
  • trunk/target/linux/ramips/patches-2.6.39/011-mtd-cfi_cmdset_0002-force-word-write.patch

    r27395 r27396  
    3636 /* Atmel chips don't use the same PRI format as AMD chips */ 
    3737 static void fixup_convert_atmel_pri(struct mtd_info *mtd) 
    38 @@ -1379,6 +1383,7 @@ static int cfi_amdstd_write_words(struct 
     38@@ -1377,6 +1381,7 @@ static int cfi_amdstd_write_words(struct 
    3939 /* 
    4040  * FIXME: interleaved mode not tested, and probably not supported! 
     
    4444                                    unsigned long adr, const u_char *buf, 
    4545                                    int len) 
    46 @@ -1489,7 +1494,6 @@ static int __xipram do_write_buffer(stru 
     46@@ -1487,7 +1492,6 @@ static int __xipram do_write_buffer(stru 
    4747        return ret; 
    4848 } 
     
    5252                                    size_t *retlen, const u_char *buf) 
    5353 { 
    54 @@ -1568,6 +1572,7 @@ static int cfi_amdstd_write_buffers(stru 
     54@@ -1566,6 +1570,7 @@ static int cfi_amdstd_write_buffers(stru 
    5555  
    5656        return 0; 
     
    5858+#endif /* !FORCE_WORD_WRITE */ 
    5959  
     60  
    6061 /* 
    61   * Handle devices with one erase region, that only implement 
  • trunk/target/linux/ramips/patches-2.6.39/100-mips-ralink-core.patch

    r27395 r27396  
    3030--- a/arch/mips/Kconfig 
    3131+++ b/arch/mips/Kconfig 
    32 @@ -65,6 +65,9 @@ config AR7 
    33           Support for the Texas Instruments AR7 System-on-a-Chip 
    34           family: TNETD7100, 7200 and 7300. 
     32@@ -84,6 +84,9 @@ config ATH79 
     33        help 
     34          Support for the Atheros AR71XX/AR724X/AR913X SoCs. 
    3535  
    3636+config MIPS_RALINK 
     
    4040        bool "Broadcom BCM47XX based boards" 
    4141        select CEVT_R4K 
    42 @@ -722,6 +725,7 @@ source "arch/mips/jazz/Kconfig" 
     42@@ -745,6 +748,7 @@ source "arch/mips/jazz/Kconfig" 
    4343 source "arch/mips/jz4740/Kconfig" 
    4444 source "arch/mips/lasat/Kconfig" 
     
    4848 source "arch/mips/sgi-ip27/Kconfig" 
    4949 source "arch/mips/sibyte/Kconfig" 
    50 @@ -1081,7 +1085,7 @@ config BOOT_ELF32 
     50@@ -1102,7 +1106,7 @@ config BOOT_ELF32 
    5151  
    5252 config MIPS_L1_CACHE_SHIFT 
  • trunk/target/linux/ramips/patches-2.6.39/101-rt288x_serial_driver_hack.patch

    r27395 r27396  
    1 --- a/drivers/serial/8250.c 
    2 +++ b/drivers/serial/8250.c 
     1--- a/drivers/tty/serial/8250.c 
     2+++ b/drivers/tty/serial/8250.c 
    33@@ -305,9 +305,9 @@ static const struct serial8250_config ua 
    44        }, 
     
    1313        [UART_RX]  = 0, 
    1414        [UART_IER] = 2, 
    15 @@ -571,8 +571,8 @@ static inline void _serial_dl_write(stru 
     15@@ -597,8 +597,8 @@ static inline void _serial_dl_write(stru 
    1616        serial_outp(up, UART_DLM, value >> 8 & 0xff); 
    1717 } 
     
    2424 { 
    2525        if (up->port.iotype == UPIO_AU) 
    26 @@ -779,22 +779,19 @@ static int size_fifo(struct uart_8250_po 
     26@@ -805,22 +805,19 @@ static int size_fifo(struct uart_8250_po 
    2727  */ 
    2828 static unsigned int autoconfig_read_divisor_id(struct uart_8250_port *p) 
     
    3434  
    3535        old_lcr = serial_inp(p, UART_LCR); 
    36         serial_outp(p, UART_LCR, UART_LCR_DLAB); 
     36        serial_outp(p, UART_LCR, UART_LCR_CONF_MODE_A); 
    3737  
    3838-       old_dll = serial_inp(p, UART_DLL); 
     
    5353  
    5454        return id; 
    55 --- a/drivers/serial/Kconfig 
    56 +++ b/drivers/serial/Kconfig 
     55@@ -946,7 +943,7 @@ static int broken_efr(struct uart_8250_p 
     56        /* 
     57         * Exar ST16C2550 "A2" devices incorrectly detect as 
     58         * having an EFR, and report an ID of 0x0201.  See 
     59-        * http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-11/4812.html  
     60+        * http://linux.derkeiler.com/Mailing-Lists/Kernel/2004-11/4812.html 
     61         */ 
     62        if (autoconfig_read_divisor_id(up) == 0x0201 && size_fifo(up) == 16) 
     63                return 1; 
     64--- a/drivers/tty/serial/Kconfig 
     65+++ b/drivers/tty/serial/Kconfig 
    5766@@ -258,6 +258,14 @@ config SERIAL_8250_ACORN 
    5867          system, say Y to this option.  The driver can handle 1, 2, or 3 port 
     
    7281--- a/include/linux/serial_core.h 
    7382+++ b/include/linux/serial_core.h 
    74 @@ -307,7 +307,7 @@ struct uart_port { 
     83@@ -311,7 +311,7 @@ struct uart_port { 
    7584 #define UPIO_HUB6              (1) 
    7685 #define UPIO_MEM               (2) 
  • trunk/target/linux/ramips/patches-2.6.39/103-ethernet.patch

    r27395 r27396  
    1616--- a/drivers/net/Makefile 
    1717+++ b/drivers/net/Makefile 
    18 @@ -225,6 +225,7 @@ obj-$(CONFIG_KORINA) += korina.o 
     18@@ -227,6 +227,7 @@ obj-$(CONFIG_KORINA) += korina.o 
    1919 obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o 
    2020 obj-$(CONFIG_MIPS_AU1X00_ENET) += au1000_eth.o 
  • trunk/target/linux/ramips/patches-2.6.39/104-ramips-watchdog-driver.patch

    r27395 r27396  
    11--- a/drivers/watchdog/Kconfig 
    22+++ b/drivers/watchdog/Kconfig 
    3 @@ -930,6 +930,13 @@ config BCM63XX_WDT 
     3@@ -990,6 +990,13 @@ config BCM63XX_WDT 
    44          To compile this driver as a loadable module, choose M here. 
    55          The module will be called bcm63xx_wdt. 
     
    1717--- a/drivers/watchdog/Makefile 
    1818+++ b/drivers/watchdog/Makefile 
    19 @@ -119,6 +119,7 @@ obj-$(CONFIG_AR7_WDT) += ar7_wdt.o 
     19@@ -123,6 +123,7 @@ obj-$(CONFIG_AR7_WDT) += ar7_wdt.o 
    2020 obj-$(CONFIG_TXX9_WDT) += txx9wdt.o 
    2121 obj-$(CONFIG_OCTEON_WDT) += octeon-wdt.o 
  • trunk/target/linux/ramips/rt288x/config-2.6.39

    r27395 r27396  
     1# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set 
    12# CONFIG_ARCH_HAS_ILOG2_U32 is not set 
    23# CONFIG_ARCH_HAS_ILOG2_U64 is not set 
     
    89CONFIG_ARCH_SUPPORTS_OPROFILE=y 
    910CONFIG_ARCH_SUSPEND_POSSIBLE=y 
    10 # CONFIG_AUTO_IRQ_AFFINITY is not set 
     11# CONFIG_ATH79 is not set 
    1112CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
    1213CONFIG_CEVT_R4K=y 
     
    3738CONFIG_GENERIC_FIND_NEXT_BIT=y 
    3839CONFIG_GENERIC_GPIO=y 
    39 # CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED is not set 
    40 CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y 
    41 # CONFIG_GENERIC_PENDING_IRQ is not set 
     40CONFIG_GENERIC_IRQ_SHOW=y 
    4241CONFIG_GPIOLIB=y 
    4342CONFIG_GPIO_SYSFS=y 
    44 # CONFIG_HARDIRQS_SW_RESEND is not set 
    4543CONFIG_HARDWARE_WATCHPOINTS=y 
    4644CONFIG_HAS_DMA=y 
    4745CONFIG_HAS_IOMEM=y 
    4846CONFIG_HAS_IOPORT=y 
     47CONFIG_HAVE_ARCH_JUMP_LABEL=y 
    4948CONFIG_HAVE_ARCH_KGDB=y 
    5049CONFIG_HAVE_C_RECORDMCOUNT=y 
     
    5958CONFIG_HAVE_GENERIC_HARDIRQS=y 
    6059CONFIG_HAVE_IDE=y 
     60CONFIG_HAVE_IRQ_WORK=y 
    6161CONFIG_HAVE_OPROFILE=y 
    6262CONFIG_HAVE_PERF_EVENTS=y 
    63 # CONFIG_HAVE_SPARSE_IRQ is not set 
    6463CONFIG_HW_HAS_PCI=y 
    6564CONFIG_HW_RANDOM=m 
     
    6766CONFIG_INITRAMFS_SOURCE="" 
    6867CONFIG_IRQ_CPU=y 
    69 # CONFIG_IRQ_PER_CPU is not set 
    7068# CONFIG_LEDS_GPIO is not set 
    71 CONFIG_LOONGSON_UART_BASE=y 
    7269CONFIG_MACH_NO_WESTBRIDGE=y 
    7370# CONFIG_MII is not set 
     71# CONFIG_MINIX_FS_NATIVE_ENDIAN is not set 
    7472CONFIG_MIPS=y 
    7573CONFIG_MIPS_L1_CACHE_SHIFT=4 
     
    114112CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y 
    115113CONFIG_USB_SUPPORT=y 
     114CONFIG_XZ_DEC=y 
    116115CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/rt305x/config-2.6.39

    r27395 r27396  
     1# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set 
    12# CONFIG_ARCH_HAS_ILOG2_U32 is not set 
    23# CONFIG_ARCH_HAS_ILOG2_U64 is not set 
     
    89CONFIG_ARCH_SUPPORTS_OPROFILE=y 
    910CONFIG_ARCH_SUSPEND_POSSIBLE=y 
    10 # CONFIG_AUTO_IRQ_AFFINITY is not set 
     11# CONFIG_ATH79 is not set 
    1112CONFIG_CC_OPTIMIZE_FOR_SIZE=y 
    1213CONFIG_CEVT_R4K=y 
     
    3738CONFIG_GENERIC_FIND_NEXT_BIT=y 
    3839CONFIG_GENERIC_GPIO=y 
    39 # CONFIG_GENERIC_HARDIRQS_NO_DEPRECATED is not set 
    40 CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y 
    41 # CONFIG_GENERIC_PENDING_IRQ is not set 
     40CONFIG_GENERIC_IRQ_SHOW=y 
    4241CONFIG_GPIOLIB=y 
    4342CONFIG_GPIO_SYSFS=y 
    44 # CONFIG_HARDIRQS_SW_RESEND is not set 
    4543CONFIG_HARDWARE_WATCHPOINTS=y 
    4644CONFIG_HAS_DMA=y 
    4745CONFIG_HAS_IOMEM=y 
    4846CONFIG_HAS_IOPORT=y 
     47CONFIG_HAVE_ARCH_JUMP_LABEL=y 
    4948CONFIG_HAVE_ARCH_KGDB=y 
    5049CONFIG_HAVE_C_RECORDMCOUNT=y 
     
    5958CONFIG_HAVE_GENERIC_HARDIRQS=y 
    6059CONFIG_HAVE_IDE=y 
     60CONFIG_HAVE_IRQ_WORK=y 
    6161CONFIG_HAVE_OPROFILE=y 
    6262CONFIG_HAVE_PERF_EVENTS=y 
    63 # CONFIG_HAVE_SPARSE_IRQ is not set 
    6463CONFIG_HW_RANDOM=m 
    6564CONFIG_IMAGE_CMDLINE_HACK=y 
    6665CONFIG_INITRAMFS_SOURCE="" 
    6766CONFIG_IRQ_CPU=y 
    68 # CONFIG_IRQ_PER_CPU is not set 
    6967# CONFIG_LEDS_GPIO is not set 
    70 CONFIG_LOONGSON_UART_BASE=y 
    7168CONFIG_MACH_NO_WESTBRIDGE=y 
    7269# CONFIG_MII is not set 
     70# CONFIG_MINIX_FS_NATIVE_ENDIAN is not set 
    7371CONFIG_MIPS=y 
    7472CONFIG_MIPS_L1_CACHE_SHIFT=5 
     
    117115# CONFIG_USB_ARCH_HAS_OHCI is not set 
    118116CONFIG_USB_SUPPORT=y 
     117CONFIG_XZ_DEC=y 
    119118CONFIG_ZONE_DMA_FLAG=0 
Note: See TracChangeset for help on using the changeset viewer.