Changeset 9243


Ignore:
Timestamp:
2007-10-10T16:03:16+02:00 (10 years ago)
Author:
florian
Message:

Upgrade au1000 to 2.6.23

Location:
trunk/target/linux/au1000
Files:
2 added
5 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/au1000/Makefile

    r8695 r9243  
    1212FEATURES:=jffs2 usb pci 
    1313 
    14 LINUX_VERSION:=2.6.22.4 
     14LINUX_VERSION:=2.6.23 
    1515 
    1616include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/au1000/config-2.6.23

    r9235 r9243  
    55# CONFIG_ARCH_HAS_ILOG2_U32 is not set 
    66# CONFIG_ARCH_HAS_ILOG2_U64 is not set 
     7# CONFIG_ARCH_SUPPORTS_MSI is not set 
    78# CONFIG_ATM is not set 
    8 # CONFIG_B44 is not set 
    99CONFIG_BASE_SMALL=0 
    1010CONFIG_BITREVERSE=y 
     
    1717CONFIG_CPU_HAS_SYNC=y 
    1818CONFIG_CPU_LITTLE_ENDIAN=y 
     19# CONFIG_CPU_LOONGSON2 is not set 
    1920CONFIG_CPU_MIPS32=y 
    2021CONFIG_CPU_MIPS32_R1=y 
     
    4243CONFIG_CRAMFS=m 
    4344CONFIG_CRC16=y 
    44 # CONFIG_DDB5477 is not set 
     45# CONFIG_CRYPTO_HW is not set 
     46CONFIG_DEVPORT=y 
    4547# CONFIG_DM9000 is not set 
    4648CONFIG_DMA_NEED_PCI_MAP_STATE=y 
    4749CONFIG_DMA_NONCOHERENT=y 
     50# CONFIG_DS1682 is not set 
    4851CONFIG_DUMMY=m 
    4952CONFIG_ELF_CORE=y 
    50 # CONFIG_ENABLE_MUST_CHECK is not set 
    5153# CONFIG_FIXED_PHY is not set 
    5254CONFIG_FS_POSIX_ACL=y 
     
    5456CONFIG_GENERIC_GPIO=y 
    5557# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set 
    56 # CONFIG_GEN_RTC is not set 
    5758# CONFIG_HAMRADIO is not set 
     59CONFIG_HAS_DMA=y 
    5860CONFIG_HAS_IOMEM=y 
    5961CONFIG_HAS_IOPORT=y 
     
    6264CONFIG_HZ=250 
    6365# CONFIG_HZ_100 is not set 
    64 # CONFIG_HZ_1024 is not set 
    65 # CONFIG_HZ_128 is not set 
    6666CONFIG_HZ_250=y 
    67 # CONFIG_HZ_256 is not set 
    68 # CONFIG_HZ_48 is not set 
    6967CONFIG_I2C=m 
    7068CONFIG_I2C_ALGOBIT=m 
    7169CONFIG_I2C_ALGOPCA=m 
    7270CONFIG_I2C_ALGOPCF=m 
    73 CONFIG_I2C_AU1X00GPIO=m 
     71CONFIG_I2C_BOARDINFO=y 
    7472CONFIG_I2C_CHARDEV=m 
     73# CONFIG_I2C_TAOS_EVM is not set 
    7574# CONFIG_IDE is not set 
    7675CONFIG_INITRAMFS_SOURCE="" 
    77 CONFIG_LEDS_MTX1=y 
     76CONFIG_LEDS_GPIO=y 
    7877# CONFIG_LEDS_TRIGGERS is not set 
     78# CONFIG_LEMOTE_FULONG is not set 
    7979CONFIG_MACH_ALCHEMY=y 
    8080# CONFIG_MACH_DECSTATION is not set 
     
    9292# CONFIG_MIPS_DB1500 is not set 
    9393# CONFIG_MIPS_DB1550 is not set 
    94 # CONFIG_MIPS_EV64120 is not set 
    9594CONFIG_MIPS_L1_CACHE_SHIFT=5 
    9695# CONFIG_MIPS_MALTA is not set 
     
    107106# CONFIG_MIPS_SEAD is not set 
    108107# CONFIG_MIPS_SIM is not set 
    109 # CONFIG_MIPS_VPE_LOADER is not set 
    110108# CONFIG_MIPS_XXS1500 is not set 
    111109CONFIG_MODULE_FORCE_UNLOAD=y 
    112 # CONFIG_MOMENCO_JAGUAR_ATX is not set 
    113 # CONFIG_MOMENCO_OCELOT is not set 
    114 # CONFIG_MOMENCO_OCELOT_3 is not set 
    115 # CONFIG_MOMENCO_OCELOT_C is not set 
    116 # CONFIG_MOMENCO_OCELOT_G is not set 
    117110CONFIG_MTD=y 
    118111# CONFIG_MTD_ABSENT is not set 
     
    149142# CONFIG_MTD_MTDRAM is not set 
    150143CONFIG_MTD_MTX1=y 
    151 # CONFIG_MTD_OBSOLETE_CHIPS is not set 
    152144# CONFIG_MTD_ONENAND is not set 
    153145CONFIG_MTD_PARTITIONS=y 
     
    160152# CONFIG_MTD_ROM is not set 
    161153# CONFIG_MTD_SLRAM is not set 
    162 CONFIG_MTX1_WATCHDOG=y 
    163154# CONFIG_NATSEMI is not set 
    164155# CONFIG_NE2K_PCI is not set 
     156# CONFIG_NETDEV_1000 is not set 
     157CONFIG_NET_ACT_POLICE=y 
    165158CONFIG_NET_SCH_FIFO=y 
    166159# CONFIG_NET_VENDOR_3COM is not set 
    167 # CONFIG_NETDEV_1000 is not set 
     160CONFIG_NF_CT_PROTO_GRE=m 
     161CONFIG_NF_NAT_PROTO_GRE=m 
     162# CONFIG_NO_IOPORT is not set 
    168163# CONFIG_PAGE_SIZE_16KB is not set 
    169164CONFIG_PAGE_SIZE_4KB=y 
     
    172167# CONFIG_PCIPCWATCHDOG is not set 
    173168CONFIG_PHYLIB=y 
     169# CONFIG_PMC_MSP is not set 
    174170# CONFIG_PMC_YOSEMITE is not set 
    175 # CONFIG_PNPACPI is not set 
    176171# CONFIG_PNX8550_JBS is not set 
    177172# CONFIG_PNX8550_STB810 is not set 
     
    181176CONFIG_RESOURCES_64BIT=y 
    182177# CONFIG_RTC is not set 
     178# CONFIG_RTL8187 is not set 
    183179CONFIG_RWSEM_GENERIC_SPINLOCK=y 
    184180CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y 
    185181CONFIG_SCSI_CONSTANTS=y 
    186182# CONFIG_SCSI_PROC_FS is not set 
     183CONFIG_SCSI_WAIT_SCAN=m 
     184# CONFIG_SENSORS_TSL2550 is not set 
    187185CONFIG_SERIAL_8250_AU1X00=y 
    188186# CONFIG_SERIAL_8250_EXTENDED is not set 
     
    210208# CONFIG_SPARSEMEM_STATIC is not set 
    211209# CONFIG_STANDALONE is not set 
    212 CONFIG_STRIP=m 
    213210CONFIG_SYSVIPC_SYSCTL=y 
    214211CONFIG_SYS_HAS_CPU_MIPS32_R1=y 
     
    218215CONFIG_SYS_SUPPORTS_KGDB=y 
    219216CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y 
     217# CONFIG_TC35815 is not set 
    220218# CONFIG_TMD_HERMES is not set 
    221 # CONFIG_TC35815 is not set 
    222219# CONFIG_TOSHIBA_JMR3927 is not set 
    223220# CONFIG_TOSHIBA_RBTX4927 is not set 
     
    226223# CONFIG_UNUSED_SYMBOLS is not set 
    227224# CONFIG_USBPCWATCHDOG is not set 
    228 # CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set 
    229225CONFIG_USB_EHCI_HCD=m 
    230 # CONFIG_USB_EHCI_ROOT_HUB_TT is not set 
    231 # CONFIG_USB_EHCI_SPLIT_ISO is not set 
    232 # CONFIG_USB_EHCI_TT_NEWSCHED is not set 
    233226# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set 
    234227# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set 
    235228CONFIG_USB_OHCI_HCD=m 
     229# CONFIG_USB_R8A66597_HCD is not set 
     230# CONFIG_USB_SERIAL_OTI6858 is not set 
    236231CONFIG_USB_UHCI_HCD=m 
     232# CONFIG_USER_NS is not set 
     233# CONFIG_VGASTATE is not set 
    237234# CONFIG_VIA_RHINE is not set 
    238235CONFIG_WDT_MTX1=y 
    239 CONFIG_ZONE_DMA=y 
    240 CONFIG_ZONE_DMA_FLAG=1 
     236CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/au1000/files/arch/mips/au1000/mtx-1/platform.c

    r9076 r9243  
    2727#include <asm/gpio.h> 
    2828 
    29 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) 
     29static struct resource mtx1_wdt_res[] = { 
     30        [0] = { 
     31                .start = 15, 
     32                .end = 15, 
     33                .name = "mtx1-wdt-gpio", 
     34                .flags = IORESOURCE_IRQ, 
     35        } 
     36}; 
     37 
     38static struct platform_device mtx1_wdt = { 
     39        .name = "mtx1-wdt", 
     40        .id = 0, 
     41        .num_resources = ARRAY_SIZE(mtx1_wdt_res), 
     42        .resource = mtx1_wdt_res, 
     43}; 
     44 
    3045static struct gpio_led default_leds[] = { 
    31         { .name = "mtx1:green", .gpio = 211, .active_low = 1, }, 
    32         { .name = "mtx1:red", gpio = 212, .active_low = 1, }, 
    33 } 
     46        { .name = "mtx1:green", .gpio = 211, }, 
     47        { .name = "mtx1:red", .gpio = 212, }, 
     48}; 
    3449 
    35 static struct gpio_led_platform_data mtx1_led_data; 
     50static struct gpio_led_platform_data mtx1_led_data = { 
     51        .num_leds = ARRAY_SIZE(default_leds), 
     52        .leds = default_leds, 
     53}; 
    3654 
    3755static struct platform_device mtx1_gpio_leds = { 
     
    4260        } 
    4361}; 
    44 #endif 
     62 
     63static struct platform_device *mtx1_devs[] = { 
     64        &mtx1_gpio_leds, 
     65        &mtx1_wdt 
     66}; 
    4567 
    4668static int __init mtx1_register_devices(void) 
    4769{ 
    48         int res; 
    49 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) 
    50         mtx1_led_data.num_leds = ARRAY_SIZE(default_leds); 
    51         mtx1_led_data.leds = default_leds; 
    52         res = platform_device_register(&mtx1_gpio_leds); 
    53 #endif 
    54         return res; 
     70        return platform_add_devices(mtx1_devs, ARRAY_SIZE(mtx1_devs)); 
    5571} 
    5672 
    57 arch_initall(mtx1_register_devices); 
     73arch_initcall(mtx1_register_devices); 
    5874 
  • trunk/target/linux/au1000/patches/006-mtx1_system_button.patch

    r6502 r9243  
    1616 # 
    1717  
    18  lib-y := init.o board_setup.o irqmap.o 
     18 lib-y := init.o board_setup.o irqmap.o platform.o 
    1919+obj-y := mtx-1_sysbtn.o 
    2020diff -urN linux-2.6.16.7/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c linux-2.6.16.7.new/arch/mips/au1000/mtx-1/mtx-1_sysbtn.c 
Note: See TracChangeset for help on using the changeset viewer.