From f84a3fad2574df262526a9b9ddf19722f4917a64 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 14 Mar 2009 15:52:42 +0000 Subject: [PATCH] nuke obsolete kernel stuff SVN-Revision: 14875 --- .../adm5120/patches-2.6.26/001-adm5120.patch | 57 - .../patches-2.6.26/002-adm5120_flash.patch | 22 - .../patches-2.6.26/003-adm5120_switch.patch | 23 - .../patches-2.6.26/005-adm5120_usb.patch | 33 - .../patches-2.6.26/007-adm5120_pci.patch | 19 - .../009-adm5120_leds_switch_trigger.patch | 22 - .../101-cfi_fixup_macronix_bootloc.patch | 91 - .../102-jedec_pmc_39lvxxx_chips.patch | 68 - .../patches-2.6.26/103-mtd_trxsplit.patch | 24 - .../patches-2.6.26/120-rb153_cf_driver.patch | 28 - .../patches-2.6.26/140-cmdline_hack.patch | 15 - .../patches-2.6.26/200-amba_pl010_hacks.patch | 378 - .../patches-2.6.26/201-amba_bus_hacks.patch | 13 - .../202-pci_disable_common_quirks.patch | 46 - .../203-gpio_leds_brightness.patch | 27 - .../patches-2.6.26/310-adm5120_wdt.patch | 31 - target/linux/ar7/config-2.6.23 | 190 - target/linux/ar7/config-2.6.24 | 198 - target/linux/ar7/config-2.6.25 | 214 - .../patches-2.6.23/100-board_support.patch | 94 - .../linux/ar7/patches-2.6.23/110-flash.patch | 43 - .../ar7/patches-2.6.23/120-gpio_chrdev.patch | 32 - .../linux/ar7/patches-2.6.23/130-vlynq.patch | 21 - .../ar7/patches-2.6.23/140-watchdog.patch | 29 - .../patches-2.6.23/200-ethernet_driver.patch | 32 - .../ar7/patches-2.6.23/210-phy_fixed.patch | 93 - .../patches-2.6.23/500-serial_kludge.patch | 57 - .../patches-2.6.24/100-board_support.patch | 94 - .../linux/ar7/patches-2.6.24/110-flash.patch | 43 - .../ar7/patches-2.6.24/120-gpio_chrdev.patch | 32 - .../linux/ar7/patches-2.6.24/130-vlynq.patch | 24 - .../ar7/patches-2.6.24/140-cpmac_fix.patch | 268 - .../150-cpmac_up_and_running.diff | 95 - .../160-cpmac-rx-ring-use-eoq.diff | 180 - .../patches-2.6.24/170-cpmac_eth_fix.patch | 15 - .../patches-2.6.24/500-serial_kludge.patch | 44 - .../900-temporary_cpmac_hack.diff | 29 - .../patches-2.6.25/100-board_support.patch | 86 - .../linux/ar7/patches-2.6.25/110-flash.patch | 37 - .../ar7/patches-2.6.25/120-gpio_chrdev.patch | 28 - .../linux/ar7/patches-2.6.25/130-vlynq.patch | 18 - .../ar7/patches-2.6.25/140-cpmac_fix.patch | 167 - .../patches-2.6.25/150-cpmac_not_broken.patch | 11 - .../150-cpmac_up_and_running.diff | 91 - .../160-cpmac-rx-ring-use-eoq.diff | 178 - .../patches-2.6.25/170-cpmac_eth_fix.patch | 13 - .../ar7/patches-2.6.25/200-mtd_fixes.patch | 54 - .../patches-2.6.25/500-serial_kludge.patch | 40 - .../900-temporary_cpmac_hack.diff | 27 - target/linux/at91/config-2.6.21 | 299 - .../at91/patches-2.6.21/000-at91patches.patch | 10403 ---- .../patches-2.6.21/001-vlink-machine.patch | 219 - .../at91/patches-2.6.21/002-led-driver.patch | 192 - .../at91/patches-2.6.21/003-gpio-driver.patch | 363 - .../patches-2.6.21/006-change-gpios.patch | 38 - .../patches-2.6.21/007-mtd-partition.patch | 42 - .../at91/patches-2.6.21/008-fdl-serial.patch | 162 - .../patches-2.6.21/009-fdl-uartinit.patch | 36 - .../patches-2.6.21/010-dm9161a-phyfix.patch | 30 - .../patches-2.6.21/011-vlink-resetfix.patch | 12 - .../at91/patches-2.6.21/012-at91-mmcfix.patch | 426 - .../patches-2.6.21/013-at91-mmc1wire.patch | 14 - .../patches-2.6.21/014-initpartition.patch | 20 - .../at91/patches-2.6.21/015-simenable.patch | 69 - .../patches-2.6.21/016-v1-15-detect.patch | 207 - target/linux/au1000/au1500/config-2.6.23 | 243 - target/linux/au1000/au1500/config-2.6.24 | 270 - target/linux/au1000/au1500/config-2.6.25 | 273 - .../patches/001-au1000_gpio_kconfig.patch | 19 - .../au1000/patches/002-sys_btn_gpio.patch | 54 - .../patches/005-au1000_eth_link_beat.patch | 23 - .../au1000/patches/012-mtx1_cmdline.patch | 11 - .../au1000/patches/013-openwrt_rootfs.patch | 11 - .../au1000/patches/014-au1000_eth_ioctl.patch | 15 - .../au1000/patches/015-pci-resource.patch | 22 - target/linux/au1000/patches/016-net-irq.patch | 10 - .../linux/au1000/patches/017-gpio-dir.patch | 20 - target/linux/rb532/config-2.6.23 | 201 - .../files-2.6.23/arch/mips/pci/fixup-rb500.c | 51 - .../files-2.6.23/arch/mips/pci/ops-rc32434.c | 218 - .../files-2.6.23/arch/mips/pci/pci-rc32434.c | 236 - .../files-2.6.23/arch/mips/rb500/Makefile | 5 - .../files-2.6.23/arch/mips/rb500/devices.c | 338 - .../rb532/files-2.6.23/arch/mips/rb500/gpio.c | 198 - .../rb532/files-2.6.23/arch/mips/rb500/irq.c | 265 - .../rb532/files-2.6.23/arch/mips/rb500/prom.c | 178 - .../files-2.6.23/arch/mips/rb500/serial.c | 78 - .../files-2.6.23/arch/mips/rb500/setup.c | 81 - .../rb532/files-2.6.23/arch/mips/rb500/time.c | 94 - .../files-2.6.23/drivers/block/rb500/Makefile | 3 - .../files-2.6.23/drivers/block/rb500/ata.c | 487 - .../files-2.6.23/drivers/block/rb500/ata.h | 143 - .../files-2.6.23/drivers/block/rb500/bdev.c | 340 - .../drivers/char/watchdog/rc32434_wdt.c | 240 - .../files-2.6.23/drivers/leds/leds-rb500.c | 81 - .../rb532/files-2.6.23/drivers/net/korina.c | 1167 - .../files-2.6.23/drivers/net/rc32434_eth.h | 178 - .../include/asm-mips/rc32434/ddr.h | 173 - .../include/asm-mips/rc32434/dma.h | 168 - .../include/asm-mips/rc32434/dma_v.h | 72 - .../include/asm-mips/rc32434/eth.h | 320 - .../include/asm-mips/rc32434/eth_v.h | 63 - .../include/asm-mips/rc32434/gpio.h | 122 - .../include/asm-mips/rc32434/integ.h | 76 - .../include/asm-mips/rc32434/irq.h | 7 - .../include/asm-mips/rc32434/pci.h | 692 - .../include/asm-mips/rc32434/rb.h | 84 - .../include/asm-mips/rc32434/rc32434.h | 121 - .../include/asm-mips/rc32434/war.h | 25 - .../patches-2.6.23/100-rb5xx_support.patch | 103 - .../patches-2.6.23/110-korina_ethernet.patch | 31 - .../linux/rb532/patches-2.6.23/120-cf.patch | 31 - .../patches-2.6.23/140-cmdline_hack.patch | 15 - .../200-bridge_resource_hack.patch | 15 - .../rb532/patches-2.6.23/220-serial_fix.patch | 18 - .../240-via_rhine_performance.patch | 100 - .../rb532/patches-2.6.23/510-rb500_led.patch | 29 - .../patches-2.6.23/520-rc32434_wdt.patch | 46 - target/linux/s3c24xx/config-2.6.24 | 597 - target/linux/s3c24xx/config-2.6.26 | 683 - ...-explicitly-link-notes-section.patch.patch | 29 - .../1002-gta01-no_nand_partitions.patch.patch | 60 - .../1003-neo1973-soc-include-fix.patch.patch | 56 - ...1004-asoc-neo1973_wm8753-power.patch.patch | 62 - .../1005-asoc-core-suspend_resume.patch.patch | 52 - ...06-fix-i2c-s3c2410-resume-race.patch.patch | 115 - .../1007-resume-timers-wq.patch.patch | 45 - .../1008-wm8753-rout2-inv.patch.patch | 40 - .../1009-s3c2410-bbt.patch.patch | 54 - .../1010-gta01-pcf50606.patch.patch | 2443 - .../1011-gta01-core.patch.patch | 822 - .../1012-gta01-jbt6k74.patch.patch | 748 - .../1013-gta01-inputdevice.patch.patch | 298 - .../1014-gta01-power_control.patch.patch | 976 - .../1015-s3c2410-pwm.patch.patch | 322 - .../1016-gta01-vibrator.patch.patch | 244 - .../1017-gta01-backlight.patch.patch | 309 - .../1018-s3c2410_touchscreen.patch.patch | 636 - .../1019-s3c2410_ts-gta01.patch.patch | 53 - .../1020-i2c-permit_invalid_addrs.patch.patch | 33 - .../1021-g_ether-highpower.patch.patch | 34 - .../1022-g_ether-vendor_product.patch.patch | 44 - .../patches-2.6.24/1023-s3c_mci.patch.patch | 1704 - .../1024-s3c_mci-gta01.patch.patch | 97 - .../1025-qt2410-s3c_mci-pdata.patch.patch | 0 .../1026-s3c24xx-nand-largepage.patch.patch | 143 - ...dc-2440_dual_packet-workaround.patch.patch | 61 - .../patches-2.6.24/1028-hxd8-core.patch.patch | 453 - .../1029-hxd8-tsl256x.patch.patch | 537 - .../1030-s3c2442b-cpuid.patch.patch | 56 - .../patches-2.6.24/1031-pcf50633.patch.patch | 2562 - .../1032-pcf50633-suspend-hacks.patch.patch | 45 - .../1033-smedia-glamo.patch.patch | 3498 -- .../patches-2.6.24/1034-glamo-mmc.patch.patch | 1188 - .../1035-gta02-core.patch.patch | 1027 - .../1036-gta02-power_control.patch.patch | 586 - .../1037-gta02-sound.patch.patch | 772 - .../patches-2.6.24/1038-lis302dl.patch.patch | 781 - .../1039-gta02-leds.patch.patch | 276 - .../patches-2.6.24/1040-gta02-acc.patch.patch | 1023 - .../patches-2.6.24/1041-pcf506xx.patch.patch | 200 - .../1042-gta02-bt-fixes.patch.patch | 209 - .../1043-openmoko-logo.patch.patch | 40076 ---------------- .../1044-config-nr-tty-devices.patch.patch | 60 - .../1045-pm-debug_less_verbose.patch.patch | 28 - .../1046-s3c2410_serial-nodebug.patch.patch | 40 - .../1047-input-nots-mousedev.patch.patch | 37 - ...048-s3c2440-nand-disable-hwecc.patch.patch | 28 - .../1049-qt2410-cs8900.patch.patch | 74 - .../1050-s3c2410-qt2410-buttons.patch.patch | 311 - .../1051-fail-unless-uimage.patch.patch | 27 - .../1052-montour-audio.patch.patch | 26 - .../1053-introduce-fiq-basis.patch.patch | 601 - ...oduce-fiq-use-timer3-as-source.patch.patch | 220 - ...iq-migrate-vibrator-gta02-only.patch.patch | 243 - .../patches-2.6.24/1056-fiq-hdq.patch.patch | 606 - .../1057-bq27000-battery-driver.patch.patch | 510 - .../1058-fix-EVIOCGRAB-semantics.patch.patch | 95 - .../1059-iis-suspend.patch.patch | 75 - .../1060-s3c24xx-pcm-suspend.patch.patch | 85 - .../1061-s3c2410-usb-switch.patch.patch | 89 - .../patches-2.6.24/1062-pnp_fixes.patch.patch | 46 - .../1063-atheros_2_0_function.patch.patch | 33239 ------------- .../1064-atheros_2_0_hcd.patch.patch | 1637 - .../1065-atheros_2_0_sdio_stack.patch.patch | 13982 ------ .../1066-fix-hwecc-2410.patch.patch | 66 - ...-fix-pcf50606-LOWBAT-kill-init.patch.patch | 83 - ...-fix-pcf50633-LOWBAT-kill-init.patch.patch | 86 - .../1069-gta01-dehang-printk.patch.patch | 44 - .../1070-kexec-atags.patch.patch | 316 - .../1071-suspend-prelim1.patch.patch | 98 - .../1072-gta02-sound-bandaid.patch.patch | 29 - .../1073-glamo-cmdqueue-bandaid.patch.patch | 81 - .../1074-local-add-defconfig.patch.patch | 1849 - .../1075-local-build-scripts.patch.patch | 53 - .../1076-local-build-new-dfu-vid.patch.patch | 31 - ...l-update-defconfig-for-2.6-dev.patch.patch | 1836 - ...al-config-add-vfat-nls-to-kern.patch.patch | 72 - ...onfig-add-bluetooth-monolithic.patch.patch | 44 - ...cal-config-wlan-config-changes.patch.patch | 155 - ...g-defconfig-motion-sensor-gpio.patch.patch | 36 - .../1082-local-config-pmu.patch.patch | 34 - .../1083-local-config-ext2.patch.patch | 25 - ...ntrib-fix-chgstate-array-bloat.patch.patch | 108 - ...ix-deglitch-gpio-output-enable.patch.patch | 43 - .../1086-clean-snip-gpio-reinit.patch.patch | 31 - .../1087-introduce-fiq-hdq.patch.patch | 87 - ...troduce-bq27000-battery-driver.patch.patch | 73 - ...spend-dump-gpio-states-add-GPA.patch.patch | 451 - ...s3c2410_timer_setup-resume-BUG.patch.patch | 128 - .../1091-config-add-alsa.patch.patch | 97 - ...-mci-defeat-ops-during-suspend.patch.patch | 73 - ...093-fix-lcm-reinit-post-resume.patch.patch | 286 - ...i-fake-reset-opcode-in-suspend.patch.patch | 141 - .../1095-use-gpio-control-leds.patch | 51 - ...ix-gpio-led-patch-still-pwm-t3.patch.patch | 58 - ...troduce-usb-host-power-control.patch.patch | 167 - ...-deassert-host-power-1a-detect.patch.patch | 36 - .../1099-add-pcf50633-06-RTC_AIE-ioctl.patch | 71 - ...1100-fix-lis302dl-suspend-gpio.patch.patch | 122 - .../1101-fix-suspend-gps-tx-level.patch.patch | 47 - ...end-low-level-debugging-to-the-modem.patch | 50 - ...-add-gta02-pcb-revision-detect.patch.patch | 118 - .../1104-debug-glamo-dump-regs.patch.patch | 133 - .../1105-add-pcb-rev-sysfs.patch.patch | 150 - ...de-there-is-no-need-for-a-branch.-Th.patch | 63 - .../1107-Remove-dead-code.patch | 25 - ...e-FIXME-store-the-GPIO-value-for-now.patch | 85 - ...driver-to-the-generic-GPIO-framework.patch | 85 - ...-for-the-s3c2410-and-add-irq_to_gpio.patch | 132 - ...d-not-gta01.-Do-not-call-the-vibrato.patch | 91 - ...1112-Fix-spelling.-flaoting-floating.patch | 26 - ...-of-Jack-Interrupts-after-resume-whe.patch | 121 - ...if-it-was-powered-on-before-suspendi.patch | 85 - .../1115-fix-wlan-disable.patch.patch | 142 - .../1116-defconfig-audio.patch.patch | 44 - .../1117-audio-tickless-timeout.patch.patch | 57 - ...gsm-download-irq-balance-issue.patch.patch | 60 - .../1119-add-modules-defconfig.patch.patch | 5376 --- ...0-fix-glamofb-cmdqueue-timeout.patch.patch | 45 - .../1121-fix-usb-ethernet-mwester.patch.patch | 29 - ...2-fix-glamofb-cmd-mode-locking.patch.patch | 320 - .../1123-fix-jack-debounce.patch.patch | 118 - .../1124-OpenMoko-Openmoko.patch | 538 - .../1125-fix-gta01-spi-resume-patch.patch | 44 - ...ed-ifdef-as-machine_is_-is-always-de.patch | 61 - ...-enable-PWM-for-all-four-timers-disa.patch | 28 - ...8--led-Misc-fixes-in-the-driver-code.patch | 53 - ...th-GTA01_GPIO_MODEM_RST-GTA02_GPIO_M.patch | 43 - ...ess-to-GPIO-bank-B-has-to-go-through.patch | 497 - ...interrupt-debounce-loss-window.patch.patch | 82 - ...01-pmu-irq-edge-lost-on-resume.patch.patch | 38 - ...x-jbt-platform-missing-members.patch.patch | 84 - ...1134-gta01-fix-resume-redo-par.patch.patch | 32 - ...ps-power-state-resume-preserve.patch.patch | 34 - ...exit-function-so-that-the-module-can.patch | 26 - ...ebug-messages-to-the-Neo1937-sound-d.patch | 284 - ...d8d971ee46ce7045fb7863f99a92a-Mon-Se.patch | 121 - .../1139-clean-sdio-hcd-suspend.patch.patch | 56 - ...40-Stop-GTA01-MMC-Debugging-messages.patch | 40 - ...ix-KEY_PHONE-up-down-inversion.patch.patch | 29 - ...42-s3c24xx-pwm-platform-driver.patch.patch | 127 - ...3-fix-wep-needs-keys-before-ap.patch.patch | 72 - ...fig-add-back-MMC_UNSAFE_RESUME.patch.patch | 43 - ...pend-backlight-timing-pm-debug.patch.patch | 269 - ...glamofb-err-lock-and-mmc-debug.patch.patch | 66 - ...d-force-backlight-up-on-resume.patch.patch | 34 - ...ight-disable-on-zero-intensity.patch.patch | 81 - ...fix-suppress-cpu-suspend-save-restor.patch | 45 - ...0-Explain-why-we-want-SECOND-to-kick.patch | 32 - ...f50633-Print-less-debugging-messages.patch | 36 - ...d-exported-symbol-to-the-header-file.patch | 29 - ...e-that-all-gta02-s-have-a-battery-wi.patch | 40 - ...le-debugging-statements-as-the-drive.patch | 26 - ...-bq27000-battery-to-provide-charging.patch | 41 - ...el-debugging-make-the-s3c24xx-PM-deb.patch | 67 - .../1157-clean-remove-build-noise.patch.patch | 55 - .../1158-minor-problem-with-LCD.patch | 35 - ...sume-caused-by-the-s3c2410-touch-scr.patch | 37 - ...0-fix-motion-sensor-corruption.patch.patch | 88 - .../1161-add-resume-reason-sysfs.patch.patch | 384 - ...educe-wake-reasons-in-pcf50633.patch.patch | 237 - ...l-pointer-dereference-in-s3c24xx_i2c.patch | 36 - ...k-not-print-soooo-much-to-my-console.patch | 30 - .../1165-Remove-GTA01-PM-debug.patch | 36 - ...CH-a6k-Everyone-calls-SET_NET_DEV-an.patch | 62 - .../1167-add-gta01-resume-sysfs.patch.patch | 115 - ...uce-samsung-camera-unit-driver.patch.patch | 5899 --- ...69-uplevel-samsung-camera-unit.patch.patch | 1699 - ...troduce-charging-led-behaviour.patch.patch | 423 - ...71-introduce-resume-dependency.patch.patch | 102 - ...cf50633-resume-dependency-list.patch.patch | 115 - ...f50633-resume-callback-jbt6k74.patch.patch | 438 - ...move-unused-model-name-bq27000.patch.patch | 28 - .../1175-Subject-PATCH-Build-fixes.patch | 131 - ...H-Hardware-glamo-fb-cursor-some-clea.patch | 279 - ...-a-minor-cleanup-of-backlight-resume.patch | 50 - ...g-codec-register-setting-sysfs.patch.patch | 67 - ...pend-resume-onehit-i2c-other-meddlin.patch | 204 - ...lationship-with-pcf50633-suspend-res.patch | 110 - ...ix-jbt6k74-force-reset-suspend.patch.patch | 28 - .../1182-ASoC-Don-t-block-system-resume.patch | 125 - ...wer-setting-timeout-waiting-for-pcf5.patch | 46 - ...-resume-dependency-on-pcf50633.patch.patch | 162 - ...errupt-work-enforce-wait-on-resume-c.patch | 134 - ...-i2c-bulk-autoincrement-simplify.pat.patch | 224 - ...633-use-i2c-bulk-autoincrement.patch.patch | 222 - ...usb-curlim-workqueue-migration.patch.patch | 227 - ...e-lcm-keep-power-faster-resume.patch.patch | 94 - ...02-mach-remove-gta01-lcd-reset.patch.patch | 28 - ...d-remote-install-sdcard-script.patch.patch | 47 - ...uire-resume-level-3-for-irq-work.pat.patch | 26 - ...-back-gratuitous-isr-work-call-in-re.patch | 38 - ...cosmetic-checkpatch-complaints.patch.patch | 70 - ...l-white-splash-of-death-on-suspend.p.patch | 263 - ...-fix-allow-core-1v3-to-go-down.patch.patch | 27 - ...0-dump-stack-on-suspended-tranfer.pa.patch | 25 - ...pcf50633-suspend-state-as-enum.patch.patch | 197 - ...able-irq-from-suspend-until-resume.p.patch | 236 - ...ace-not-choke-on-null-dev_blah.patch.patch | 29 - ...ally-defer-backlight-on-resume.patch.patch | 71 - ...atform-backlight-resume-ramp-setting.patch | 58 - ...-migrate-gta02-peripherals-out.patch.patch | 219 - ...-pcf-not-data-in-probe-for-context.p.patch | 218 - ...xx-i2s-stop-live-stream-stall-on-res.patch | 61 - ...CH-a6k-Everyone-calls-SET_NET_DEV-an.patch | 0 ...H-glamo-Don-t-disable-hwcursor-for-b.patch | 191 - ...blink-led-not-using-userspace-omfg.p.patch | 62 - .../1209-touchscreen-meddling.patch.patch | 505 - ...fix-touchscreen-meddling-divde.patch.patch | 52 - ...ume-and-init-reload-boot-coefficient.patch | 168 - .../1212-fix-gsm-resume-problems.patch.patch | 149 - .../1213-clean-gsm-flow-control.patch.patch | 89 - ...oduce-resume-exception-capture.patch.patch | 264 - ...1cffe4dbc88d8ff667048ad28d925-Mon-Se.patch | 322 - ...fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch | 38 - ...5f6ba0ede73fa71973823726213a3-Mon-Se.patch | 54 - ...c713d2345a872fdf44f5dd3702e1b-Mon-Se.patch | 77 - ...1a75e0fd2cdf5e099e66121d10c0a-Mon-Se.patch | 136 - ...22daa451e26353140777223d397d2-Mon-Se.patch | 72 - ...move-kernel-charging-led-drive.patch.patch | 30 - .../1222-add-ar6k-wake-interrupt.patch.patch | 48 - ...its-of-nspy-GSM-flow-control-patches.patch | 46 - ...e24d361cd83178fe8da9d68efbf41a011483.patch | 37 - ...6ecbb0f7f2df7b7070092b87ddaf8-Mon-Se.patch | 47 - ...404d5f1185f0b3d6b5632381cb33f-Mon-Se.patch | 73 - ...pcf50633-mask-second-on-resume.patch.patch | 32 - ...228-fix-aux-key-level-by-gtaxx.patch.patch | 33 - ...50633-allow-force-charger-type.patch.patch | 69 - ...-fix-no-uart-leak-when-gps-off.patch.patch | 123 - ...uspend-resume-dram-and-engines.patch.patch | 428 - ...-level-not-forced-up-on-resume.patch.patch | 86 - ...troduce-BANKCON-meddling-sysfs.patch.patch | 300 - ...ruptible-sleep-in-kthread-main-loops.patch | 64 - ...force-sdcard-clk-off-when-idle.patch.patch | 240 - ...6-add-limit-sdcard-clk-cmdline.patch.patch | 109 - ...fconfig-enable-ext2-ext3-gtaxx.patch.patch | 54 - .../1238-fix-scard-stop-on-resume.patch.patch | 51 - ...239-debug-move-dev-info-to-dbg.patch.patch | 179 - ...mo-drive-strength-module-param.patch.patch | 167 - ...e-charger-enable-decision-to-pcf5063.patch | 69 - ...bq27000-charger-state-tracking.patch.patch | 280 - ...-mci-set-default-drive-level-0.patch.patch | 35 - ...ove-charger-curlim-and-enable-apis-f.patch | 84 - ...y-do-platform-callback-once-per-even.patch | 78 - ...-mci-possible-timeout-overflow.patch.patch | 58 - ...sure-more-than-74-clocks-after-power.patch | 52 - ...ull-sd-voltage-range-selection.patch.patch | 74 - ...mci-dont-filter-voltage-change.patch.patch | 40 - ...ower-clocking-dynamic-switching.patc.patch | 120 - ...a02-glamo-mci-sd-dynamic-clock.patch.patch | 92 - .../1252-fix-add-missing-include.patch.patch | 21 - ...onfig-usb-over-ethernet-module.patch.patch | 84 - ...x-pcf50633-usbrem-charging-led.patch.patch | 46 - .../1255-add-build-git-head-info.patch.patch | 56 - ...-add-buildkeep-hash-named-copy.patch.patch | 37 - ...d-hash-name-no-colon-separator.patch.patch | 32 - .../1258-add-build-makerecovery.patch.patch | 43 - ...a03523b164c3cebc20312748c524b-Mon-Se.patch | 195 - ...260-config-remove-evbug-module.patch.patch | 75 - .../1261-config-add-udf-support.patch.patch | 99 - ...0x-add-minimal-GSM-flowcontrol.patch.patch | 154 - ...a3d0c27c0c750b7bf1b56c002ee7943f3edc.patch | 33 - ...4-silence-serial-console-gta01.patch.patch | 76 - ...isable-irq-from-suspend-until-resume.patch | 287 - ...suspend-backlight-timing-gta01.patch.patch | 123 - ...gta01-uart-fifo-trigger-sooner.patch.patch | 38 - .../1268-checkpatch-fixes.patch.patch | 106 - ...includes-from-checkpatch-fixes.patch.patch | 34 - .../1270-fix-no-discharging.patch.patch | 42 - ...lways-call-resume-dependencies.patch.patch | 255 - ...ve-suspend-dependencies-syslog.patch.patch | 77 - ...lean-checkpatch-gsm-resume-dep.patch.patch | 27 - .../1274-mach-gta02-spell-fixes.patch.patch | 59 - ...is302dl-allow-unloading-module.patch.patch | 38 - .../1276-lis302dl-add-wakeup-defs.patch.patch | 59 - ...676f7d6d0bf55aaae17e11304598a-Mon-Se.patch | 27 - ...299c56530e56018c031957c5c7ffb-Mon-Se.patch | 26 - ...a652b0f9cde72ad5e547db87d4d67-Mon-Se.patch | 90 - ...nfiguring-freefall-wakeup-interrupts.patch | 372 - .../1281-checkpatch-accel-fixes.patch.patch | 138 - ...Andrzej-Zaborowski-balrogg-gmail.com.patch | 32 - .../1283-gta02-accel-isr-fix-more.patch.patch | 101 - .../1284-fix-one-mmc-race.patch.patch | 133 - ...glamo-idleclock-around-suspend.patch.patch | 80 - ...ix-glamo-crank-memory-to-90MHz.patch.patch | 44 - .../patches-2.6.24/1287-soft_tap.patch.patch | 82 - ...8-newline_after_disconnect_msg.patch.patch | 40 - .../1289-ar6k-essid-one-and-32.patch.patch | 44 - ...-rework-to-make-USBINS-USBREM-exclus.patch | 32 - .../1291-gta03-pca9632.patch.patch | 650 - ...ci-slow-clock-until-first-bulk.patch.patch | 261 - .../1293-fix-build-with-no-CONFIG_MMC.patch | 60 - ...-with-no-config_mmc-glamo-resume-cal.patch | 61 - ...a-framebuffer-notifier-in-order-to-d.patch | 120 - ...a01-wm8752-from-gta02-defconfig.patc.patch | 26 - .../1297-glamo_fb-Cosmetic-cleanup.patch | 196 - ...1298-glamo_fb-sync-comment-with-code.patch | 31 - ...9-glamo_fb-Implement-screen-blanking.patch | 128 - ...-4.3-false-modulo-optimization.patch.patch | 48 - ...1-clean-move-defconfigs-stable.patch.patch | 9083 ---- .../1302-fix-defconfig-path.patch.patch | 5468 --- ...302dl-bitbang-all-the-way-baby.patch.patch | 1184 - ...threshold-configuration-lis302dl-con.patch | 298 - ...key-events-on-resume-Was-Re-Where-ar.patch | 176 - ...-lis302dl-refactor-and-cleanup.patch.patch | 478 - ...-threshold-configuration-in-mg.patch.patch | 131 - ...8--lis302dl-configure-duration.patch.patch | 167 - ...n-floodgates-on-zero-threshold.patch.patch | 138 - ...-lis302dl-wakeup-configuration.patch.patch | 366 - ...ig-enable-oprofile-gta01-gta02.patch.patch | 57 - .../1312-GTA02-Improve-NAND-timings.patch | 40 - ...3C24xx-NAND-allow-for-faster-timings.patch | 71 - ...4-palliate_touch_screen_jitter.patch.patch | 130 - ...-config-allow-gta02-usb-hiddev.patch.patch | 49 - .../1316-jffs2-choke-gc-thread.patch.patch | 55 - ...17-fix-gta02-defconfig-uplevel.patch.patch | 102 - ...nable-storing-config-in-kernel.patch.patch | 54 - ...19-config-enable-ikconfig-proc.patch.patch | 51 - ...dd-preliminary-E-TEN-glofiish-M800-s.patch | 165 - ...controller-mode-change-always-EINVAL.patch | 33 - ...1-s3c-mci-stop-clock-when-idle.patch.patch | 211 - ...-use-slow-SD-clock-when-gps-on.patch.patch | 161 - .../1324-gta01-battery-driver.patch.patch | 326 - ...fix-missing-new-files-glofiish.patch.patch | 2764 -- ...ange-gta01-battery-driver-name.patch.patch | 37 - .../1327-jbt6k74_no_deep_sleep.patch.patch | 276 - .../linux/s3c24xx/patches-2.6.24/1328-.patch | 152 - ...0-revert-openwrt-patches-921-922-923.patch | 1247 - .../0500-call-preinit-instead-of-init.patch | 12 - ...-explicitly-link-notes-section.patch.patch | 29 - .../1002-gta01-no_nand_partitions.patch.patch | 60 - ...03-fix-i2c-s3c2410-resume-race.patch.patch | 106 - .../1004-resume-timers-wq.patch.patch | 45 - .../1005-s3c2410-bbt.patch.patch | 56 - .../1006-gta01-pcf50606.patch.patch | 2443 - .../1007-gta01-core.patch.patch | 831 - .../1008-gta01-jbt6k74.patch.patch | 748 - .../1009-gta01-inputdevice.patch.patch | 298 - .../1010-gta01-power_control.patch.patch | 976 - .../1011-s3c2410-pwm.patch.patch | 323 - .../1012-gta01-vibrator.patch.patch | 244 - .../1013-gta01-backlight.patch.patch | 308 - .../1014-s3c2410_touchscreen.patch.patch | 636 - .../1015-s3c2410_ts-gta01.patch.patch | 53 - .../1016-i2c-permit_invalid_addrs.patch.patch | 33 - .../1017-g_ether-highpower.patch.patch | 34 - .../1018-g_ether-vendor_product.patch.patch | 44 - .../patches-2.6.26/1019-s3c_mci.patch.patch | 1704 - .../1020-s3c_mci-gta01.patch.patch | 97 - .../1021-s3c24xx-nand-largepage.patch.patch | 58 - ...dc-2440_dual_packet-workaround.patch.patch | 61 - .../1023-s3c2442b-cpuid.patch.patch | 56 - .../patches-2.6.26/1024-pcf50633.patch.patch | 2562 - .../1025-pcf50633-suspend-hacks.patch.patch | 45 - .../1026-smedia-glamo.patch.patch | 3501 -- .../patches-2.6.26/1027-glamo-mmc.patch.patch | 1188 - .../1028-gta02-core.patch.patch | 1024 - .../1029-gta02-power_control.patch.patch | 586 - .../1030-gta02-sound.patch.patch | 778 - .../patches-2.6.26/1031-lis302dl.patch.patch | 781 - .../1032-gta02-leds.patch.patch | 276 - .../patches-2.6.26/1033-gta02-acc.patch.patch | 1035 - .../patches-2.6.26/1034-pcf506xx.patch.patch | 200 - .../1035-gta02-bt-fixes.patch.patch | 209 - .../1036-openmoko-logo.patch.patch | 40076 ---------------- .../1037-config-nr-tty-devices.patch.patch | 60 - .../1038-pm-debug_less_verbose.patch.patch | 28 - .../1039-s3c2410_serial-nodebug.patch.patch | 40 - .../1040-input-nots-mousedev.patch.patch | 37 - ...041-s3c2440-nand-disable-hwecc.patch.patch | 28 - .../1042-qt2410-cs8900.patch.patch | 74 - .../1043-s3c2410-qt2410-buttons.patch.patch | 311 - .../1044-fail-unless-uimage.patch.patch | 27 - .../1045-introduce-fiq-basis.patch.patch | 587 - ...oduce-fiq-use-timer3-as-source.patch.patch | 220 - ...iq-migrate-vibrator-gta02-only.patch.patch | 243 - .../patches-2.6.26/1048-fiq-hdq.patch.patch | 606 - .../1049-bq27000-battery-driver.patch.patch | 510 - .../1050-fix-EVIOCGRAB-semantics.patch.patch | 95 - .../1051-s3c2410-usb-switch.patch.patch | 89 - .../patches-2.6.26/1052-pnp_fixes.patch.patch | 46 - .../1053-atheros_2_0_function.patch.patch | 33239 ------------- .../1054-atheros_2_0_hcd.patch.patch | 1637 - .../1055-atheros_2_0_sdio_stack.patch.patch | 13982 ------ .../1056-fix-hwecc-2410.patch.patch | 30 - ...-fix-pcf50606-LOWBAT-kill-init.patch.patch | 83 - ...-fix-pcf50633-LOWBAT-kill-init.patch.patch | 86 - .../1059-gta01-dehang-printk.patch.patch | 44 - .../1060-suspend-prelim1.patch.patch | 98 - .../1061-gta02-sound-bandaid.patch.patch | 29 - .../1062-glamo-cmdqueue-bandaid.patch.patch | 81 - .../1063-fix-wm8753-DBG.patch.patch | 26 - .../1064-local-add-defconfig.patch.patch | 1849 - .../1065-local-build-scripts.patch.patch | 53 - .../1066-local-build-new-dfu-vid.patch.patch | 31 - ...l-update-defconfig-for-2.6-dev.patch.patch | 1836 - ...al-config-add-vfat-nls-to-kern.patch.patch | 72 - ...onfig-add-bluetooth-monolithic.patch.patch | 44 - ...cal-config-wlan-config-changes.patch.patch | 155 - ...g-defconfig-motion-sensor-gpio.patch.patch | 36 - .../1072-local-config-pmu.patch.patch | 34 - .../1073-local-config-ext2.patch.patch | 25 - ...ntrib-fix-chgstate-array-bloat.patch.patch | 52 - ...ix-deglitch-gpio-output-enable.patch.patch | 43 - .../1076-clean-snip-gpio-reinit.patch.patch | 31 - .../1077-introduce-fiq-hdq.patch.patch | 87 - ...troduce-bq27000-battery-driver.patch.patch | 73 - ...spend-dump-gpio-states-add-GPA.patch.patch | 452 - ...s3c2410_timer_setup-resume-BUG.patch.patch | 128 - .../1081-config-add-alsa.patch.patch | 97 - ...-mci-defeat-ops-during-suspend.patch.patch | 73 - ...083-fix-lcm-reinit-post-resume.patch.patch | 286 - ...i-fake-reset-opcode-in-suspend.patch.patch | 141 - .../1085-use-gpio-control-leds.patch | 51 - ...ix-gpio-led-patch-still-pwm-t3.patch.patch | 58 - ...troduce-usb-host-power-control.patch.patch | 167 - ...-deassert-host-power-1a-detect.patch.patch | 36 - .../1089-add-pcf50633-06-RTC_AIE-ioctl.patch | 71 - ...1090-fix-lis302dl-suspend-gpio.patch.patch | 122 - .../1091-fix-suspend-gps-tx-level.patch.patch | 47 - ...end-low-level-debugging-to-the-modem.patch | 50 - ...-add-gta02-pcb-revision-detect.patch.patch | 118 - .../1094-debug-glamo-dump-regs.patch.patch | 133 - .../1095-add-pcb-rev-sysfs.patch.patch | 150 - ...de-there-is-no-need-for-a-branch.-Th.patch | 63 - .../1097-Remove-dead-code.patch | 25 - ...e-FIXME-store-the-GPIO-value-for-now.patch | 85 - ...driver-to-the-generic-GPIO-framework.patch | 85 - ...-for-the-s3c2410-and-add-irq_to_gpio.patch | 92 - ...d-not-gta01.-Do-not-call-the-vibrato.patch | 91 - ...1102-Fix-spelling.-flaoting-floating.patch | 26 - ...-of-Jack-Interrupts-after-resume-whe.patch | 121 - ...if-it-was-powered-on-before-suspendi.patch | 85 - .../1105-fix-wlan-disable.patch.patch | 142 - .../1106-defconfig-audio.patch.patch | 44 - ...gsm-download-irq-balance-issue.patch.patch | 64 - ...8-fix-glamofb-cmdqueue-timeout.patch.patch | 45 - ...9-fix-glamofb-cmd-mode-locking.patch.patch | 320 - ...bug-glamo-add-lcd-regs-to-dump.patch.patch | 55 - .../1111-fix-jack-debounce.patch.patch | 118 - .../1112-OpenMoko-Openmoko.patch | 524 - ...ed-ifdef-as-machine_is_-is-always-de.patch | 61 - ...-enable-PWM-for-all-four-timers-disa.patch | 28 - ...5--led-Misc-fixes-in-the-driver-code.patch | 53 - ...th-GTA01_GPIO_MODEM_RST-GTA02_GPIO_M.patch | 43 - ...ess-to-GPIO-bank-B-has-to-go-through.patch | 497 - ...interrupt-debounce-loss-window.patch.patch | 82 - .../1119-fix-gta01-spi-resume-patch.patch | 44 - ...01-pmu-irq-edge-lost-on-resume.patch.patch | 38 - .../1121-add-defconfig-2.6.25.patch | 1872 - ...5-input_dev-cdev-union-removed.patch.patch | 69 - ...struct-bus-type-loses-devices-member.patch | 56 - ...-upstream-s3c2410_gpio_irq2pin.patch.patch | 29 - ...-deprecated-includefile-wm8753.patch.patch | 27 - ...changed-s3c2410_dma_request-reurn.pa.patch | 44 - ...ps-power-state-resume-preserve.patch.patch | 34 - ...x-jbt-platform-missing-members.patch.patch | 84 - ...1129-gta01-fix-resume-redo-par.patch.patch | 32 - ...d8d971ee46ce7045fb7863f99a92a-Mon-Se.patch | 121 - .../1131-clean-sdio-hcd-suspend.patch.patch | 56 - .../1132-config-update-2.6.21-rc1.patch.patch | 461 - ...-rc1-remove-input-dev-private-member.patch | 83 - ...rc1-remove-dupe-s3c2410_nand_update_.patch | 52 - ...ng-2.6.26-rc1-sdio-pnp-changes.patch.patch | 111 - ...ix-KEY_PHONE-up-down-inversion.patch.patch | 29 - ...37-s3c24xx-pwm-platform-driver.patch.patch | 127 - ...pend-backlight-timing-pm-debug.patch.patch | 269 - ...9-fix-wep-needs-keys-before-ap.patch.patch | 72 - ...sume-caused-by-the-s3c2410-touch-scr.patch | 37 - ...1-fix-motion-sensor-corruption.patch.patch | 88 - .../1142-add-resume-reason-sysfs.patch.patch | 386 - ...educe-wake-reasons-in-pcf50633.patch.patch | 237 - .../1144-add-gta01-resume-sysfs.patch.patch | 115 - ...uce-samsung-camera-unit-driver.patch.patch | 5883 --- ...46-uplevel-samsung-camera-unit.patch.patch | 1690 - ...move-unused-model-name-bq27000.patch.patch | 28 - ...l-pointer-dereference-in-s3c24xx_i2c.patch | 36 - ...k-not-print-soooo-much-to-my-console.patch | 30 - .../1150-Subject-PATCH-Build-fixes.patch | 127 - ...H-Hardware-glamo-fb-cursor-some-clea.patch | 280 - ...ubject-config-defconfig-2.6.26.patch.patch | 1898 - ...troduce-charging-led-behaviour.patch.patch | 423 - ...54-introduce-resume-dependency.patch.patch | 102 - ...cf50633-resume-dependency-list.patch.patch | 116 - ...f50633-resume-callback-jbt6k74.patch.patch | 438 - ...-a-minor-cleanup-of-backlight-resume.patch | 50 - ...g-codec-register-setting-sysfs.patch.patch | 67 - ...pend-resume-onehit-i2c-other-meddlin.patch | 204 - ...lationship-with-pcf50633-suspend-res.patch | 110 - ...ix-jbt6k74-force-reset-suspend.patch.patch | 28 - ...wer-setting-timeout-waiting-for-pcf5.patch | 46 - ...-resume-dependency-on-pcf50633.patch.patch | 162 - ...errupt-work-enforce-wait-on-resume-c.patch | 134 - ...-i2c-bulk-autoincrement-simplify.pat.patch | 224 - ...633-use-i2c-bulk-autoincrement.patch.patch | 230 - ...usb-curlim-workqueue-migration.patch.patch | 217 - ...e-lcm-keep-power-faster-resume.patch.patch | 94 - ...02-mach-remove-gta01-lcd-reset.patch.patch | 28 - ...d-remote-install-sdcard-script.patch.patch | 47 - ...uire-resume-level-3-for-irq-work.pat.patch | 26 - ...-back-gratuitous-isr-work-call-in-re.patch | 38 - ...l-white-splash-of-death-on-suspend.p.patch | 263 - ...-fix-allow-core-1v3-to-go-down.patch.patch | 27 - ...0-dump-stack-on-suspended-tranfer.pa.patch | 25 - ...pcf50633-suspend-state-as-enum.patch.patch | 197 - ...able-irq-from-suspend-until-resume.p.patch | 234 - ...ace-not-choke-on-null-dev_blah.patch.patch | 29 - ...ally-defer-backlight-on-resume.patch.patch | 71 - ...uspend-resume-dram-and-engines.patch.patch | 431 - ...atform-backlight-resume-ramp-setting.patch | 58 - ...-migrate-gta02-peripherals-out.patch.patch | 220 - ...-pcf-not-data-in-probe-for-context.p.patch | 219 - ...xx-i2s-stop-live-stream-stall-on-res.patch | 61 - ...CH-a6k-Everyone-calls-SET_NET_DEV-an.patch | 62 - ...H-glamo-Don-t-disable-hwcursor-for-b.patch | 191 - ...blink-led-not-using-userspace-omfg.p.patch | 62 - .../1188-touchscreen-meddling.patch.patch | 505 - ...fix-touchscreen-meddling-divde.patch.patch | 52 - ...ume-and-init-reload-boot-coefficient.patch | 168 - .../1191-fix-gsm-resume-problems.patch.patch | 138 - ...oduce-resume-exception-capture.patch.patch | 267 - ...-tracking-defconfig-2.6.26-rc7.patch.patch | 35 - ...rc7-repeat-cdev-removal-pcf50633.pat.patch | 25 - ...1cffe4dbc88d8ff667048ad28d925-Mon-Se.patch | 322 - ...fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch | 38 - ...5f6ba0ede73fa71973823726213a3-Mon-Se.patch | 54 - ...c713d2345a872fdf44f5dd3702e1b-Mon-Se.patch | 77 - ...1a75e0fd2cdf5e099e66121d10c0a-Mon-Se.patch | 136 - ...22daa451e26353140777223d397d2-Mon-Se.patch | 72 - ...move-kernel-charging-led-drive.patch.patch | 30 - .../1202-add-ar6k-wake-interrupt.patch.patch | 48 - ...its-of-nspy-GSM-flow-control-patches.patch | 27 - ...e24d361cd83178fe8da9d68efbf41a011483.patch | 37 - ...6ecbb0f7f2df7b7070092b87ddaf8-Mon-Se.patch | 47 - ...404d5f1185f0b3d6b5632381cb33f-Mon-Se.patch | 73 - ...pcf50633-mask-second-on-resume.patch.patch | 32 - ...208-fix-aux-key-level-by-gtaxx.patch.patch | 33 - ...50633-allow-force-charger-type.patch.patch | 69 - ...-fix-no-uart-leak-when-gps-off.patch.patch | 123 - ...-level-not-forced-up-on-resume.patch.patch | 90 - ...troduce-BANKCON-meddling-sysfs.patch.patch | 300 - ...ruptible-sleep-in-kthread-main-loops.patch | 64 - ...force-sdcard-clk-off-when-idle.patch.patch | 240 - ...5-add-limit-sdcard-clk-cmdline.patch.patch | 109 - .../1216-fix-scard-stop-on-resume.patch.patch | 51 - ...217-debug-move-dev-info-to-dbg.patch.patch | 170 - ...mo-drive-strength-module-param.patch.patch | 167 - ...bq27000-charger-state-tracking.patch.patch | 283 - ...-mci-set-default-drive-level-0.patch.patch | 35 - ...ove-charger-curlim-and-enable-apis-f.patch | 84 - ...y-do-platform-callback-once-per-even.patch | 74 - ...-mci-possible-timeout-overflow.patch.patch | 58 - ...sure-more-than-74-clocks-after-power.patch | 52 - .../1225-fix-pcf50633-bd-undef.patch.patch | 28 - .../1226-fix-wm8753-DBG.patch.patch | 0 ...x-s3c2410-serial-fwd-ref.patch.patch.patch | 167 - ...ull-sd-voltage-range-selection.patch.patch | 74 - ...mci-dont-filter-voltage-change.patch.patch | 40 - ...ower-clocking-dynamic-switching.patc.patch | 120 - ...a02-glamo-mci-sd-dynamic-clock.patch.patch | 92 - ...e-pnp_alloc_dev-to-properly-initiali.patch | 264 - ...llow-the-creation-of-symlinks-on-sys.patch | 68 - .../1234-pcf50606-fix-gllin-compat-link.patch | 52 - .../1235-fix-add-missing-include.patch.patch | 21 - .../1236-config-kill-mtd-debug.patch.patch | 26 - ...fix-glamo-turbo-host-interface.patch.patch | 65 - ...ix-glamo-crank-memory-to-90MHz.patch.patch | 40 - .../1239-fix-hdq-probe.patch.patch | 107 - ...0x-add-minimal-GSM-flowcontrol.patch.patch | 154 - ...a3d0c27c0c750b7bf1b56c002ee7943f3edc.patch | 33 - ...2-silence-serial-console-gta01.patch.patch | 76 - ...isable-irq-from-suspend-until-resume.patch | 287 - ...suspend-backlight-timing-gta01.patch.patch | 123 - ...gta01-uart-fifo-trigger-sooner.patch.patch | 38 - .../1246-checkpatch-fixes.patch.patch | 106 - ...includes-from-checkpatch-fixes.patch.patch | 34 - ...x-pcf50633-usbrem-charging-led.patch.patch | 46 - .../1249-fix-no-discharging.patch.patch | 42 - ...or-paths-on-s3cmci_probe-was-doing-t.patch | 68 - ...kernel-was-crashing-within-mmc_power.patch | 108 - ...d-be-checking-for-a-negative-error-c.patch | 30 - ...ange-takes-jiffies-not-msecs.-Conver.patch | 29 - ...1254-config-2.6.26-add-s3c-mmc.patch.patch | 52 - target/linux/x86/config-2.6.27 | 422 - 705 files changed, 354417 deletions(-) delete mode 100644 target/linux/adm5120/patches-2.6.26/001-adm5120.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/002-adm5120_flash.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/003-adm5120_switch.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/005-adm5120_usb.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/007-adm5120_pci.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/009-adm5120_leds_switch_trigger.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/101-cfi_fixup_macronix_bootloc.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/102-jedec_pmc_39lvxxx_chips.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/103-mtd_trxsplit.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/120-rb153_cf_driver.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/140-cmdline_hack.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/200-amba_pl010_hacks.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/201-amba_bus_hacks.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/202-pci_disable_common_quirks.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/203-gpio_leds_brightness.patch delete mode 100644 target/linux/adm5120/patches-2.6.26/310-adm5120_wdt.patch delete mode 100644 target/linux/ar7/config-2.6.23 delete mode 100644 target/linux/ar7/config-2.6.24 delete mode 100644 target/linux/ar7/config-2.6.25 delete mode 100644 target/linux/ar7/patches-2.6.23/100-board_support.patch delete mode 100644 target/linux/ar7/patches-2.6.23/110-flash.patch delete mode 100644 target/linux/ar7/patches-2.6.23/120-gpio_chrdev.patch delete mode 100644 target/linux/ar7/patches-2.6.23/130-vlynq.patch delete mode 100644 target/linux/ar7/patches-2.6.23/140-watchdog.patch delete mode 100644 target/linux/ar7/patches-2.6.23/200-ethernet_driver.patch delete mode 100644 target/linux/ar7/patches-2.6.23/210-phy_fixed.patch delete mode 100644 target/linux/ar7/patches-2.6.23/500-serial_kludge.patch delete mode 100644 target/linux/ar7/patches-2.6.24/100-board_support.patch delete mode 100644 target/linux/ar7/patches-2.6.24/110-flash.patch delete mode 100644 target/linux/ar7/patches-2.6.24/120-gpio_chrdev.patch delete mode 100644 target/linux/ar7/patches-2.6.24/130-vlynq.patch delete mode 100644 target/linux/ar7/patches-2.6.24/140-cpmac_fix.patch delete mode 100644 target/linux/ar7/patches-2.6.24/150-cpmac_up_and_running.diff delete mode 100644 target/linux/ar7/patches-2.6.24/160-cpmac-rx-ring-use-eoq.diff delete mode 100644 target/linux/ar7/patches-2.6.24/170-cpmac_eth_fix.patch delete mode 100644 target/linux/ar7/patches-2.6.24/500-serial_kludge.patch delete mode 100644 target/linux/ar7/patches-2.6.24/900-temporary_cpmac_hack.diff delete mode 100644 target/linux/ar7/patches-2.6.25/100-board_support.patch delete mode 100644 target/linux/ar7/patches-2.6.25/110-flash.patch delete mode 100644 target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch delete mode 100644 target/linux/ar7/patches-2.6.25/130-vlynq.patch delete mode 100644 target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch delete mode 100644 target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch delete mode 100644 target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff delete mode 100644 target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff delete mode 100644 target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch delete mode 100644 target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch delete mode 100644 target/linux/ar7/patches-2.6.25/500-serial_kludge.patch delete mode 100644 target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff delete mode 100644 target/linux/at91/config-2.6.21 delete mode 100644 target/linux/at91/patches-2.6.21/000-at91patches.patch delete mode 100644 target/linux/at91/patches-2.6.21/001-vlink-machine.patch delete mode 100644 target/linux/at91/patches-2.6.21/002-led-driver.patch delete mode 100644 target/linux/at91/patches-2.6.21/003-gpio-driver.patch delete mode 100644 target/linux/at91/patches-2.6.21/006-change-gpios.patch delete mode 100644 target/linux/at91/patches-2.6.21/007-mtd-partition.patch delete mode 100644 target/linux/at91/patches-2.6.21/008-fdl-serial.patch delete mode 100644 target/linux/at91/patches-2.6.21/009-fdl-uartinit.patch delete mode 100644 target/linux/at91/patches-2.6.21/010-dm9161a-phyfix.patch delete mode 100644 target/linux/at91/patches-2.6.21/011-vlink-resetfix.patch delete mode 100644 target/linux/at91/patches-2.6.21/012-at91-mmcfix.patch delete mode 100644 target/linux/at91/patches-2.6.21/013-at91-mmc1wire.patch delete mode 100644 target/linux/at91/patches-2.6.21/014-initpartition.patch delete mode 100644 target/linux/at91/patches-2.6.21/015-simenable.patch delete mode 100644 target/linux/at91/patches-2.6.21/016-v1-15-detect.patch delete mode 100644 target/linux/au1000/au1500/config-2.6.23 delete mode 100644 target/linux/au1000/au1500/config-2.6.24 delete mode 100644 target/linux/au1000/au1500/config-2.6.25 delete mode 100644 target/linux/au1000/patches/001-au1000_gpio_kconfig.patch delete mode 100644 target/linux/au1000/patches/002-sys_btn_gpio.patch delete mode 100644 target/linux/au1000/patches/005-au1000_eth_link_beat.patch delete mode 100644 target/linux/au1000/patches/012-mtx1_cmdline.patch delete mode 100644 target/linux/au1000/patches/013-openwrt_rootfs.patch delete mode 100644 target/linux/au1000/patches/014-au1000_eth_ioctl.patch delete mode 100644 target/linux/au1000/patches/015-pci-resource.patch delete mode 100644 target/linux/au1000/patches/016-net-irq.patch delete mode 100644 target/linux/au1000/patches/017-gpio-dir.patch delete mode 100644 target/linux/rb532/config-2.6.23 delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/pci/fixup-rb500.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/pci/ops-rc32434.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/pci/pci-rc32434.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/Makefile delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/devices.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/gpio.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/irq.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/prom.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/serial.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/setup.c delete mode 100644 target/linux/rb532/files-2.6.23/arch/mips/rb500/time.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/block/rb500/Makefile delete mode 100644 target/linux/rb532/files-2.6.23/drivers/block/rb500/ata.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/block/rb500/ata.h delete mode 100644 target/linux/rb532/files-2.6.23/drivers/block/rb500/bdev.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/char/watchdog/rc32434_wdt.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/leds/leds-rb500.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/net/korina.c delete mode 100644 target/linux/rb532/files-2.6.23/drivers/net/rc32434_eth.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/ddr.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/dma.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/dma_v.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/eth.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/eth_v.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/gpio.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/integ.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/irq.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/pci.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/rb.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/rc32434.h delete mode 100644 target/linux/rb532/files-2.6.23/include/asm-mips/rc32434/war.h delete mode 100644 target/linux/rb532/patches-2.6.23/100-rb5xx_support.patch delete mode 100644 target/linux/rb532/patches-2.6.23/110-korina_ethernet.patch delete mode 100644 target/linux/rb532/patches-2.6.23/120-cf.patch delete mode 100644 target/linux/rb532/patches-2.6.23/140-cmdline_hack.patch delete mode 100644 target/linux/rb532/patches-2.6.23/200-bridge_resource_hack.patch delete mode 100644 target/linux/rb532/patches-2.6.23/220-serial_fix.patch delete mode 100644 target/linux/rb532/patches-2.6.23/240-via_rhine_performance.patch delete mode 100644 target/linux/rb532/patches-2.6.23/510-rb500_led.patch delete mode 100644 target/linux/rb532/patches-2.6.23/520-rc32434_wdt.patch delete mode 100644 target/linux/s3c24xx/config-2.6.24 delete mode 100644 target/linux/s3c24xx/config-2.6.26 delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1001-explicitly-link-notes-section.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1002-gta01-no_nand_partitions.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1003-neo1973-soc-include-fix.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1004-asoc-neo1973_wm8753-power.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1005-asoc-core-suspend_resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1006-fix-i2c-s3c2410-resume-race.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1007-resume-timers-wq.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1008-wm8753-rout2-inv.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1009-s3c2410-bbt.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1010-gta01-pcf50606.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1011-gta01-core.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1012-gta01-jbt6k74.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1013-gta01-inputdevice.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1014-gta01-power_control.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1015-s3c2410-pwm.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1016-gta01-vibrator.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1017-gta01-backlight.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1018-s3c2410_touchscreen.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1019-s3c2410_ts-gta01.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1021-g_ether-highpower.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1022-g_ether-vendor_product.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1023-s3c_mci.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1024-s3c_mci-gta01.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1025-qt2410-s3c_mci-pdata.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1026-s3c24xx-nand-largepage.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1027-s3c2410_udc-2440_dual_packet-workaround.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1028-hxd8-core.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1029-hxd8-tsl256x.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1030-s3c2442b-cpuid.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1031-pcf50633.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1032-pcf50633-suspend-hacks.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1033-smedia-glamo.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1034-glamo-mmc.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1035-gta02-core.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1036-gta02-power_control.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1037-gta02-sound.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1038-lis302dl.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1039-gta02-leds.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1040-gta02-acc.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1041-pcf506xx.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1042-gta02-bt-fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1043-openmoko-logo.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1044-config-nr-tty-devices.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1045-pm-debug_less_verbose.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1046-s3c2410_serial-nodebug.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1047-input-nots-mousedev.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1048-s3c2440-nand-disable-hwecc.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1049-qt2410-cs8900.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1050-s3c2410-qt2410-buttons.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1051-fail-unless-uimage.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1052-montour-audio.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1053-introduce-fiq-basis.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1054-introduce-fiq-use-timer3-as-source.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1055-introduce-fiq-migrate-vibrator-gta02-only.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1056-fiq-hdq.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1057-bq27000-battery-driver.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1058-fix-EVIOCGRAB-semantics.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1059-iis-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1060-s3c24xx-pcm-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1061-s3c2410-usb-switch.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1062-pnp_fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1063-atheros_2_0_function.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1064-atheros_2_0_hcd.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1065-atheros_2_0_sdio_stack.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1066-fix-hwecc-2410.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1067-fix-pcf50606-LOWBAT-kill-init.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1068-fix-pcf50633-LOWBAT-kill-init.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1069-gta01-dehang-printk.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1070-kexec-atags.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1071-suspend-prelim1.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1072-gta02-sound-bandaid.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1073-glamo-cmdqueue-bandaid.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1074-local-add-defconfig.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1075-local-build-scripts.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1076-local-build-new-dfu-vid.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1077-local-update-defconfig-for-2.6-dev.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1078-local-config-add-vfat-nls-to-kern.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1079-local-config-add-bluetooth-monolithic.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1080-local-config-wlan-config-changes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1081-local-config-defconfig-motion-sensor-gpio.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1082-local-config-pmu.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1083-local-config-ext2.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1084-contrib-fix-chgstate-array-bloat.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1085-bugfix-deglitch-gpio-output-enable.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1087-introduce-fiq-hdq.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1088-introduce-bq27000-battery-driver.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1089-debug-suspend-dump-gpio-states-add-GPA.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1090-fix-s3c2410_timer_setup-resume-BUG.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1091-config-add-alsa.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1092-fix-glamo-mci-defeat-ops-during-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1093-fix-lcm-reinit-post-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1094-fix-glamo-mci-fake-reset-opcode-in-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1095-use-gpio-control-leds.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1096-fix-gpio-led-patch-still-pwm-t3.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1097-introduce-usb-host-power-control.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1099-add-pcf50633-06-RTC_AIE-ioctl.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1100-fix-lis302dl-suspend-gpio.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1101-fix-suspend-gps-tx-level.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1102-Do-not-send-low-level-debugging-to-the-modem.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1103-add-gta02-pcb-revision-detect.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1104-debug-glamo-dump-regs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1105-add-pcb-rev-sysfs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1106-Simplify-the-code-there-is-no-need-for-a-branch.-Th.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1107-Remove-dead-code.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1108-Fix-the-FIXME-store-the-GPIO-value-for-now.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1109-Convert-the-driver-to-the-generic-GPIO-framework.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1110-Add-GPIO-IRQ-for-the-s3c2410-and-add-irq_to_gpio.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1111-This-is-gta02-and-not-gta01.-Do-not-call-the-vibrato.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1112-Fix-spelling.-flaoting-floating.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1113-Fix-the-firing-of-Jack-Interrupts-after-resume-whe.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1114-Enable-GPS-only-if-it-was-powered-on-before-suspendi.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1115-fix-wlan-disable.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1116-defconfig-audio.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1117-audio-tickless-timeout.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1118-fix-gsm-download-irq-balance-issue.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1119-add-modules-defconfig.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1120-fix-glamofb-cmdqueue-timeout.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1121-fix-usb-ethernet-mwester.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1122-fix-glamofb-cmd-mode-locking.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1123-fix-jack-debounce.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1124-OpenMoko-Openmoko.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1125-fix-gta01-spi-resume-patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1126-Remove-not-needed-ifdef-as-machine_is_-is-always-de.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1128--led-Misc-fixes-in-the-driver-code.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1129--neo-bluetooth-GTA01_GPIO_MODEM_RST-GTA02_GPIO_M.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1130--neo-Every-access-to-GPIO-bank-B-has-to-go-through.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1131-fix-jack-interrupt-debounce-loss-window.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1132-fix-gta01-pmu-irq-edge-lost-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1133-gta01-fix-jbt-platform-missing-members.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1134-gta01-fix-resume-redo-par.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1136-This-fixes-the-exit-function-so-that-the-module-can.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1137-This-adds-some-debug-messages-to-the-Neo1937-sound-d.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1138-From-cc08b5986dfd8d971ee46ce7045fb7863f99a92a-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1139-clean-sdio-hcd-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1140-Stop-GTA01-MMC-Debugging-messages.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1141-fix-KEY_PHONE-up-down-inversion.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1142-s3c24xx-pwm-platform-driver.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1143-fix-wep-needs-keys-before-ap.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1144-config-add-back-MMC_UNSAFE_RESUME.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1145-fix-suspend-backlight-timing-pm-debug.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1146-quench-glamofb-err-lock-and-mmc-debug.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1147-add-force-backlight-up-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1148-fix-backlight-disable-on-zero-intensity.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1149-Re-PATCH-6-7-fix-suppress-cpu-suspend-save-restor.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1150-Explain-why-we-want-SECOND-to-kick.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1151--pcf50633-Print-less-debugging-messages.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1152--pcf50633-Add-exported-symbol-to-the-header-file.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1153--pcf50633-Assume-that-all-gta02-s-have-a-battery-wi.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1154--pcf50633-Disable-debugging-statements-as-the-drive.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1155--power-Use-the-bq27000-battery-to-provide-charging.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1156-Disable-low-level-debugging-make-the-s3c24xx-PM-deb.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1157-clean-remove-build-noise.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1158-minor-problem-with-LCD.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1159-Fixup-hang-on-resume-caused-by-the-s3c2410-touch-scr.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1160-fix-motion-sensor-corruption.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1161-add-resume-reason-sysfs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1162-fix-reduce-wake-reasons-in-pcf50633.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1163-Fix-possible-null-pointer-dereference-in-s3c24xx_i2c.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1164-Make-ar6k-not-print-soooo-much-to-my-console.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1165-Remove-GTA01-PM-debug.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1166-Subject-PATCH-a6k-Everyone-calls-SET_NET_DEV-an.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1167-add-gta01-resume-sysfs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1168-introduce-samsung-camera-unit-driver.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1169-uplevel-samsung-camera-unit.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1170-introduce-charging-led-behaviour.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1171-introduce-resume-dependency.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1172-introduce-pcf50633-resume-dependency-list.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1173-add-use-pcf50633-resume-callback-jbt6k74.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1174-fix-remove-unused-model-name-bq27000.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1175-Subject-PATCH-Build-fixes.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1176-Subject-PATCH-Hardware-glamo-fb-cursor-some-clea.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1177-The-following-is-a-minor-cleanup-of-backlight-resume.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1178-debug-codec-register-setting-sysfs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1179-fix-pcf50633-suspend-resume-onehit-i2c-other-meddlin.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1180-fix-glamo-mci-relationship-with-pcf50633-suspend-res.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1181-fix-jbt6k74-force-reset-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1182-ASoC-Don-t-block-system-resume.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1183-fix-glamo-mci-power-setting-timeout-waiting-for-pcf5.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1184-fix-glamo-mci-resume-dependency-on-pcf50633.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1185-fix-pcf50633-interrupt-work-enforce-wait-on-resume-c.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1186-fix-pcf50633-rtc-i2c-bulk-autoincrement-simplify.pat.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1187-fix-pcf50633-use-i2c-bulk-autoincrement.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1188-fix-pcf50633-usb-curlim-workqueue-migration.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1189-change-lcm-keep-power-faster-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1190-fix-gta02-mach-remove-gta01-lcd-reset.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1192-fix-pcf50633-require-resume-level-3-for-irq-work.pat.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1193-fix-pcf50633-add-back-gratuitous-isr-work-call-in-re.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1194-cosmetic-checkpatch-complaints.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1195-fix-pcf50633-kill-white-splash-of-death-on-suspend.p.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1196-fix-allow-core-1v3-to-go-down.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1197-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1198-fix-pcf50633-suspend-state-as-enum.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1199-fix-pcf50633-disable-irq-from-suspend-until-resume.p.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1200-debug-backtrace-not-choke-on-null-dev_blah.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1201-fix-pcf50633-really-defer-backlight-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1202-fix-pcf50633-platform-backlight-resume-ramp-setting.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1203-fix-pcf50633-migrate-gta02-peripherals-out.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1204-fix-pcf50633-use-pcf-not-data-in-probe-for-context.p.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1205-workaround-s3c24xx-i2s-stop-live-stream-stall-on-res.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1206-Subject-PATCH-a6k-Everyone-calls-SET_NET_DEV-an.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1207-Subject-PATCH-glamo-Don-t-disable-hwcursor-for-b.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1208-introduce-panic-blink-led-not-using-userspace-omfg.p.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1209-touchscreen-meddling.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1210-fix-touchscreen-meddling-divde.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1211-fix-lis302dl-resume-and-init-reload-boot-coefficient.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1212-fix-gsm-resume-problems.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1213-clean-gsm-flow-control.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1214-introduce-resume-exception-capture.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1215-From-119f4e02ba81cffe4dbc88d8ff667048ad28d925-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1216-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1217-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1218-From-000450f1ad2c713d2345a872fdf44f5dd3702e1b-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1219-From-5718bde77ed1a75e0fd2cdf5e099e66121d10c0a-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1221-change-remove-kernel-charging-led-drive.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1222-add-ar6k-wake-interrupt.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1223-Remove-some-bits-of-nspy-GSM-flow-control-patches.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1225-From-cede5c6c9b06ecbb0f7f2df7b7070092b87ddaf8-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1226-From-3a32be40f78404d5f1185f0b3d6b5632381cb33f-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1227-fix-pcf50633-mask-second-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1228-fix-aux-key-level-by-gtaxx.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1229-add-pcf50633-allow-force-charger-type.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1230-fix-no-uart-leak-when-gps-off.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1231-fix-glamo-suspend-resume-dram-and-engines.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1232-change-backlight-level-not-forced-up-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1233-introduce-BANKCON-meddling-sysfs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1234-sdio-use-interruptible-sleep-in-kthread-main-loops.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1235-fix-force-sdcard-clk-off-when-idle.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1236-add-limit-sdcard-clk-cmdline.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1237-defconfig-enable-ext2-ext3-gtaxx.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1238-fix-scard-stop-on-resume.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1239-debug-move-dev-info-to-dbg.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1240-debug-add-glamo-drive-strength-module-param.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1241-fix-pcf50633-move-charger-enable-decision-to-pcf5063.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1242-fix-bq27000-charger-state-tracking.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1243-fix-glamo-mci-set-default-drive-level-0.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1244-fix-pcf50633-remove-charger-curlim-and-enable-apis-f.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1245-fix-pcf50633-only-do-platform-callback-once-per-even.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1246-fix-glamo-mci-possible-timeout-overflow.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1247-fix-glamo-mci-ensure-more-than-74-clocks-after-power.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1248-fix-allow-full-sd-voltage-range-selection.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1249-fix-glamo-mci-dont-filter-voltage-change.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1250-add-glamo-mci-slower-clocking-dynamic-switching.patc.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1251-use-gta02-glamo-mci-sd-dynamic-clock.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1252-fix-add-missing-include.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1253-config-usb-over-ethernet-module.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1254-fix-pcf50633-usbrem-charging-led.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1255-add-build-git-head-info.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1256-add-buildkeep-hash-named-copy.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1257-fix-build-hash-name-no-colon-separator.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1258-add-build-makerecovery.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1259-From-fa269b44512a03523b164c3cebc20312748c524b-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1260-config-remove-evbug-module.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1261-config-add-udf-support.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1262-gta0x-add-minimal-GSM-flowcontrol.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1263-commit-830ea3d0c27c0c750b7bf1b56c002ee7943f3edc.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1264-silence-serial-console-gta01.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1265-gta01-pcf50606-disable-irq-from-suspend-until-resume.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1266-fix-suspend-backlight-timing-gta01.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1267-gta01-uart-fifo-trigger-sooner.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1268-checkpatch-fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1269-add-includes-from-checkpatch-fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1270-fix-no-discharging.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1271-always-call-resume-dependencies.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1272-clean-remove-suspend-dependencies-syslog.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1273-clean-checkpatch-gsm-resume-dep.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1274-mach-gta02-spell-fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1275-lis302dl-allow-unloading-module.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1276-lis302dl-add-wakeup-defs.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1277-From-98d97ee93af676f7d6d0bf55aaae17e11304598a-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1278-From-ca800f8b234299c56530e56018c031957c5c7ffb-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1279-From-5ee1ee9e1c8a652b0f9cde72ad5e547db87d4d67-Mon-Se.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1280-interface-for-configuring-freefall-wakeup-interrupts.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1281-checkpatch-accel-fixes.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1282-From-Andrzej-Zaborowski-balrogg-gmail.com.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1283-gta02-accel-isr-fix-more.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1284-fix-one-mmc-race.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1285-fix-glamo-idleclock-around-suspend.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1286-fix-glamo-crank-memory-to-90MHz.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1287-soft_tap.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1288-newline_after_disconnect_msg.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1289-ar6k-essid-one-and-32.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1291-gta03-pca9632.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1292-fix-glamo-mci-slow-clock-until-first-bulk.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1293-fix-build-with-no-CONFIG_MMC.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1294-revert-fix-build-with-no-config_mmc-glamo-resume-cal.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1295-This-patch-adds-a-framebuffer-notifier-in-order-to-d.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1296-config-remove-gta01-wm8752-from-gta02-defconfig.patc.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1297-glamo_fb-Cosmetic-cleanup.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1298-glamo_fb-sync-comment-with-code.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1299-glamo_fb-Implement-screen-blanking.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1300-fix-gcc-4.3-false-modulo-optimization.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1301-clean-move-defconfigs-stable.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1302-fix-defconfig-path.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1303-fix-lid302dl-bitbang-all-the-way-baby.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1304--Acceleration-threshold-configuration-lis302dl-con.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1305-suppress-onkey-events-on-resume-Was-Re-Where-ar.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1306--lis302dl-refactor-and-cleanup.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1307--lis302dl-threshold-configuration-in-mg.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1308--lis302dl-configure-duration.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1309--lis302dl-open-floodgates-on-zero-threshold.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1310--lis302dl-wakeup-configuration.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1311-config-enable-oprofile-gta01-gta02.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1312-GTA02-Improve-NAND-timings.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1313-S3C24xx-NAND-allow-for-faster-timings.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1314-palliate_touch_screen_jitter.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1315-config-allow-gta02-usb-hiddev.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1316-jffs2-choke-gc-thread.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1317-fix-gta02-defconfig-uplevel.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1318-config-enable-storing-config-in-kernel.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1319-config-enable-ikconfig-proc.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1320--ARM-S3C24xx-Add-preliminary-E-TEN-glofiish-M800-s.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1321-fix-s3c2410-usb-controller-mode-change-always-EINVAL.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1322-fix-gta01-s3c-mci-stop-clock-when-idle.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1323-GTA01-use-slow-SD-clock-when-gps-on.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1324-gta01-battery-driver.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1325-fix-missing-new-files-glofiish.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1326-change-gta01-battery-driver-name.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1327-jbt6k74_no_deep_sleep.patch.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1328-.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/0100-revert-openwrt-patches-921-922-923.patch delete mode 100644 target/linux/s3c24xx/patches-2.6.26/0500-call-preinit-instead-of-init.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1001-explicitly-link-notes-section.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1002-gta01-no_nand_partitions.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1003-fix-i2c-s3c2410-resume-race.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1004-resume-timers-wq.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1005-s3c2410-bbt.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1006-gta01-pcf50606.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1007-gta01-core.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1008-gta01-jbt6k74.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1009-gta01-inputdevice.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1010-gta01-power_control.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1011-s3c2410-pwm.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1012-gta01-vibrator.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1013-gta01-backlight.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1014-s3c2410_touchscreen.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1015-s3c2410_ts-gta01.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1016-i2c-permit_invalid_addrs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1017-g_ether-highpower.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1018-g_ether-vendor_product.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1019-s3c_mci.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1020-s3c_mci-gta01.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1021-s3c24xx-nand-largepage.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1022-s3c2410_udc-2440_dual_packet-workaround.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1023-s3c2442b-cpuid.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1024-pcf50633.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1025-pcf50633-suspend-hacks.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1026-smedia-glamo.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1027-glamo-mmc.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1028-gta02-core.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1029-gta02-power_control.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1030-gta02-sound.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1031-lis302dl.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1032-gta02-leds.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1033-gta02-acc.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1034-pcf506xx.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1035-gta02-bt-fixes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1036-openmoko-logo.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1037-config-nr-tty-devices.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1038-pm-debug_less_verbose.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1039-s3c2410_serial-nodebug.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1040-input-nots-mousedev.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1041-s3c2440-nand-disable-hwecc.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1042-qt2410-cs8900.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1043-s3c2410-qt2410-buttons.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1044-fail-unless-uimage.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1045-introduce-fiq-basis.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1046-introduce-fiq-use-timer3-as-source.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1047-introduce-fiq-migrate-vibrator-gta02-only.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1048-fiq-hdq.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1049-bq27000-battery-driver.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1050-fix-EVIOCGRAB-semantics.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1051-s3c2410-usb-switch.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1052-pnp_fixes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1053-atheros_2_0_function.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1054-atheros_2_0_hcd.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1055-atheros_2_0_sdio_stack.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1056-fix-hwecc-2410.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1057-fix-pcf50606-LOWBAT-kill-init.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1058-fix-pcf50633-LOWBAT-kill-init.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1059-gta01-dehang-printk.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1060-suspend-prelim1.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1061-gta02-sound-bandaid.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1062-glamo-cmdqueue-bandaid.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1063-fix-wm8753-DBG.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1064-local-add-defconfig.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1065-local-build-scripts.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1066-local-build-new-dfu-vid.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1067-local-update-defconfig-for-2.6-dev.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1068-local-config-add-vfat-nls-to-kern.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1069-local-config-add-bluetooth-monolithic.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1070-local-config-wlan-config-changes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1071-local-config-defconfig-motion-sensor-gpio.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1072-local-config-pmu.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1073-local-config-ext2.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1074-contrib-fix-chgstate-array-bloat.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1075-bugfix-deglitch-gpio-output-enable.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1076-clean-snip-gpio-reinit.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1077-introduce-fiq-hdq.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1078-introduce-bq27000-battery-driver.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1079-debug-suspend-dump-gpio-states-add-GPA.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1080-fix-s3c2410_timer_setup-resume-BUG.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1081-config-add-alsa.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1082-fix-glamo-mci-defeat-ops-during-suspend.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1083-fix-lcm-reinit-post-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1084-fix-glamo-mci-fake-reset-opcode-in-suspend.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1085-use-gpio-control-leds.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1086-fix-gpio-led-patch-still-pwm-t3.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1087-introduce-usb-host-power-control.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1088-fix-charging-deassert-host-power-1a-detect.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1089-add-pcf50633-06-RTC_AIE-ioctl.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1090-fix-lis302dl-suspend-gpio.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1092-Do-not-send-low-level-debugging-to-the-modem.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1093-add-gta02-pcb-revision-detect.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1094-debug-glamo-dump-regs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1095-add-pcb-rev-sysfs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1096-Simplify-the-code-there-is-no-need-for-a-branch.-Th.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1097-Remove-dead-code.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1098-Fix-the-FIXME-store-the-GPIO-value-for-now.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1099-Convert-the-driver-to-the-generic-GPIO-framework.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1100-Add-GPIO-IRQ-for-the-s3c2410-and-add-irq_to_gpio.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1101-This-is-gta02-and-not-gta01.-Do-not-call-the-vibrato.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1102-Fix-spelling.-flaoting-floating.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1103-Fix-the-firing-of-Jack-Interrupts-after-resume-whe.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1104-Enable-GPS-only-if-it-was-powered-on-before-suspendi.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1105-fix-wlan-disable.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1106-defconfig-audio.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1107-fix-gsm-download-irq-balance-issue.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1108-fix-glamofb-cmdqueue-timeout.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1109-fix-glamofb-cmd-mode-locking.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1110-debug-glamo-add-lcd-regs-to-dump.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1111-fix-jack-debounce.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1112-OpenMoko-Openmoko.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1113-Remove-not-needed-ifdef-as-machine_is_-is-always-de.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1114--leds-We-would-enable-PWM-for-all-four-timers-disa.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1115--led-Misc-fixes-in-the-driver-code.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1116--neo-bluetooth-GTA01_GPIO_MODEM_RST-GTA02_GPIO_M.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1117--neo-Every-access-to-GPIO-bank-B-has-to-go-through.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1118-fix-jack-interrupt-debounce-loss-window.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1119-fix-gta01-spi-resume-patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1120-fix-gta01-pmu-irq-edge-lost-on-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1121-add-defconfig-2.6.25.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1122-tracking-2.6.25-input_dev-cdev-union-removed.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1123-tracking-2.6.25-struct-bus-type-loses-devices-member.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1124-tracking-2.6.25-upstream-s3c2410_gpio_irq2pin.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1125-tracking-2.6.25-deprecated-includefile-wm8753.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1126-tracking-2.6.25-changed-s3c2410_dma_request-reurn.pa.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1127-gta01-gps-power-state-resume-preserve.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1128-gta01-fix-jbt-platform-missing-members.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1129-gta01-fix-resume-redo-par.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1130-From-cc08b5986dfd8d971ee46ce7045fb7863f99a92a-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1131-clean-sdio-hcd-suspend.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1132-config-update-2.6.21-rc1.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1133-tracking-2.6.26-rc1-remove-input-dev-private-member.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1134-tracking-2.6.26-rc1-remove-dupe-s3c2410_nand_update_.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1135-tracking-2.6.26-rc1-sdio-pnp-changes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1136-fix-KEY_PHONE-up-down-inversion.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1137-s3c24xx-pwm-platform-driver.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1138-fix-suspend-backlight-timing-pm-debug.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1139-fix-wep-needs-keys-before-ap.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1140-Fixup-hang-on-resume-caused-by-the-s3c2410-touch-scr.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1141-fix-motion-sensor-corruption.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1142-add-resume-reason-sysfs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1143-fix-reduce-wake-reasons-in-pcf50633.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1144-add-gta01-resume-sysfs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1145-introduce-samsung-camera-unit-driver.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1146-uplevel-samsung-camera-unit.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1147-fix-remove-unused-model-name-bq27000.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1148-Fix-possible-null-pointer-dereference-in-s3c24xx_i2c.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1149-Make-ar6k-not-print-soooo-much-to-my-console.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1150-Subject-PATCH-Build-fixes.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1151-Subject-PATCH-Hardware-glamo-fb-cursor-some-clea.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1152-Subject-config-defconfig-2.6.26.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1153-introduce-charging-led-behaviour.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1154-introduce-resume-dependency.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1155-introduce-pcf50633-resume-dependency-list.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1156-add-use-pcf50633-resume-callback-jbt6k74.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1157-The-following-is-a-minor-cleanup-of-backlight-resume.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1158-debug-codec-register-setting-sysfs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1159-fix-pcf50633-suspend-resume-onehit-i2c-other-meddlin.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1160-fix-glamo-mci-relationship-with-pcf50633-suspend-res.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1161-fix-jbt6k74-force-reset-suspend.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1162-fix-glamo-mci-power-setting-timeout-waiting-for-pcf5.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1163-fix-glamo-mci-resume-dependency-on-pcf50633.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1164-fix-pcf50633-interrupt-work-enforce-wait-on-resume-c.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1165-fix-pcf50633-rtc-i2c-bulk-autoincrement-simplify.pat.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1166-fix-pcf50633-use-i2c-bulk-autoincrement.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1167-fix-pcf50633-usb-curlim-workqueue-migration.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1168-change-lcm-keep-power-faster-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1169-fix-gta02-mach-remove-gta01-lcd-reset.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1170-add-remote-install-sdcard-script.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1171-fix-pcf50633-require-resume-level-3-for-irq-work.pat.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1172-fix-pcf50633-add-back-gratuitous-isr-work-call-in-re.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1173-fix-pcf50633-kill-white-splash-of-death-on-suspend.p.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1174-fix-allow-core-1v3-to-go-down.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1176-fix-pcf50633-suspend-state-as-enum.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1177-fix-pcf50633-disable-irq-from-suspend-until-resume.p.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1178-debug-backtrace-not-choke-on-null-dev_blah.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1179-fix-pcf50633-really-defer-backlight-on-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1180-fix-glamo-suspend-resume-dram-and-engines.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1181-fix-pcf50633-platform-backlight-resume-ramp-setting.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1182-fix-pcf50633-migrate-gta02-peripherals-out.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1183-fix-pcf50633-use-pcf-not-data-in-probe-for-context.p.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1184-workaround-s3c24xx-i2s-stop-live-stream-stall-on-res.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1185-Subject-PATCH-a6k-Everyone-calls-SET_NET_DEV-an.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1186-Subject-PATCH-glamo-Don-t-disable-hwcursor-for-b.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1187-introduce-panic-blink-led-not-using-userspace-omfg.p.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1188-touchscreen-meddling.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1189-fix-touchscreen-meddling-divde.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1190-fix-lis302dl-resume-and-init-reload-boot-coefficient.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1191-fix-gsm-resume-problems.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1192-introduce-resume-exception-capture.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1193-tracking-defconfig-2.6.26-rc7.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1194-tracking-2.6.26-rc7-repeat-cdev-removal-pcf50633.pat.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1195-From-119f4e02ba81cffe4dbc88d8ff667048ad28d925-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1196-From-ae3f72fc608fcd0a98a980a335ac4dc7ad95b221-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1198-From-000450f1ad2c713d2345a872fdf44f5dd3702e1b-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1199-From-5718bde77ed1a75e0fd2cdf5e099e66121d10c0a-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1200-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1201-change-remove-kernel-charging-led-drive.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1202-add-ar6k-wake-interrupt.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1203-Remove-some-bits-of-nspy-GSM-flow-control-patches.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1204-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1205-From-cede5c6c9b06ecbb0f7f2df7b7070092b87ddaf8-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1206-From-3a32be40f78404d5f1185f0b3d6b5632381cb33f-Mon-Se.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1207-fix-pcf50633-mask-second-on-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1208-fix-aux-key-level-by-gtaxx.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1209-add-pcf50633-allow-force-charger-type.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1210-fix-no-uart-leak-when-gps-off.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1211-change-backlight-level-not-forced-up-on-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1212-introduce-BANKCON-meddling-sysfs.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1213-sdio-use-interruptible-sleep-in-kthread-main-loops.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1214-fix-force-sdcard-clk-off-when-idle.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1215-add-limit-sdcard-clk-cmdline.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1216-fix-scard-stop-on-resume.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1217-debug-move-dev-info-to-dbg.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1218-debug-add-glamo-drive-strength-module-param.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1219-fix-bq27000-charger-state-tracking.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1220-fix-glamo-mci-set-default-drive-level-0.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1221-fix-pcf50633-remove-charger-curlim-and-enable-apis-f.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1222-fix-pcf50633-only-do-platform-callback-once-per-even.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1223-fix-glamo-mci-possible-timeout-overflow.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1224-fix-glamo-mci-ensure-more-than-74-clocks-after-power.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1225-fix-pcf50633-bd-undef.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1226-fix-wm8753-DBG.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1227-fix-s3c2410-serial-fwd-ref.patch.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1228-fix-allow-full-sd-voltage-range-selection.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1229-fix-glamo-mci-dont-filter-voltage-change.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1230-add-glamo-mci-slower-clocking-dynamic-switching.patc.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1231-use-gta02-glamo-mci-sd-dynamic-clock.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1232-0003-a6k-sdio-Use-pnp_alloc_dev-to-properly-initiali.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1233-device-model-Allow-the-creation-of-symlinks-on-sys.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1234-pcf50606-fix-gllin-compat-link.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1235-fix-add-missing-include.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1236-config-kill-mtd-debug.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1237-fix-glamo-turbo-host-interface.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1238-fix-glamo-crank-memory-to-90MHz.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1239-fix-hdq-probe.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1240-gta0x-add-minimal-GSM-flowcontrol.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1241-commit-830ea3d0c27c0c750b7bf1b56c002ee7943f3edc.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1242-silence-serial-console-gta01.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1243-gta01-pcf50606-disable-irq-from-suspend-until-resume.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1244-fix-suspend-backlight-timing-gta01.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1245-gta01-uart-fifo-trigger-sooner.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1246-checkpatch-fixes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1247-add-includes-from-checkpatch-fixes.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1248-fix-pcf50633-usbrem-charging-led.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1249-fix-no-discharging.patch.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1250-One-of-the-error-paths-on-s3cmci_probe-was-doing-t.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1251-My-GTA01-2.6.26-kernel-was-crashing-within-mmc_power.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1252-The-driver-should-be-checking-for-a-negative-error-c.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1253-mmc_detect_change-takes-jiffies-not-msecs.-Conver.patch delete mode 100755 target/linux/s3c24xx/patches-2.6.26/1254-config-2.6.26-add-s3c-mmc.patch.patch delete mode 100644 target/linux/x86/config-2.6.27 diff --git a/target/linux/adm5120/patches-2.6.26/001-adm5120.patch b/target/linux/adm5120/patches-2.6.26/001-adm5120.patch deleted file mode 100644 index ffebf85b97..0000000000 --- a/target/linux/adm5120/patches-2.6.26/001-adm5120.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/arch/mips/Kconfig -+++ b/arch/mips/Kconfig -@@ -18,6 +18,22 @@ choice - prompt "System type" - default SGI_IP22 - -+config ADM5120 -+ bool "Infineon/ADMtek ADM5120 SoC based machines" -+ select CEVT_R4K -+ select CSRC_R4K -+ select SYS_HAS_CPU_MIPS32_R1 -+ select SYS_HAS_EARLY_PRINTK -+ select DMA_NONCOHERENT -+ select IRQ_CPU -+ select SYS_SUPPORTS_LITTLE_ENDIAN -+ select SYS_SUPPORTS_BIG_ENDIAN -+ select SYS_SUPPORTS_32BIT_KERNEL -+ select GENERIC_GPIO -+ select HAVE_GPIO_LIB -+ select SWAP_IO_SPACE if CPU_BIG_ENDIAN -+ select MIPS_MACHINE -+ - config MACH_ALCHEMY - bool "Alchemy processor based machines" - -@@ -687,6 +702,7 @@ config WR_PPMC - - endchoice - -+source "arch/mips/adm5120/Kconfig" - source "arch/mips/au1000/Kconfig" - source "arch/mips/basler/excite/Kconfig" - source "arch/mips/jazz/Kconfig" ---- a/arch/mips/Makefile -+++ b/arch/mips/Makefile -@@ -174,6 +174,21 @@ cflags-$(CONFIG_MACH_JAZZ) += -Iinclude/ - load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 - - # -+# Infineon/ADMtek ADM5120 -+# -+libs-$(CONFIG_ADM5120) += arch/mips/adm5120/prom/ -+core-$(CONFIG_ADM5120) += arch/mips/adm5120/common/ -+core-$(CONFIG_ADM5120_OEM_CELLVISION) += arch/mips/adm5120/cellvision/ -+core-$(CONFIG_ADM5120_OEM_COMPEX) += arch/mips/adm5120/compex/ -+core-$(CONFIG_ADM5120_OEM_EDIMAX) += arch/mips/adm5120/edimax/ -+core-$(CONFIG_ADM5120_OEM_INFINEON) += arch/mips/adm5120/infineon/ -+core-$(CONFIG_ADM5120_OEM_MIKROTIK) += arch/mips/adm5120/mikrotik/ -+core-$(CONFIG_ADM5120_OEM_MOTOROLA) += arch/mips/adm5120/motorola/ -+core-$(CONFIG_ADM5120_OEM_ZYXEL) += arch/mips/adm5120/zyxel/ -+cflags-$(CONFIG_ADM5120) += -Iinclude/asm-mips/mach-adm5120 -+load-$(CONFIG_ADM5120) += 0xffffffff80001000 -+ -+# - # Common Alchemy Au1x00 stuff - # - core-$(CONFIG_SOC_AU1X00) += arch/mips/au1000/common/ diff --git a/target/linux/adm5120/patches-2.6.26/002-adm5120_flash.patch b/target/linux/adm5120/patches-2.6.26/002-adm5120_flash.patch deleted file mode 100644 index d7535aeaa6..0000000000 --- a/target/linux/adm5120/patches-2.6.26/002-adm5120_flash.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/drivers/mtd/maps/Kconfig -+++ b/drivers/mtd/maps/Kconfig -@@ -586,5 +586,9 @@ config MTD_PLATRAM - - This selection automatically selects the map_ram driver. - -+config MTD_ADM5120 -+ tristate "Map driver for ADM5120 based boards" -+ depends on ADM5120 -+ - endmenu - ---- a/drivers/mtd/maps/Makefile -+++ b/drivers/mtd/maps/Makefile -@@ -44,6 +44,7 @@ obj-$(CONFIG_MTD_DBOX2) += dbox2-flash. - obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o - obj-$(CONFIG_MTD_PCI) += pci.o - obj-$(CONFIG_MTD_ALCHEMY) += alchemy-flash.o -+obj-$(CONFIG_MTD_ADM5120) += adm5120-flash.o - obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o - obj-$(CONFIG_MTD_EDB7312) += edb7312.o - obj-$(CONFIG_MTD_IMPA7) += impa7.o diff --git a/target/linux/adm5120/patches-2.6.26/003-adm5120_switch.patch b/target/linux/adm5120/patches-2.6.26/003-adm5120_switch.patch deleted file mode 100644 index ac0c5e3059..0000000000 --- a/target/linux/adm5120/patches-2.6.26/003-adm5120_switch.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/drivers/net/Kconfig -+++ b/drivers/net/Kconfig -@@ -613,6 +613,10 @@ config MIPS_AU1X00_ENET - If you have an Alchemy Semi AU1X00 based system - say Y. Otherwise, say N. - -+config ADM5120_ENET -+ tristate "ADM5120 Ethernet switch support" -+ depends on ADM5120 -+ - config SGI_IOC3_ETH - bool "SGI IOC3 Ethernet" - depends on PCI && SGI_IP27 ---- a/drivers/net/Makefile -+++ b/drivers/net/Makefile -@@ -186,6 +186,7 @@ obj-$(CONFIG_SC92031) += sc92031.o - # This is also a 82596 and should probably be merged - obj-$(CONFIG_LP486E) += lp486e.o - -+obj-$(CONFIG_ADM5120_ENET) += adm5120sw.o - obj-$(CONFIG_ETH16I) += eth16i.o - obj-$(CONFIG_ZORRO8390) += zorro8390.o - obj-$(CONFIG_HPLANCE) += hplance.o 7990.o diff --git a/target/linux/adm5120/patches-2.6.26/005-adm5120_usb.patch b/target/linux/adm5120/patches-2.6.26/005-adm5120_usb.patch deleted file mode 100644 index 751af5a6b7..0000000000 --- a/target/linux/adm5120/patches-2.6.26/005-adm5120_usb.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/drivers/usb/host/Kconfig -+++ b/drivers/usb/host/Kconfig -@@ -4,6 +4,10 @@ - comment "USB Host Controller Drivers" - depends on USB - -+config USB_ADM5120_HCD -+ tristate "ADM5120 HCD support (EXPERIMENTAL)" -+ depends on USB && ADM5120 && EXPERIMENTAL -+ - config USB_C67X00_HCD - tristate "Cypress C67x00 HCD support" - depends on USB ---- a/drivers/usb/host/Makefile -+++ b/drivers/usb/host/Makefile -@@ -10,6 +10,7 @@ isp1760-objs := isp1760-hcd.o isp1760-if - - obj-$(CONFIG_PCI) += pci-quirks.o - -+obj-$(CONFIG_USB_ADM5120_HCD) += adm5120-hcd.o - obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o - obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o - obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o ---- a/drivers/usb/Makefile -+++ b/drivers/usb/Makefile -@@ -16,6 +16,7 @@ obj-$(CONFIG_USB_UHCI_HCD) += host/ - obj-$(CONFIG_USB_SL811_HCD) += host/ - obj-$(CONFIG_USB_U132_HCD) += host/ - obj-$(CONFIG_USB_R8A66597_HCD) += host/ -+obj-$(CONFIG_USB_ADM5120_HCD) += host/ - - obj-$(CONFIG_USB_C67X00_HCD) += c67x00/ - diff --git a/target/linux/adm5120/patches-2.6.26/007-adm5120_pci.patch b/target/linux/adm5120/patches-2.6.26/007-adm5120_pci.patch deleted file mode 100644 index 3df0f06baf..0000000000 --- a/target/linux/adm5120/patches-2.6.26/007-adm5120_pci.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/arch/mips/pci/Makefile -+++ b/arch/mips/pci/Makefile -@@ -48,3 +48,4 @@ obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup- - obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o - obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o - obj-$(CONFIG_WR_PPMC) += fixup-wrppmc.o -+obj-$(CONFIG_ADM5120) += pci-adm5120.o ---- a/include/linux/pci_ids.h -+++ b/include/linux/pci_ids.h -@@ -1707,6 +1707,9 @@ - #define PCI_VENDOR_ID_ESDGMBH 0x12fe - #define PCI_DEVICE_ID_ESDGMBH_CPCIASIO4 0x0111 - -+#define PCI_VENDOR_ID_ADMTEK 0x1317 -+#define PCI_DEVICE_ID_ADMTEK_ADM5120 0x5120 -+ - #define PCI_VENDOR_ID_SIIG 0x131f - #define PCI_SUBVENDOR_ID_SIIG 0x131f - #define PCI_DEVICE_ID_SIIG_1S_10x_550 0x1000 diff --git a/target/linux/adm5120/patches-2.6.26/009-adm5120_leds_switch_trigger.patch b/target/linux/adm5120/patches-2.6.26/009-adm5120_leds_switch_trigger.patch deleted file mode 100644 index 1e3385d299..0000000000 --- a/target/linux/adm5120/patches-2.6.26/009-adm5120_leds_switch_trigger.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/drivers/leds/Kconfig -+++ b/drivers/leds/Kconfig -@@ -207,4 +207,12 @@ config LEDS_TRIGGER_NETDEV - This allows LEDs to be controlled by network device activity. - If unsure, say Y. - -+config LEDS_TRIGGER_ADM5120_SWITCH -+ tristate "LED ADM5120 Switch Port Status Trigger" -+ depends on LEDS_TRIGGERS && ADM5120 -+ help -+ This allows LEDs to be controlled by the port states of -+ the ADM5120 built-in Ethernet Switch -+ If unsure, say N. -+ - endif # NEW_LEDS ---- a/drivers/leds/Makefile -+++ b/drivers/leds/Makefile -@@ -30,3 +30,4 @@ obj-$(CONFIG_LEDS_TRIGGER_HEARTBEAT) += - obj-$(CONFIG_LEDS_TRIGGER_DEFAULT_ON) += ledtrig-default-on.o - obj-$(CONFIG_LEDS_TRIGGER_MORSE) += ledtrig-morse.o - obj-$(CONFIG_LEDS_TRIGGER_NETDEV) += ledtrig-netdev.o -+obj-$(CONFIG_LEDS_TRIGGER_ADM5120_SWITCH) += ledtrig-adm5120-switch.o diff --git a/target/linux/adm5120/patches-2.6.26/101-cfi_fixup_macronix_bootloc.patch b/target/linux/adm5120/patches-2.6.26/101-cfi_fixup_macronix_bootloc.patch deleted file mode 100644 index 65b34ac875..0000000000 --- a/target/linux/adm5120/patches-2.6.26/101-cfi_fixup_macronix_bootloc.patch +++ /dev/null @@ -1,91 +0,0 @@ ---- a/drivers/mtd/chips/cfi_cmdset_0002.c -+++ b/drivers/mtd/chips/cfi_cmdset_0002.c -@@ -47,12 +47,19 @@ - #define MANUFACTURER_AMD 0x0001 - #define MANUFACTURER_ATMEL 0x001F - #define MANUFACTURER_SST 0x00BF -+#define MANUFACTURER_MACRONIX 0x00C2 - #define SST49LF004B 0x0060 - #define SST49LF040B 0x0050 - #define SST49LF008A 0x005a - #define AT49BV6416 0x00d6 - #define MANUFACTURER_SAMSUNG 0x00ec - -+/* Macronix */ -+#define MX29LV160B 0x2249 /* MX29LV160 Bottom-boot chip */ -+#define MX29LV160T 0x22C4 /* MX29LV160 Top-boot chip */ -+#define MX29LV320B 0x22A8 /* MX29LV320 Bottom-boot chip */ -+#define MX29LV320T 0x22A7 /* MX29LV320 Top-boot chip */ -+ - static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); - static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); - static int cfi_amdstd_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); -@@ -243,6 +250,41 @@ static void fixup_s29gl032n_sectors(stru - } - } - -+#ifdef CONFIG_MTD_CFI_FIXUP_MACRONIX_BOOTLOC -+/* -+ * Some Macronix chips has no/bad bootblock information in the CFI table -+ */ -+static void fixup_macronix_bootloc(struct mtd_info *mtd, void* param) -+{ -+ struct map_info *map = mtd->priv; -+ struct cfi_private *cfi = map->fldrv_priv; -+ struct cfi_pri_amdstd *extp = cfi->cmdset_priv; -+ __u8 t; -+ -+ switch (cfi->id) { -+ /* TODO: put affected chip ids here */ -+ case MX29LV160B: -+ case MX29LV320B: -+ t = 2; /* Bottom boot */ -+ break; -+ case MX29LV160T: -+ case MX29LV320T: -+ t = 3; /* Top boot */ -+ break; -+ default: -+ return; -+ } -+ -+ if (extp->TopBottom == t) -+ /* boot location detected by the CFI layer is correct */ -+ return; -+ -+ extp->TopBottom = t; -+ printk("%s: Macronix chip detected, id:0x%04X, boot location forced " -+ "to %s\n", map->name, cfi->id, (t == 2) ? "bottom" : "top"); -+} -+#endif /* CONFIG_MTD_CFI_FIXUP_MACRONIX_BOOTLOC */ -+ - static struct cfi_fixup cfi_fixup_table[] = { - { CFI_MFR_ATMEL, CFI_ID_ANY, fixup_convert_atmel_pri, NULL }, - #ifdef AMD_BOOTLOC_BUG -@@ -278,6 +320,9 @@ static struct cfi_fixup fixup_table[] = - */ - { CFI_MFR_ANY, CFI_ID_ANY, fixup_use_erase_chip, NULL }, - { CFI_MFR_ATMEL, AT49BV6416, fixup_use_atmel_lock, NULL }, -+#ifdef CONFIG_MTD_CFI_FIXUP_MACRONIX_BOOTLOC -+ { MANUFACTURER_MACRONIX, CFI_ID_ANY, fixup_macronix_bootloc, NULL, }, -+#endif - { 0, 0, NULL, NULL } - }; - ---- a/drivers/mtd/chips/Kconfig -+++ b/drivers/mtd/chips/Kconfig -@@ -196,6 +196,14 @@ config MTD_CFI_AMDSTD - provides support for one of those command sets, used on chips - including the AMD Am29LV320. - -+config MTD_CFI_FIXUP_MACRONIX_BOOTLOC -+ bool "Fix boot-block location for Macronix flash chips" -+ depends on MTD_CFI_AMDSTD -+ help -+ Some Macronix flash chips have no/wrong boot-block location in the -+ CFI table, and the driver may detect the type incorrectly. Select -+ this if your board has such chip. -+ - config MTD_CFI_STAA - tristate "Support for ST (Advanced Architecture) flash chips" - depends on MTD_GEN_PROBE diff --git a/target/linux/adm5120/patches-2.6.26/102-jedec_pmc_39lvxxx_chips.patch b/target/linux/adm5120/patches-2.6.26/102-jedec_pmc_39lvxxx_chips.patch deleted file mode 100644 index e84c44fc48..0000000000 --- a/target/linux/adm5120/patches-2.6.26/102-jedec_pmc_39lvxxx_chips.patch +++ /dev/null @@ -1,68 +0,0 @@ ---- a/drivers/mtd/chips/jedec_probe.c -+++ b/drivers/mtd/chips/jedec_probe.c -@@ -121,6 +121,10 @@ - #define UPD29F064115 0x221C - - /* PMC */ -+#define PM39LV512 0x001B -+#define PM39LV010 0x001C -+#define PM39LV020 0x003D -+#define PM39LV040 0x003E - #define PM49FL002 0x006D - #define PM49FL004 0x006E - #define PM49FL008 0x006A -@@ -1173,6 +1177,54 @@ static const struct amd_flash_info jedec - ERASEINFO(0x02000,2), - ERASEINFO(0x04000,1), - } -+ }, { -+ .mfr_id = MANUFACTURER_PMC, -+ .dev_id = PM39LV512, -+ .name = "PMC Pm39LV512", -+ .devtypes = CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0555_0x02AA, -+ .dev_size = SIZE_64KiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 1, -+ .regions = { -+ ERASEINFO(0x01000,16), -+ } -+ }, { -+ .mfr_id = MANUFACTURER_PMC, -+ .dev_id = PM39LV010, -+ .name = "PMC Pm39LV010", -+ .devtypes = CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0555_0x02AA, -+ .dev_size = SIZE_128KiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 1, -+ .regions = { -+ ERASEINFO(0x01000,32), -+ } -+ }, { -+ .mfr_id = MANUFACTURER_PMC, -+ .dev_id = PM39LV020, -+ .name = "PMC Pm39LV020", -+ .devtypes = CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0555_0x02AA, -+ .dev_size = SIZE_256KiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 1, -+ .regions = { -+ ERASEINFO(0x01000,64), -+ } -+ }, { -+ .mfr_id = MANUFACTURER_PMC, -+ .dev_id = PM39LV040, -+ .name = "PMC Pm39LV040", -+ .devtypes = CFI_DEVICETYPE_X8, -+ .uaddr = MTD_UADDR_0x0555_0x02AA, -+ .dev_size = SIZE_512KiB, -+ .cmd_set = P_ID_AMD_STD, -+ .nr_regions = 1, -+ .regions = { -+ ERASEINFO(0x01000,128), -+ } - }, { - .mfr_id = MANUFACTURER_PMC, - .dev_id = PM49FL002, diff --git a/target/linux/adm5120/patches-2.6.26/103-mtd_trxsplit.patch b/target/linux/adm5120/patches-2.6.26/103-mtd_trxsplit.patch deleted file mode 100644 index e4c86908a8..0000000000 --- a/target/linux/adm5120/patches-2.6.26/103-mtd_trxsplit.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- a/drivers/mtd/Kconfig -+++ b/drivers/mtd/Kconfig -@@ -57,6 +57,11 @@ config MTD_ROOTFS_SPLIT - depends on MTD_PARTITIONS - default y - -+config MTD_TRXSPLIT -+ bool "Automatically find and split TRX partitions" -+ depends on MTD_PARTITIONS -+ default n -+ - config MTD_REDBOOT_PARTS - tristate "RedBoot partition table parsing" - depends on MTD_PARTITIONS ---- a/drivers/mtd/Makefile -+++ b/drivers/mtd/Makefile -@@ -8,6 +8,7 @@ mtd-y := mtdcore.o mtdsuper.o - mtd-$(CONFIG_MTD_PARTITIONS) += mtdpart.o - - obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o -+obj-$(CONFIG_MTD_TRXSPLIT) += trxsplit.o - obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o - obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o - obj-$(CONFIG_MTD_AFS_PARTS) += afs.o diff --git a/target/linux/adm5120/patches-2.6.26/120-rb153_cf_driver.patch b/target/linux/adm5120/patches-2.6.26/120-rb153_cf_driver.patch deleted file mode 100644 index e100181849..0000000000 --- a/target/linux/adm5120/patches-2.6.26/120-rb153_cf_driver.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/drivers/ata/Makefile -+++ b/drivers/ata/Makefile -@@ -72,6 +72,7 @@ obj-$(CONFIG_PATA_BF54X) += pata_bf54x.o - obj-$(CONFIG_PATA_PLATFORM) += pata_platform.o - obj-$(CONFIG_PATA_OF_PLATFORM) += pata_of_platform.o - obj-$(CONFIG_PATA_ICSIDE) += pata_icside.o -+obj-$(CONFIG_PATA_RB153_CF) += pata_rb153_cf.o - # Should be last but two libata driver - obj-$(CONFIG_PATA_ACPI) += pata_acpi.o - # Should be last but one libata driver ---- a/drivers/ata/Kconfig -+++ b/drivers/ata/Kconfig -@@ -566,6 +566,15 @@ config PATA_RADISYS - - If unsure, say N. - -+config PATA_RB153_CF -+ tristate "RouterBOARD 153 Compact Flash support" -+ depends on ADM5120_MACH_RB_153 -+ help -+ This option enables support for a Compact Flash connected on -+ the RouterBOARD 153. -+ -+ If unsure, say N. -+ - config PATA_RB532 - tristate "RouterBoard 532 PATA CompactFlash support" - depends on MIKROTIK_RB532 diff --git a/target/linux/adm5120/patches-2.6.26/140-cmdline_hack.patch b/target/linux/adm5120/patches-2.6.26/140-cmdline_hack.patch deleted file mode 100644 index 1ced3f62dd..0000000000 --- a/target/linux/adm5120/patches-2.6.26/140-cmdline_hack.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/arch/mips/kernel/head.S -+++ b/arch/mips/kernel/head.S -@@ -126,7 +126,12 @@ - /* - * Reserved space for exception handlers. - * Necessary for machines which link their kernels at KSEG0. -+ * Use as temporary storage for the kernel command line, so that it -+ * can be updated easily without having to relink the kernel. - */ -+ -+EXPORT(_image_cmdline) -+ .ascii "CMDLINE:" - .fill 0x400 - #endif - diff --git a/target/linux/adm5120/patches-2.6.26/200-amba_pl010_hacks.patch b/target/linux/adm5120/patches-2.6.26/200-amba_pl010_hacks.patch deleted file mode 100644 index 18fbc69493..0000000000 --- a/target/linux/adm5120/patches-2.6.26/200-amba_pl010_hacks.patch +++ /dev/null @@ -1,378 +0,0 @@ ---- a/drivers/serial/amba-pl010.c -+++ b/drivers/serial/amba-pl010.c -@@ -52,11 +52,10 @@ - - #include - --#define UART_NR 8 -- - #define SERIAL_AMBA_MAJOR 204 - #define SERIAL_AMBA_MINOR 16 --#define SERIAL_AMBA_NR UART_NR -+#define SERIAL_AMBA_NR CONFIG_SERIAL_AMBA_PL010_NUMPORTS -+#define SERIAL_AMBA_NAME CONFIG_SERIAL_AMBA_PL010_PORTNAME - - #define AMBA_ISR_PASS_LIMIT 256 - -@@ -82,9 +81,9 @@ static void pl010_stop_tx(struct uart_po - struct uart_amba_port *uap = (struct uart_amba_port *)port; - unsigned int cr; - -- cr = readb(uap->port.membase + UART010_CR); -+ cr = __raw_readl(uap->port.membase + UART010_CR); - cr &= ~UART010_CR_TIE; -- writel(cr, uap->port.membase + UART010_CR); -+ __raw_writel(cr, uap->port.membase + UART010_CR); - } - - static void pl010_start_tx(struct uart_port *port) -@@ -92,9 +91,9 @@ static void pl010_start_tx(struct uart_p - struct uart_amba_port *uap = (struct uart_amba_port *)port; - unsigned int cr; - -- cr = readb(uap->port.membase + UART010_CR); -+ cr = __raw_readl(uap->port.membase + UART010_CR); - cr |= UART010_CR_TIE; -- writel(cr, uap->port.membase + UART010_CR); -+ __raw_writel(cr, uap->port.membase + UART010_CR); - } - - static void pl010_stop_rx(struct uart_port *port) -@@ -102,9 +101,9 @@ static void pl010_stop_rx(struct uart_po - struct uart_amba_port *uap = (struct uart_amba_port *)port; - unsigned int cr; - -- cr = readb(uap->port.membase + UART010_CR); -+ cr = __raw_readl(uap->port.membase + UART010_CR); - cr &= ~(UART010_CR_RIE | UART010_CR_RTIE); -- writel(cr, uap->port.membase + UART010_CR); -+ __raw_writel(cr, uap->port.membase + UART010_CR); - } - - static void pl010_enable_ms(struct uart_port *port) -@@ -112,9 +111,9 @@ static void pl010_enable_ms(struct uart_ - struct uart_amba_port *uap = (struct uart_amba_port *)port; - unsigned int cr; - -- cr = readb(uap->port.membase + UART010_CR); -+ cr = __raw_readl(uap->port.membase + UART010_CR); - cr |= UART010_CR_MSIE; -- writel(cr, uap->port.membase + UART010_CR); -+ __raw_writel(cr, uap->port.membase + UART010_CR); - } - - static void pl010_rx_chars(struct uart_amba_port *uap) -@@ -122,9 +121,9 @@ static void pl010_rx_chars(struct uart_a - struct tty_struct *tty = uap->port.info->tty; - unsigned int status, ch, flag, rsr, max_count = 256; - -- status = readb(uap->port.membase + UART01x_FR); -+ status = __raw_readl(uap->port.membase + UART01x_FR); - while (UART_RX_DATA(status) && max_count--) { -- ch = readb(uap->port.membase + UART01x_DR); -+ ch = __raw_readl(uap->port.membase + UART01x_DR); - flag = TTY_NORMAL; - - uap->port.icount.rx++; -@@ -133,9 +132,9 @@ static void pl010_rx_chars(struct uart_a - * Note that the error handling code is - * out of the main execution path - */ -- rsr = readb(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX; -+ rsr = __raw_readl(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX; - if (unlikely(rsr & UART01x_RSR_ANY)) { -- writel(0, uap->port.membase + UART01x_ECR); -+ __raw_writel(0, uap->port.membase + UART01x_ECR); - - if (rsr & UART01x_RSR_BE) { - rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE); -@@ -165,7 +164,7 @@ static void pl010_rx_chars(struct uart_a - uart_insert_char(&uap->port, rsr, UART01x_RSR_OE, ch, flag); - - ignore_char: -- status = readb(uap->port.membase + UART01x_FR); -+ status = __raw_readl(uap->port.membase + UART01x_FR); - } - spin_unlock(&uap->port.lock); - tty_flip_buffer_push(tty); -@@ -178,7 +177,7 @@ static void pl010_tx_chars(struct uart_a - int count; - - if (uap->port.x_char) { -- writel(uap->port.x_char, uap->port.membase + UART01x_DR); -+ __raw_writel(uap->port.x_char, uap->port.membase + UART01x_DR); - uap->port.icount.tx++; - uap->port.x_char = 0; - return; -@@ -190,7 +189,7 @@ static void pl010_tx_chars(struct uart_a - - count = uap->port.fifosize >> 1; - do { -- writel(xmit->buf[xmit->tail], uap->port.membase + UART01x_DR); -+ __raw_writel(xmit->buf[xmit->tail], uap->port.membase + UART01x_DR); - xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); - uap->port.icount.tx++; - if (uart_circ_empty(xmit)) -@@ -208,9 +207,9 @@ static void pl010_modem_status(struct ua - { - unsigned int status, delta; - -- writel(0, uap->port.membase + UART010_ICR); -+ __raw_writel(0, uap->port.membase + UART010_ICR); - -- status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; -+ status = __raw_readl(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; - - delta = status ^ uap->old_status; - uap->old_status = status; -@@ -238,7 +237,7 @@ static irqreturn_t pl010_int(int irq, vo - - spin_lock(&uap->port.lock); - -- status = readb(uap->port.membase + UART010_IIR); -+ status = __raw_readl(uap->port.membase + UART010_IIR); - if (status) { - do { - if (status & (UART010_IIR_RTIS | UART010_IIR_RIS)) -@@ -251,7 +250,7 @@ static irqreturn_t pl010_int(int irq, vo - if (pass_counter-- == 0) - break; - -- status = readb(uap->port.membase + UART010_IIR); -+ status = __raw_readl(uap->port.membase + UART010_IIR); - } while (status & (UART010_IIR_RTIS | UART010_IIR_RIS | - UART010_IIR_TIS)); - handled = 1; -@@ -265,7 +264,7 @@ static irqreturn_t pl010_int(int irq, vo - static unsigned int pl010_tx_empty(struct uart_port *port) - { - struct uart_amba_port *uap = (struct uart_amba_port *)port; -- unsigned int status = readb(uap->port.membase + UART01x_FR); -+ unsigned int status = __raw_readl(uap->port.membase + UART01x_FR); - return status & UART01x_FR_BUSY ? 0 : TIOCSER_TEMT; - } - -@@ -275,7 +274,7 @@ static unsigned int pl010_get_mctrl(stru - unsigned int result = 0; - unsigned int status; - -- status = readb(uap->port.membase + UART01x_FR); -+ status = __raw_readl(uap->port.membase + UART01x_FR); - if (status & UART01x_FR_DCD) - result |= TIOCM_CAR; - if (status & UART01x_FR_DSR) -@@ -301,12 +300,12 @@ static void pl010_break_ctl(struct uart_ - unsigned int lcr_h; - - spin_lock_irqsave(&uap->port.lock, flags); -- lcr_h = readb(uap->port.membase + UART010_LCRH); -+ lcr_h = __raw_readl(uap->port.membase + UART010_LCRH); - if (break_state == -1) - lcr_h |= UART01x_LCRH_BRK; - else - lcr_h &= ~UART01x_LCRH_BRK; -- writel(lcr_h, uap->port.membase + UART010_LCRH); -+ __raw_writel(lcr_h, uap->port.membase + UART010_LCRH); - spin_unlock_irqrestore(&uap->port.lock, flags); - } - -@@ -334,12 +333,12 @@ static int pl010_startup(struct uart_por - /* - * initialise the old status of the modem signals - */ -- uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; -+ uap->old_status = __raw_readl(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; - - /* - * Finally, enable interrupts - */ -- writel(UART01x_CR_UARTEN | UART010_CR_RIE | UART010_CR_RTIE, -+ __raw_writel(UART01x_CR_UARTEN | UART010_CR_RIE | UART010_CR_RTIE, - uap->port.membase + UART010_CR); - - return 0; -@@ -362,10 +361,10 @@ static void pl010_shutdown(struct uart_p - /* - * disable all interrupts, disable the port - */ -- writel(0, uap->port.membase + UART010_CR); -+ __raw_writel(0, uap->port.membase + UART010_CR); - - /* disable break condition and fifos */ -- writel(readb(uap->port.membase + UART010_LCRH) & -+ __raw_writel(__raw_readl(uap->port.membase + UART010_LCRH) & - ~(UART01x_LCRH_BRK | UART01x_LCRH_FEN), - uap->port.membase + UART010_LCRH); - -@@ -387,7 +386,7 @@ pl010_set_termios(struct uart_port *port - /* - * Ask the core to calculate the divisor for us. - */ -- baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16); -+ baud = uart_get_baud_rate(port, termios, old, 0, uap->port.uartclk/16); - quot = uart_get_divisor(port, baud); - - switch (termios->c_cflag & CSIZE) { -@@ -450,25 +449,25 @@ pl010_set_termios(struct uart_port *port - uap->port.ignore_status_mask |= UART_DUMMY_RSR_RX; - - /* first, disable everything */ -- old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; -+ old_cr = __raw_readl(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; - - if (UART_ENABLE_MS(port, termios->c_cflag)) - old_cr |= UART010_CR_MSIE; - -- writel(0, uap->port.membase + UART010_CR); -+ __raw_writel(0, uap->port.membase + UART010_CR); - - /* Set baud rate */ - quot -= 1; -- writel((quot & 0xf00) >> 8, uap->port.membase + UART010_LCRM); -- writel(quot & 0xff, uap->port.membase + UART010_LCRL); -+ __raw_writel((quot & 0xf00) >> 8, uap->port.membase + UART010_LCRM); -+ __raw_writel(quot & 0xff, uap->port.membase + UART010_LCRL); - - /* - * ----------v----------v----------v----------v----- - * NOTE: MUST BE WRITTEN AFTER UARTLCR_M & UARTLCR_L - * ----------^----------^----------^----------^----- - */ -- writel(lcr_h, uap->port.membase + UART010_LCRH); -- writel(old_cr, uap->port.membase + UART010_CR); -+ __raw_writel(lcr_h, uap->port.membase + UART010_LCRH); -+ __raw_writel(old_cr, uap->port.membase + UART010_CR); - - spin_unlock_irqrestore(&uap->port.lock, flags); - } -@@ -540,7 +539,7 @@ static struct uart_ops amba_pl010_pops = - .verify_port = pl010_verify_port, - }; - --static struct uart_amba_port *amba_ports[UART_NR]; -+static struct uart_amba_port *amba_ports[SERIAL_AMBA_NR]; - - #ifdef CONFIG_SERIAL_AMBA_PL010_CONSOLE - -@@ -550,10 +549,10 @@ static void pl010_console_putchar(struct - unsigned int status; - - do { -- status = readb(uap->port.membase + UART01x_FR); -+ status = __raw_readl(uap->port.membase + UART01x_FR); - barrier(); - } while (!UART_TX_READY(status)); -- writel(ch, uap->port.membase + UART01x_DR); -+ __raw_writel(ch, uap->port.membase + UART01x_DR); - } - - static void -@@ -567,8 +566,8 @@ pl010_console_write(struct console *co, - /* - * First save the CR then disable the interrupts - */ -- old_cr = readb(uap->port.membase + UART010_CR); -- writel(UART01x_CR_UARTEN, uap->port.membase + UART010_CR); -+ old_cr = __raw_readl(uap->port.membase + UART010_CR); -+ __raw_writel(UART01x_CR_UARTEN, uap->port.membase + UART010_CR); - - uart_console_write(&uap->port, s, count, pl010_console_putchar); - -@@ -577,10 +576,10 @@ pl010_console_write(struct console *co, - * and restore the TCR - */ - do { -- status = readb(uap->port.membase + UART01x_FR); -+ status = __raw_readl(uap->port.membase + UART01x_FR); - barrier(); - } while (status & UART01x_FR_BUSY); -- writel(old_cr, uap->port.membase + UART010_CR); -+ __raw_writel(old_cr, uap->port.membase + UART010_CR); - - clk_disable(uap->clk); - } -@@ -589,9 +588,9 @@ static void __init - pl010_console_get_options(struct uart_amba_port *uap, int *baud, - int *parity, int *bits) - { -- if (readb(uap->port.membase + UART010_CR) & UART01x_CR_UARTEN) { -+ if (__raw_readl(uap->port.membase + UART010_CR) & UART01x_CR_UARTEN) { - unsigned int lcr_h, quot; -- lcr_h = readb(uap->port.membase + UART010_LCRH); -+ lcr_h = __raw_readl(uap->port.membase + UART010_LCRH); - - *parity = 'n'; - if (lcr_h & UART01x_LCRH_PEN) { -@@ -606,8 +605,8 @@ pl010_console_get_options(struct uart_am - else - *bits = 8; - -- quot = readb(uap->port.membase + UART010_LCRL) | -- readb(uap->port.membase + UART010_LCRM) << 8; -+ quot = __raw_readl(uap->port.membase + UART010_LCRL) | -+ __raw_readl(uap->port.membase + UART010_LCRM) << 8; - *baud = uap->port.uartclk / (16 * (quot + 1)); - } - } -@@ -625,7 +624,7 @@ static int __init pl010_console_setup(st - * if so, search for the first available port that does have - * console support. - */ -- if (co->index >= UART_NR) -+ if (co->index >= SERIAL_AMBA_NR) - co->index = 0; - uap = amba_ports[co->index]; - if (!uap) -@@ -643,7 +642,7 @@ static int __init pl010_console_setup(st - - static struct uart_driver amba_reg; - static struct console amba_console = { -- .name = "ttyAM", -+ .name = SERIAL_AMBA_NAME, - .write = pl010_console_write, - .device = uart_console_device, - .setup = pl010_console_setup, -@@ -659,11 +658,11 @@ static struct console amba_console = { - - static struct uart_driver amba_reg = { - .owner = THIS_MODULE, -- .driver_name = "ttyAM", -- .dev_name = "ttyAM", -+ .driver_name = SERIAL_AMBA_NAME, -+ .dev_name = SERIAL_AMBA_NAME, - .major = SERIAL_AMBA_MAJOR, - .minor = SERIAL_AMBA_MINOR, -- .nr = UART_NR, -+ .nr = SERIAL_AMBA_NR, - .cons = AMBA_CONSOLE, - }; - ---- a/drivers/serial/Kconfig -+++ b/drivers/serial/Kconfig -@@ -287,10 +287,25 @@ config SERIAL_AMBA_PL010 - help - This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have - an Integrator/AP or Integrator/PP2 platform, or if you have a -- Cirrus Logic EP93xx CPU, say Y or M here. -+ Cirrus Logic EP93xx CPU or an Infineon ADM5120 SOC, say Y or M here. - - If unsure, say N. - -+config SERIAL_AMBA_PL010_NUMPORTS -+ int "Maximum number of AMBA PL010 serial ports" -+ depends on SERIAL_AMBA_PL010 -+ default "8" -+ ---help--- -+ Set this to the number of serial ports you want the AMBA PL010 driver -+ to support. -+ -+config SERIAL_AMBA_PL010_PORTNAME -+ string "Name of the AMBA PL010 serial ports" -+ depends on SERIAL_AMBA_PL010 -+ default "ttyAM" -+ ---help--- -+ ::: To be written ::: -+ - config SERIAL_AMBA_PL010_CONSOLE - bool "Support for console on AMBA serial port" - depends on SERIAL_AMBA_PL010=y diff --git a/target/linux/adm5120/patches-2.6.26/201-amba_bus_hacks.patch b/target/linux/adm5120/patches-2.6.26/201-amba_bus_hacks.patch deleted file mode 100644 index 299f216523..0000000000 --- a/target/linux/adm5120/patches-2.6.26/201-amba_bus_hacks.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/drivers/amba/bus.c -+++ b/drivers/amba/bus.c -@@ -17,6 +17,10 @@ - #include - #include - -+#ifndef NO_IRQ -+#define NO_IRQ (-1) -+#endif -+ - #define to_amba_device(d) container_of(d, struct amba_device, dev) - #define to_amba_driver(d) container_of(d, struct amba_driver, drv) - diff --git a/target/linux/adm5120/patches-2.6.26/202-pci_disable_common_quirks.patch b/target/linux/adm5120/patches-2.6.26/202-pci_disable_common_quirks.patch deleted file mode 100644 index b13a779bbf..0000000000 --- a/target/linux/adm5120/patches-2.6.26/202-pci_disable_common_quirks.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/drivers/pci/Kconfig -+++ b/drivers/pci/Kconfig -@@ -42,6 +42,12 @@ config PCI_DEBUG - - When in doubt, say N. - -+config PCI_DISABLE_COMMON_QUIRKS -+ bool "PCI disable common quirks" -+ depends on PCI -+ help -+ If you don't know what to do here, say N. -+ - config HT_IRQ - bool "Interrupts on hypertransport devices" - default y ---- a/drivers/pci/quirks.c -+++ b/drivers/pci/quirks.c -@@ -24,6 +24,7 @@ - #include - #include "pci.h" - -+#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS - /* The Mellanox Tavor device gives false positive parity errors - * Mark this device with a broken_parity_status, to allow - * PCI scanning code to "skip" this now blacklisted device. -@@ -1495,6 +1496,7 @@ static void __devinit fixup_rev1_53c810( - } - } - DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810); -+#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ - - static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_fixup *end) - { -@@ -1561,6 +1563,7 @@ void pci_fixup_device(enum pci_fixup_pas - } - EXPORT_SYMBOL(pci_fixup_device); - -+#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS - /* Enable 1k I/O space granularity on the Intel P64H2 */ - static void __devinit quirk_p64h2_1k_io(struct pci_dev *dev) - { -@@ -1934,3 +1937,4 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AT - quirk_msi_intx_disable_bug); - - #endif /* CONFIG_PCI_MSI */ -+#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ diff --git a/target/linux/adm5120/patches-2.6.26/203-gpio_leds_brightness.patch b/target/linux/adm5120/patches-2.6.26/203-gpio_leds_brightness.patch deleted file mode 100644 index bb94fd05ea..0000000000 --- a/target/linux/adm5120/patches-2.6.26/203-gpio_leds_brightness.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/leds/leds-gpio.c -+++ b/drivers/leds/leds-gpio.c -@@ -43,13 +43,17 @@ static void gpio_led_set(struct led_clas - container_of(led_cdev, struct gpio_led_data, cdev); - int level; - -- if (value == LED_OFF) -- level = 0; -- else -- level = 1; -- -- if (led_dat->active_low) -- level = !level; -+ switch (value) { -+ case LED_OFF: -+ level = led_dat->active_low ? 1 : 0; -+ break; -+ case LED_FULL: -+ level = led_dat->active_low ? 0 : 1; -+ break; -+ default: -+ level = value; -+ break; -+ } - - /* Setting GPIOs with I2C/etc requires a task context, and we don't - * seem to have a reliable way to know if we're already in one; so diff --git a/target/linux/adm5120/patches-2.6.26/310-adm5120_wdt.patch b/target/linux/adm5120/patches-2.6.26/310-adm5120_wdt.patch deleted file mode 100644 index f6822ecd31..0000000000 --- a/target/linux/adm5120/patches-2.6.26/310-adm5120_wdt.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/drivers/watchdog/Kconfig -+++ b/drivers/watchdog/Kconfig -@@ -632,6 +632,18 @@ config SBC_EPX_C3_WATCHDOG - - # MIPS Architecture - -+config ADM5120_WDT -+ tristate "Infineon ADM5120 SoC hardware watchdog" -+ depends on WATCHDOG && ADM5120 -+ help -+ This is a driver for hardware watchdog integrated in Infineon -+ ADM5120 SoC. This watchdog simply watches your kernel to make sure -+ it doesn't freeze, and if it does, it reboots your computer after a -+ certain amount of time. -+ -+ To compile this driver as a module, choose M here: the module will be -+ called adm5120_wdt. -+ - config INDYDOG - tristate "Indy/I2 Hardware Watchdog" - depends on SGI_HAS_INDYDOG ---- a/drivers/watchdog/Makefile -+++ b/drivers/watchdog/Makefile -@@ -91,6 +91,7 @@ obj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc - # M68KNOMMU Architecture - - # MIPS Architecture -+obj-$(CONFIG_ADM5120_WDT) += adm5120_wdt.o - obj-$(CONFIG_INDYDOG) += indydog.o - obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o - obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o diff --git a/target/linux/ar7/config-2.6.23 b/target/linux/ar7/config-2.6.23 deleted file mode 100644 index 00c5170985..0000000000 --- a/target/linux/ar7/config-2.6.23 +++ /dev/null @@ -1,190 +0,0 @@ -CONFIG_32BIT=y -# CONFIG_64BIT is not set -CONFIG_AR7=y -CONFIG_AR7_GPIO=y -CONFIG_AR7_WDT=y -# CONFIG_ARCH_HAS_ILOG2_U32 is not set -# CONFIG_ARCH_HAS_ILOG2_U64 is not set -# CONFIG_ARCH_SUPPORTS_MSI is not set -CONFIG_ATM_DRIVERS=y -CONFIG_BASE_SMALL=0 -CONFIG_BITREVERSE=y -CONFIG_BOOT_ELF32=y -# CONFIG_BROADCOM_PHY is not set -# CONFIG_BT is not set -CONFIG_CMDLINE="init=/etc/preinit rootfstype=squashfs,jffs2," -CONFIG_CPMAC=y -# CONFIG_CPU_BIG_ENDIAN is not set -CONFIG_CPU_HAS_LLSC=y -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_CPU_LITTLE_ENDIAN=y -# CONFIG_CPU_LOONGSON2 is not set -CONFIG_CPU_MIPS32=y -CONFIG_CPU_MIPS32_R1=y -# CONFIG_CPU_MIPS32_R2 is not set -# CONFIG_CPU_MIPS64_R1 is not set -# CONFIG_CPU_MIPS64_R2 is not set -CONFIG_CPU_MIPSR1=y -# CONFIG_CPU_NEVADA is not set -# CONFIG_CPU_R10000 is not set -# CONFIG_CPU_R3000 is not set -# CONFIG_CPU_R4300 is not set -# CONFIG_CPU_R4X00 is not set -# CONFIG_CPU_R5000 is not set -# CONFIG_CPU_R5432 is not set -# CONFIG_CPU_R6000 is not set -# CONFIG_CPU_R8000 is not set -# CONFIG_CPU_RM7000 is not set -# CONFIG_CPU_RM9000 is not set -# CONFIG_CPU_SB1 is not set -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -# CONFIG_CPU_TX39XX is not set -# CONFIG_CPU_TX49XX is not set -# CONFIG_CPU_VR41XX is not set -# CONFIG_DM9000 is not set -CONFIG_DMA_NEED_PCI_MAP_STATE=y -CONFIG_DMA_NONCOHERENT=y -CONFIG_EARLY_PRINTK=y -CONFIG_FIXED_MII_100_FDX=y -# CONFIG_FIXED_MII_10_FDX is not set -CONFIG_FIXED_PHY=y -CONFIG_FS_POSIX_ACL=y -CONFIG_GENERIC_FIND_NEXT_BIT=y -CONFIG_GENERIC_GPIO=y -CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y -CONFIG_HAS_DMA=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HID_SUPPORT=n -CONFIG_HW_HAS_PCI=y -CONFIG_HW_RANDOM=y -# CONFIG_I2C is not set -# CONFIG_IDE is not set -CONFIG_INITRAMFS_SOURCE="" -CONFIG_IRQ_CPU=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -# CONFIG_LEMOTE_FULONG is not set -# CONFIG_MACH_ALCHEMY is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_MACH_VR41XX is not set -CONFIG_MIPS=y -# CONFIG_MIPS_ATLAS is not set -# CONFIG_MIPS_COBALT is not set -CONFIG_MIPS_L1_CACHE_SHIFT=5 -# CONFIG_MIPS_MALTA is not set -CONFIG_MIPS_MT_DISABLED=y -# CONFIG_MIPS_MT_SMP is not set -# CONFIG_MIPS_MT_SMTC is not set -# CONFIG_MIPS_SEAD is not set -# CONFIG_MIPS_SIM is not set -CONFIG_MTD=y -# CONFIG_MTD_ABSENT is not set -CONFIG_MTD_AR7_PARTS=y -CONFIG_MTD_BLKDEVS=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_BLOCK2MTD is not set -CONFIG_MTD_CFI=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_CFI_UTIL=y -CONFIG_MTD_CHAR=y -# CONFIG_MTD_CMDLINE_PARTS is not set -CONFIG_MTD_COMPLEX_MAPPINGS=y -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -CONFIG_MTD_MAP_BANK_WIDTH_2=y -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_ONENAND is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_PHRAM is not set -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_BANKWIDTH=2 -CONFIG_MTD_PHYSMAP_LEN=0 -CONFIG_MTD_PHYSMAP_START=0x10000000 -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_NETDEV_1000 is not set -# CONFIG_NETDEVICES_MULTIQUEUE is not set -CONFIG_NET_ACT_POLICE=y -CONFIG_NET_SCH_FIFO=y -# CONFIG_NF_CT_PROTO_GRE is not set -# CONFIG_NF_NAT_PROTO_GRE is not set -CONFIG_NO_EXCEPT_FILL=y -# CONFIG_NO_IOPORT is not set -# CONFIG_PAGE_SIZE_16KB is not set -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_SIZE_64KB is not set -# CONFIG_PAGE_SIZE_8KB is not set -# CONFIG_PCI is not set -CONFIG_PHYLIB=y -# CONFIG_PMC_MSP is not set -# CONFIG_PMC_YOSEMITE is not set -# CONFIG_PNX8550_JBS is not set -# CONFIG_PNX8550_STB810 is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_RTC is not set -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y -# CONFIG_SCSI_WAIT_SCAN is not set -# CONFIG_SERIAL_8250_EXTENDED is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_BIGSUR is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_PTSWARM is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_SWARM is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_SOFT_WATCHDOG is not set -# CONFIG_SPARSEMEM_STATIC is not set -CONFIG_SWAP_IO_SPACE=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_SYS_HAS_CPU_MIPS32_R1=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_KGDB=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -# CONFIG_TOSHIBA_JMR3927 is not set -# CONFIG_TOSHIBA_RBTX4927 is not set -# CONFIG_TOSHIBA_RBTX4938 is not set -CONFIG_TRAD_SIGNALS=y -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_USB_ARCH_HAS_EHCI is not set -# CONFIG_USB_ARCH_HAS_HCD is not set -# CONFIG_USB_ARCH_HAS_OHCI is not set -# CONFIG_USER_NS is not set -# CONFIG_VGASTATE is not set -CONFIG_VLYNQ=y -CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar7/config-2.6.24 b/target/linux/ar7/config-2.6.24 deleted file mode 100644 index edc8b2b876..0000000000 --- a/target/linux/ar7/config-2.6.24 +++ /dev/null @@ -1,198 +0,0 @@ -CONFIG_32BIT=y -# CONFIG_64BIT is not set -CONFIG_AR7=y -CONFIG_AR7_GPIO=y -CONFIG_AR7_WDT=y -# CONFIG_ARCH_HAS_ILOG2_U32 is not set -# CONFIG_ARCH_HAS_ILOG2_U64 is not set -CONFIG_ARCH_POPULATES_NODE_MAP=y -# CONFIG_ARCH_SUPPORTS_MSI is not set -CONFIG_ARCH_SUPPORTS_OPROFILE=y -CONFIG_ATM_DRIVERS=y -CONFIG_BASE_SMALL=0 -# CONFIG_BCM47XX is not set -CONFIG_BITREVERSE=y -CONFIG_BOOT_ELF32=y -# CONFIG_BROADCOM_PHY is not set -# CONFIG_BT is not set -CONFIG_CEVT_R4K=y -CONFIG_CMDLINE="init=/etc/preinit rootfstype=squashfs,jffs2," -CONFIG_CPMAC=y -# CONFIG_CPU_BIG_ENDIAN is not set -CONFIG_CPU_HAS_LLSC=y -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_CPU_LITTLE_ENDIAN=y -# CONFIG_CPU_LOONGSON2 is not set -CONFIG_CPU_MIPS32=y -CONFIG_CPU_MIPS32_R1=y -# CONFIG_CPU_MIPS32_R2 is not set -# CONFIG_CPU_MIPS64_R1 is not set -# CONFIG_CPU_MIPS64_R2 is not set -CONFIG_CPU_MIPSR1=y -# CONFIG_CPU_NEVADA is not set -# CONFIG_CPU_R10000 is not set -# CONFIG_CPU_R3000 is not set -# CONFIG_CPU_R4300 is not set -# CONFIG_CPU_R4X00 is not set -# CONFIG_CPU_R5000 is not set -# CONFIG_CPU_R5432 is not set -# CONFIG_CPU_R6000 is not set -# CONFIG_CPU_R8000 is not set -# CONFIG_CPU_RM7000 is not set -# CONFIG_CPU_RM9000 is not set -# CONFIG_CPU_SB1 is not set -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -# CONFIG_CPU_TX39XX is not set -# CONFIG_CPU_TX49XX is not set -# CONFIG_CPU_VR41XX is not set -CONFIG_CSRC_R4K=y -# CONFIG_DM9000 is not set -CONFIG_DMA_NEED_PCI_MAP_STATE=y -CONFIG_DMA_NONCOHERENT=y -CONFIG_EARLY_PRINTK=y -CONFIG_FIXED_PHY=y -CONFIG_FS_POSIX_ACL=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_GENERIC_FIND_NEXT_BIT=y -CONFIG_GENERIC_GPIO=y -CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y -CONFIG_HAS_DMA=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HW_RANDOM=y -# CONFIG_I2C is not set -# CONFIG_IBM_NEW_EMAC_EMAC4 is not set -# CONFIG_IBM_NEW_EMAC_RGMII is not set -# CONFIG_IBM_NEW_EMAC_TAH is not set -# CONFIG_IBM_NEW_EMAC_ZMII is not set -# CONFIG_IDE is not set -CONFIG_INITRAMFS_SOURCE="" -CONFIG_IRQ_CPU=y -CONFIG_KALLSYMS=y -# CONFIG_LEDS_ALIX is not set -CONFIG_LEDS_GPIO=y -# CONFIG_LEMOTE_FULONG is not set -# CONFIG_MACH_ALCHEMY is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_MACH_VR41XX is not set -# CONFIG_MDIO_BITBANG is not set -CONFIG_MIPS=y -# CONFIG_MIPS_ATLAS is not set -# CONFIG_MIPS_COBALT is not set -CONFIG_MIPS_L1_CACHE_SHIFT=5 -# CONFIG_MIPS_MALTA is not set -CONFIG_MIPS_MT_DISABLED=y -# CONFIG_MIPS_MT_SMP is not set -# CONFIG_MIPS_MT_SMTC is not set -# CONFIG_MIPS_SEAD is not set -# CONFIG_MIPS_SIM is not set -CONFIG_MTD=y -# CONFIG_MTD_ABSENT is not set -CONFIG_MTD_AR7_PARTS=y -CONFIG_MTD_BLKDEVS=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_BLOCK2MTD is not set -CONFIG_MTD_CFI=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_CFI_UTIL=y -CONFIG_MTD_CHAR=y -# CONFIG_MTD_CMDLINE_PARTS is not set -CONFIG_MTD_COMPLEX_MAPPINGS=y -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -CONFIG_MTD_MAP_BANK_WIDTH_2=y -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_ONENAND is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_PHRAM is not set -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_BANKWIDTH=2 -CONFIG_MTD_PHYSMAP_LEN=0 -CONFIG_MTD_PHYSMAP_START=0x10000000 -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_SLRAM is not set -CONFIG_NO_EXCEPT_FILL=y -# CONFIG_NO_IOPORT is not set -# CONFIG_PAGE_SIZE_16KB is not set -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_SIZE_64KB is not set -# CONFIG_PAGE_SIZE_8KB is not set -CONFIG_PHYLIB=y -# CONFIG_PMC_MSP is not set -# CONFIG_PMC_YOSEMITE is not set -# CONFIG_PNX8550_JBS is not set -# CONFIG_PNX8550_STB810 is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_RTC is not set -CONFIG_RTC_LIB=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y -# CONFIG_SCSI_WAIT_SCAN is not set -# CONFIG_SERIAL_8250_EXTENDED is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_BIGSUR is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_PTSWARM is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_SWARM is not set -# CONFIG_SLAB is not set -CONFIG_SLABINFO=y -CONFIG_SLUB=y -# CONFIG_SLUB_DEBUG is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_SOFT_WATCHDOG is not set -# CONFIG_SPARSEMEM_STATIC is not set -# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set -CONFIG_SSB_POSSIBLE=y -CONFIG_SWAP_IO_SPACE=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_SYS_HAS_CPU_MIPS32_R1=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_KGDB=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_TICK_ONESHOT=y -# CONFIG_TOSHIBA_JMR3927 is not set -# CONFIG_TOSHIBA_RBTX4927 is not set -# CONFIG_TOSHIBA_RBTX4938 is not set -CONFIG_TRAD_SIGNALS=y -# CONFIG_USB_ARCH_HAS_EHCI is not set -# CONFIG_USB_ARCH_HAS_HCD is not set -# CONFIG_USB_ARCH_HAS_OHCI is not set -# CONFIG_USER_NS is not set -# CONFIG_VGASTATE is not set -CONFIG_VLYNQ=y -CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar7/config-2.6.25 b/target/linux/ar7/config-2.6.25 deleted file mode 100644 index f43e31aa5f..0000000000 --- a/target/linux/ar7/config-2.6.25 +++ /dev/null @@ -1,214 +0,0 @@ -CONFIG_32BIT=y -# CONFIG_64BIT is not set -CONFIG_AR7=y -CONFIG_AR7_GPIO=y -CONFIG_AR7_WDT=y -# CONFIG_ARCH_HAS_ILOG2_U32 is not set -# CONFIG_ARCH_HAS_ILOG2_U64 is not set -CONFIG_ARCH_POPULATES_NODE_MAP=y -# CONFIG_ARCH_SUPPORTS_MSI is not set -CONFIG_ARCH_SUPPORTS_OPROFILE=y -CONFIG_ARCH_SUSPEND_POSSIBLE=y -CONFIG_ATM_DRIVERS=y -CONFIG_BASE_SMALL=0 -# CONFIG_BCM47XX is not set -CONFIG_BITREVERSE=y -CONFIG_BOOT_ELF32=y -# CONFIG_BROADCOM_PHY is not set -# CONFIG_BT is not set -CONFIG_CEVT_R4K=y -CONFIG_CLASSIC_RCU=y -CONFIG_CMDLINE="init=/etc/preinit rootfstype=squashfs,jffs2," -CONFIG_CPMAC=y -# CONFIG_CPU_BIG_ENDIAN is not set -CONFIG_CPU_HAS_LLSC=y -CONFIG_CPU_HAS_PREFETCH=y -CONFIG_CPU_HAS_SYNC=y -CONFIG_CPU_LITTLE_ENDIAN=y -# CONFIG_CPU_LOONGSON2 is not set -CONFIG_CPU_MIPS32=y -CONFIG_CPU_MIPS32_R1=y -# CONFIG_CPU_MIPS32_R2 is not set -# CONFIG_CPU_MIPS64_R1 is not set -# CONFIG_CPU_MIPS64_R2 is not set -CONFIG_CPU_MIPSR1=y -# CONFIG_CPU_NEVADA is not set -# CONFIG_CPU_R10000 is not set -# CONFIG_CPU_R3000 is not set -# CONFIG_CPU_R4300 is not set -# CONFIG_CPU_R4X00 is not set -# CONFIG_CPU_R5000 is not set -# CONFIG_CPU_R5432 is not set -# CONFIG_CPU_R6000 is not set -# CONFIG_CPU_R8000 is not set -# CONFIG_CPU_RM7000 is not set -# CONFIG_CPU_RM9000 is not set -# CONFIG_CPU_SB1 is not set -CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y -CONFIG_CPU_SUPPORTS_HIGHMEM=y -# CONFIG_CPU_TX39XX is not set -# CONFIG_CPU_TX49XX is not set -# CONFIG_CPU_VR41XX is not set -# CONFIG_CRYPTO_AEAD is not set -# CONFIG_CRYPTO_AUTHENC is not set -# CONFIG_CRYPTO_GF128MUL is not set -CONFIG_CSRC_R4K=y -# CONFIG_DM9000 is not set -CONFIG_DMA_NEED_PCI_MAP_STATE=y -CONFIG_DMA_NONCOHERENT=y -CONFIG_EARLY_PRINTK=y -CONFIG_FIXED_PHY=y -CONFIG_FS_POSIX_ACL=y -CONFIG_GENERIC_CLOCKEVENTS=y -CONFIG_GENERIC_CLOCKEVENTS_BUILD=y -CONFIG_GENERIC_CMOS_UPDATE=y -CONFIG_GENERIC_FIND_NEXT_BIT=y -CONFIG_GENERIC_GPIO=y -CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y -CONFIG_HAS_DMA=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HAVE_IDE=y -# CONFIG_HAVE_KPROBES is not set -# CONFIG_HAVE_KRETPROBES is not set -CONFIG_HAVE_OPROFILE=y -CONFIG_HW_RANDOM=y -# CONFIG_I2C is not set -# CONFIG_IBM_NEW_EMAC_EMAC4 is not set -# CONFIG_IBM_NEW_EMAC_RGMII is not set -# CONFIG_IBM_NEW_EMAC_TAH is not set -# CONFIG_IBM_NEW_EMAC_ZMII is not set -# CONFIG_IDE is not set -CONFIG_INITRAMFS_SOURCE="" -CONFIG_IRQ_CPU=y -# CONFIG_ISDN is not set -CONFIG_KALLSYMS=y -# CONFIG_LEDS_ALIX is not set -CONFIG_LEDS_GPIO=y -# CONFIG_LEMOTE_FULONG is not set -# CONFIG_LZO_COMPRESS is not set -# CONFIG_LZO_DECOMPRESS is not set -# CONFIG_MACH_ALCHEMY is not set -# CONFIG_MACH_DECSTATION is not set -# CONFIG_MACH_JAZZ is not set -# CONFIG_MACH_VR41XX is not set -# CONFIG_MDIO_BITBANG is not set -# CONFIG_MEMSTICK is not set -CONFIG_MIPS=y -# CONFIG_MIPS_ATLAS is not set -# CONFIG_MIPS_COBALT is not set -CONFIG_MIPS_L1_CACHE_SHIFT=5 -# CONFIG_MIPS_MALTA is not set -CONFIG_MIPS_MT_DISABLED=y -# CONFIG_MIPS_MT_SMP is not set -# CONFIG_MIPS_MT_SMTC is not set -# CONFIG_MIPS_SEAD is not set -# CONFIG_MIPS_SIM is not set -CONFIG_MTD=y -# CONFIG_MTD_ABSENT is not set -CONFIG_MTD_AR7_PARTS=y -CONFIG_MTD_BLKDEVS=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_BLOCK2MTD is not set -CONFIG_MTD_CFI=y -# CONFIG_MTD_CFI_ADV_OPTIONS is not set -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_CFI_UTIL=y -CONFIG_MTD_CHAR=y -# CONFIG_MTD_CMDLINE_PARTS is not set -CONFIG_MTD_COMPLEX_MAPPINGS=y -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -CONFIG_MTD_GEN_PROBE=y -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -CONFIG_MTD_MAP_BANK_WIDTH_2=y -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_ONENAND is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_PHRAM is not set -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_BANKWIDTH=2 -CONFIG_MTD_PHYSMAP_LEN=0 -CONFIG_MTD_PHYSMAP_START=0x10000000 -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_SLRAM is not set -CONFIG_NO_EXCEPT_FILL=y -# CONFIG_NO_IOPORT is not set -# CONFIG_PAGE_SIZE_16KB is not set -CONFIG_PAGE_SIZE_4KB=y -# CONFIG_PAGE_SIZE_64KB is not set -# CONFIG_PAGE_SIZE_8KB is not set -CONFIG_PHYLIB=y -# CONFIG_PMC_MSP is not set -# CONFIG_PMC_YOSEMITE is not set -# CONFIG_PNX8550_JBS is not set -# CONFIG_PNX8550_STB810 is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_REALTEK_PHY is not set -# CONFIG_RTC is not set -CONFIG_RTC_LIB=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y -# CONFIG_SCSI is not set -# CONFIG_SCSI_DMA is not set -# CONFIG_SERIAL_8250_EXTENDED is not set -# CONFIG_SGI_IP22 is not set -# CONFIG_SGI_IP27 is not set -# CONFIG_SGI_IP28 is not set -# CONFIG_SGI_IP32 is not set -# CONFIG_SIBYTE_BIGSUR is not set -# CONFIG_SIBYTE_CARMEL is not set -# CONFIG_SIBYTE_CRHINE is not set -# CONFIG_SIBYTE_CRHONE is not set -# CONFIG_SIBYTE_LITTLESUR is not set -# CONFIG_SIBYTE_RHONE is not set -# CONFIG_SIBYTE_SENTOSA is not set -# CONFIG_SIBYTE_SWARM is not set -# CONFIG_SLAB is not set -CONFIG_SLABINFO=y -CONFIG_SLUB=y -# CONFIG_SLUB_DEBUG is not set -# CONFIG_SLUB_STATS is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_SOFT_WATCHDOG is not set -# CONFIG_SOUND is not set -# CONFIG_SPARSEMEM_STATIC is not set -# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set -CONFIG_SSB_POSSIBLE=y -CONFIG_SWAP_IO_SPACE=y -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_SYS_HAS_CPU_MIPS32_R1=y -CONFIG_SYS_HAS_EARLY_PRINTK=y -CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y -CONFIG_SYS_SUPPORTS_ARBIT_HZ=y -CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y -CONFIG_SYS_SUPPORTS_KGDB=y -CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y -CONFIG_TICK_ONESHOT=y -# CONFIG_TOSHIBA_JMR3927 is not set -# CONFIG_TOSHIBA_RBTX4927 is not set -# CONFIG_TOSHIBA_RBTX4938 is not set -CONFIG_TRAD_SIGNALS=y -# CONFIG_USB_SUPPORT is not set -# CONFIG_VGASTATE is not set -# CONFIG_VIDEO_DEV is not set -CONFIG_VLYNQ=y -# CONFIG_W1 is not set -CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/ar7/patches-2.6.23/100-board_support.patch b/target/linux/ar7/patches-2.6.23/100-board_support.patch deleted file mode 100644 index 681a1a9843..0000000000 --- a/target/linux/ar7/patches-2.6.23/100-board_support.patch +++ /dev/null @@ -1,94 +0,0 @@ -Index: linux-2.6.23.17/arch/mips/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/arch/mips/Kconfig -+++ linux-2.6.23.17/arch/mips/Kconfig -@@ -15,6 +15,22 @@ choice - prompt "System type" - default SGI_IP22 - -+config AR7 -+ bool "Texas Instruments AR7" -+ select BOOT_ELF32 -+ select DMA_NONCOHERENT -+ select IRQ_CPU -+ select NO_EXCEPT_FILL -+ select SWAP_IO_SPACE -+ select SYS_HAS_CPU_MIPS32_R1 -+ select SYS_HAS_EARLY_PRINTK -+ select SYS_SUPPORTS_32BIT_KERNEL -+ select SYS_SUPPORTS_KGDB -+ select SYS_SUPPORTS_LITTLE_ENDIAN -+ select SYS_SUPPORTS_BIG_ENDIAN -+ select GENERIC_GPIO -+ select GENERIC_HARDIRQS_NO__DO_IRQ -+ - config MACH_ALCHEMY - bool "Alchemy processor based machines" - -Index: linux-2.6.23.17/arch/mips/kernel/traps.c -=================================================================== ---- linux-2.6.23.17.orig/arch/mips/kernel/traps.c -+++ linux-2.6.23.17/arch/mips/kernel/traps.c -@@ -1075,10 +1075,23 @@ void *set_except_vector(int n, void *add - - exception_handlers[n] = handler; - if (n == 0 && cpu_has_divec) { -- *(volatile u32 *)(ebase + 0x200) = 0x08000000 | -- (0x03ffffff & (handler >> 2)); -- flush_icache_range(ebase + 0x200, ebase + 0x204); -- } -+ if ((handler ^ (ebase + 4)) & 0xfc000000) { -+ /* lui k0, 0x0000 */ -+ *(u32 *)(ebase + 0x200) = 0x3c1a0000 | (handler >> 16); -+ /* ori k0, 0x0000 */ -+ *(u32 *)(ebase + 0x204) = -+ 0x375a0000 | (handler & 0xffff); -+ /* jr k0 */ -+ *(u32 *)(ebase + 0x208) = 0x03400008; -+ /* nop */ -+ *(u32 *)(ebase + 0x20C) = 0x00000000; -+ flush_icache_range(ebase + 0x200, ebase + 0x210); -+ } else { -+ *(volatile u32 *)(ebase + 0x200) = -+ 0x08000000 | (0x03ffffff & (handler >> 2)); -+ flush_icache_range(ebase + 0x200, ebase + 0x204); -+ } -+ } - return (void *)old_handler; - } - -Index: linux-2.6.23.17/arch/mips/Makefile -=================================================================== ---- linux-2.6.23.17.orig/arch/mips/Makefile -+++ linux-2.6.23.17/arch/mips/Makefile -@@ -161,6 +161,13 @@ libs-$(CONFIG_SIBYTE_CFE) += arch/mips/s - # - - # -+# Texas Instruments AR7 -+# -+core-$(CONFIG_AR7) += arch/mips/ar7/ -+cflags-$(CONFIG_AR7) += -Iinclude/asm-mips/ar7 -+load-$(CONFIG_AR7) += 0xffffffff94100000 -+ -+# - # Acer PICA 61, Mips Magnum 4000 and Olivetti M700. - # - core-$(CONFIG_MACH_JAZZ) += arch/mips/jazz/ -Index: linux-2.6.23.17/include/asm-mips/page.h -=================================================================== ---- linux-2.6.23.17.orig/include/asm-mips/page.h -+++ linux-2.6.23.17/include/asm-mips/page.h -@@ -184,8 +184,10 @@ typedef struct { unsigned long pgprot; } - #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) - --#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE) --#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET) -+#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE + \ -+ PHYS_OFFSET) -+#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET - \ -+ PHYS_OFFSET) - - #include - #include diff --git a/target/linux/ar7/patches-2.6.23/110-flash.patch b/target/linux/ar7/patches-2.6.23/110-flash.patch deleted file mode 100644 index fa6010814c..0000000000 --- a/target/linux/ar7/patches-2.6.23/110-flash.patch +++ /dev/null @@ -1,43 +0,0 @@ -Index: linux-2.6.23.17/drivers/mtd/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/drivers/mtd/Kconfig -+++ linux-2.6.23.17/drivers/mtd/Kconfig -@@ -160,6 +160,12 @@ config MTD_AFS_PARTS - for your particular device. It won't happen automatically. The - 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example. - -+config MTD_AR7_PARTS -+ tristate "TI AR7 partitioning support" -+ depends on MTD_PARTITIONS -+ ---help--- -+ TI AR7 partitioning support -+ - comment "User Modules And Translation Layers" - - config MTD_CHAR -Index: linux-2.6.23.17/drivers/mtd/Makefile -=================================================================== ---- linux-2.6.23.17.orig/drivers/mtd/Makefile -+++ linux-2.6.23.17/drivers/mtd/Makefile -@@ -11,6 +11,7 @@ obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o - obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o - obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o - obj-$(CONFIG_MTD_AFS_PARTS) += afs.o -+obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o - - # 'Users' - code which presents functionality to userspace. - obj-$(CONFIG_MTD_CHAR) += mtdchar.o -Index: linux-2.6.23.17/drivers/mtd/maps/physmap.c -=================================================================== ---- linux-2.6.23.17.orig/drivers/mtd/maps/physmap.c -+++ linux-2.6.23.17/drivers/mtd/maps/physmap.c -@@ -74,7 +74,8 @@ static int physmap_flash_remove(struct p - - static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL }; - #ifdef CONFIG_MTD_PARTITIONS --static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL }; -+static const char *part_probe_types[] = {"cmdlinepart", "RedBoot", -+ "ar7part", NULL }; - #endif - - static int physmap_flash_probe(struct platform_device *dev) diff --git a/target/linux/ar7/patches-2.6.23/120-gpio_chrdev.patch b/target/linux/ar7/patches-2.6.23/120-gpio_chrdev.patch deleted file mode 100644 index a61f3e0dbf..0000000000 --- a/target/linux/ar7/patches-2.6.23/120-gpio_chrdev.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: linux-2.6.23.17/drivers/char/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/drivers/char/Kconfig -+++ linux-2.6.23.17/drivers/char/Kconfig -@@ -928,6 +928,15 @@ config MWAVE - To compile this driver as a module, choose M here: the - module will be called mwave. - -+config AR7_GPIO -+ tristate "TI AR7 GPIO Support" -+ depends on AR7 -+ help -+ Give userspace access to the GPIO pins on the Texas Instruments AR7 -+ processors. -+ -+ If compiled as a module, it will be called ar7_gpio. -+ - config SCx200_GPIO - tristate "NatSemi SCx200 GPIO Support" - depends on SCx200 -Index: linux-2.6.23.17/drivers/char/Makefile -=================================================================== ---- linux-2.6.23.17.orig/drivers/char/Makefile -+++ linux-2.6.23.17/drivers/char/Makefile -@@ -89,6 +89,7 @@ obj-$(CONFIG_COBALT_LCD) += lcd.o - obj-$(CONFIG_PPDEV) += ppdev.o - obj-$(CONFIG_NWBUTTON) += nwbutton.o - obj-$(CONFIG_NWFLASH) += nwflash.o -+obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o - obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o - obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o - obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o diff --git a/target/linux/ar7/patches-2.6.23/130-vlynq.patch b/target/linux/ar7/patches-2.6.23/130-vlynq.patch deleted file mode 100644 index 8f7e94b344..0000000000 --- a/target/linux/ar7/patches-2.6.23/130-vlynq.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: linux-2.6.23.17/drivers/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/drivers/Kconfig -+++ linux-2.6.23.17/drivers/Kconfig -@@ -93,4 +93,6 @@ source "drivers/kvm/Kconfig" - source "drivers/uio/Kconfig" - - source "drivers/lguest/Kconfig" -+ -+source "drivers/vlynq/Kconfig" - endmenu -Index: linux-2.6.23.17/drivers/Makefile -=================================================================== ---- linux-2.6.23.17.orig/drivers/Makefile -+++ linux-2.6.23.17/drivers/Makefile -@@ -89,4 +89,5 @@ obj-$(CONFIG_DMA_ENGINE) += dma/ - obj-$(CONFIG_HID) += hid/ - obj-$(CONFIG_PPC_PS3) += ps3/ - obj-$(CONFIG_OF) += of/ -+obj-$(CONFIG_VLYNQ) += vlynq/ - obj-$(CONFIG_GPIO_DEVICE) += gpio/ diff --git a/target/linux/ar7/patches-2.6.23/140-watchdog.patch b/target/linux/ar7/patches-2.6.23/140-watchdog.patch deleted file mode 100644 index 09a8ad5b9b..0000000000 --- a/target/linux/ar7/patches-2.6.23/140-watchdog.patch +++ /dev/null @@ -1,29 +0,0 @@ -Index: linux-2.6.23.17/drivers/char/watchdog/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/drivers/char/watchdog/Kconfig -+++ linux-2.6.23.17/drivers/char/watchdog/Kconfig -@@ -583,6 +583,12 @@ config SBC_EPX_C3_WATCHDOG - - # MIPS Architecture - -+config AR7_WDT -+ tristate "TI AR7 Watchdog Timer" -+ depends on WATCHDOG && AR7 -+ help -+ Hardware driver for the TI AR7 Watchdog Timer. -+ - config INDYDOG - tristate "Indy/I2 Hardware Watchdog" - depends on SGI_IP22 -Index: linux-2.6.23.17/drivers/char/watchdog/Makefile -=================================================================== ---- linux-2.6.23.17.orig/drivers/char/watchdog/Makefile -+++ linux-2.6.23.17/drivers/char/watchdog/Makefile -@@ -87,6 +87,7 @@ obj-$(CONFIG_SBC_EPX_C3_WATCHDOG) += sbc - # M68KNOMMU Architecture - - # MIPS Architecture -+obj-$(CONFIG_AR7_WDT) += ar7_wdt.o - obj-$(CONFIG_INDYDOG) += indydog.o - obj-$(CONFIG_WDT_MTX1) += mtx-1_wdt.o - obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o diff --git a/target/linux/ar7/patches-2.6.23/200-ethernet_driver.patch b/target/linux/ar7/patches-2.6.23/200-ethernet_driver.patch deleted file mode 100644 index 0f13204a76..0000000000 --- a/target/linux/ar7/patches-2.6.23/200-ethernet_driver.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: linux-2.6.23.17/drivers/net/Kconfig -=================================================================== ---- linux-2.6.23.17.orig/drivers/net/Kconfig -+++ linux-2.6.23.17/drivers/net/Kconfig -@@ -1965,6 +1965,15 @@ config SC92031 - To compile this driver as a module, choose M here: the module - will be called sc92031. This is recommended. - -+config CPMAC -+ tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" -+ depends on NET_ETHERNET && EXPERIMENTAL && AR7 -+ select PHYLIB -+ select FIXED_PHY -+ select FIXED_MII_100_FDX -+ help -+ TI AR7 CPMAC Ethernet support -+ - config NET_POCKET - bool "Pocket and portable adapters" - depends on PARPORT -Index: linux-2.6.23.17/drivers/net/Makefile -=================================================================== ---- linux-2.6.23.17.orig/drivers/net/Makefile -+++ linux-2.6.23.17/drivers/net/Makefile -@@ -156,6 +156,7 @@ obj-$(CONFIG_8139CP) += 8139cp.o - obj-$(CONFIG_8139TOO) += 8139too.o - obj-$(CONFIG_ZNET) += znet.o - obj-$(CONFIG_LAN_SAA9730) += saa9730.o -+obj-$(CONFIG_CPMAC) += cpmac.o - obj-$(CONFIG_DEPCA) += depca.o - obj-$(CONFIG_EWRK3) += ewrk3.o - obj-$(CONFIG_ATP) += atp.o diff --git a/target/linux/ar7/patches-2.6.23/210-phy_fixed.patch b/target/linux/ar7/patches-2.6.23/210-phy_fixed.patch deleted file mode 100644 index 24040786c0..0000000000 --- a/target/linux/ar7/patches-2.6.23/210-phy_fixed.patch +++ /dev/null @@ -1,93 +0,0 @@ -Index: linux-2.6.23.17/drivers/net/phy/fixed.c -=================================================================== ---- linux-2.6.23.17.orig/drivers/net/phy/fixed.c -+++ linux-2.6.23.17/drivers/net/phy/fixed.c -@@ -189,6 +189,19 @@ static struct phy_driver fixed_mdio_driv - .driver = { .owner = THIS_MODULE,}, - }; - -+static void fixed_mdio_release (struct device * dev) -+{ -+ struct phy_device *phydev = container_of(dev, struct phy_device, dev); -+ struct mii_bus *bus = phydev->bus; -+ struct fixed_info *fixed = bus->priv; -+ -+ kfree(phydev); -+ kfree(bus->dev); -+ kfree(bus); -+ kfree(fixed->regs); -+ kfree(fixed); -+} -+ - /*----------------------------------------------------------------------------- - * This func is used to create all the necessary stuff, bind - * the fixed phy driver and register all it on the mdio_bus_type. -@@ -224,6 +237,12 @@ static int fixed_mdio_register_device(in - } - - fixed->regs = kzalloc(MII_REGS_NUM*sizeof(int), GFP_KERNEL); -+ if (NULL == fixed->regs) { -+ kfree(dev); -+ kfree(new_bus); -+ kfree(fixed); -+ return -ENOMEM; -+ } - fixed->regs_num = MII_REGS_NUM; - fixed->phy_status.speed = speed; - fixed->phy_status.duplex = duplex; -@@ -252,8 +271,11 @@ static int fixed_mdio_register_device(in - fixed->phydev = phydev; - - if(NULL == phydev) { -- err = -ENOMEM; -- goto device_create_fail; -+ kfree(dev); -+ kfree(new_bus); -+ kfree(fixed->regs); -+ kfree(fixed); -+ return -ENOMEM; - } - - phydev->irq = PHY_IGNORE_INTERRUPT; -@@ -265,8 +287,33 @@ static int fixed_mdio_register_device(in - else - snprintf(phydev->dev.bus_id, BUS_ID_SIZE, - "fixed@%d:%d", speed, duplex); -+ - phydev->bus = new_bus; - -+#if 1 -+ phydev->dev.driver = &fixed_mdio_driver.driver; -+ phydev->dev.release = fixed_mdio_release; -+ -+ err = phydev->dev.driver->probe(&phydev->dev); -+ if(err < 0) { -+ printk(KERN_ERR "Phy %s: problems with fixed driver\n", -+ phydev->dev.bus_id); -+ kfree(phydev); -+ kfree(dev); -+ kfree(new_bus); -+ kfree(fixed->regs); -+ kfree(fixed); -+ return err; -+ } -+ -+ err = device_register(&phydev->dev); -+ if(err) { -+ printk(KERN_ERR "Phy %s failed to register\n", -+ phydev->dev.bus_id); -+ } -+ -+ return 0; -+#else - err = device_register(&phydev->dev); - if(err) { - printk(KERN_ERR "Phy %s failed to register\n", -@@ -303,6 +350,7 @@ device_create_fail: - kfree(fixed); - - return err; -+#endif - } - #endif - diff --git a/target/linux/ar7/patches-2.6.23/500-serial_kludge.patch b/target/linux/ar7/patches-2.6.23/500-serial_kludge.patch deleted file mode 100644 index f695d2a8e4..0000000000 --- a/target/linux/ar7/patches-2.6.23/500-serial_kludge.patch +++ /dev/null @@ -1,57 +0,0 @@ -Index: linux-2.6.23.17/drivers/serial/8250.c -=================================================================== ---- linux-2.6.23.17.orig/drivers/serial/8250.c -+++ linux-2.6.23.17/drivers/serial/8250.c -@@ -267,6 +267,13 @@ static const struct serial8250_config ua - .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, - .flags = UART_CAP_FIFO, - }, -+ [PORT_AR7] = { -+ .name = "TI-AR7", -+ .fifo_size = 16, -+ .tx_loadsz = 16, -+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00, -+ .flags = UART_CAP_FIFO | UART_CAP_AFE, -+ }, - }; - - #if defined (CONFIG_SERIAL_8250_AU1X00) -@@ -2455,7 +2462,11 @@ static void serial8250_console_putchar(s - { - struct uart_8250_port *up = (struct uart_8250_port *)port; - -+#ifdef CONFIG_AR7 -+ wait_for_xmitr(up, BOTH_EMPTY); -+#else - wait_for_xmitr(up, UART_LSR_THRE); -+#endif - serial_out(up, UART_TX, ch); - } - -Index: linux-2.6.23.17/include/linux/serial_core.h -=================================================================== ---- linux-2.6.23.17.orig/include/linux/serial_core.h -+++ linux-2.6.23.17/include/linux/serial_core.h -@@ -40,6 +40,7 @@ - #define PORT_NS16550A 14 - #define PORT_XSCALE 15 - #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */ -+#define PORT_AR7 16 - #define PORT_MAX_8250 16 /* max port ID */ - - /* -Index: linux-2.6.23.17/include/linux/serialP.h -=================================================================== ---- linux-2.6.23.17.orig/include/linux/serialP.h -+++ linux-2.6.23.17/include/linux/serialP.h -@@ -135,6 +135,10 @@ struct rs_multiport_struct { - * the interrupt line _up_ instead of down, so if we register the IRQ - * while the UART is in that state, we die in an IRQ storm. */ - #define ALPHA_KLUDGE_MCR (UART_MCR_OUT2) -+#elif defined(CONFIG_AR7) -+/* This is how it is set up by bootloader... */ -+#define ALPHA_KLUDGE_MCR (UART_MCR_OUT2 | UART_MCR_OUT1 \ -+ | UART_MCR_RTS | UART_MCR_DTR) - #else - #define ALPHA_KLUDGE_MCR 0 - #endif diff --git a/target/linux/ar7/patches-2.6.24/100-board_support.patch b/target/linux/ar7/patches-2.6.24/100-board_support.patch deleted file mode 100644 index 744371eec5..0000000000 --- a/target/linux/ar7/patches-2.6.24/100-board_support.patch +++ /dev/null @@ -1,94 +0,0 @@ -Index: linux-2.6.24.7/arch/mips/Kconfig -=================================================================== ---- linux-2.6.24.7.orig/arch/mips/Kconfig -+++ linux-2.6.24.7/arch/mips/Kconfig -@@ -16,6 +16,24 @@ choice - prompt "System type" - default SGI_IP22 - -+config AR7 -+ bool "Texas Instruments AR7" -+ select BOOT_ELF32 -+ select DMA_NONCOHERENT -+ select CEVT_R4K -+ select CSRC_R4K -+ select IRQ_CPU -+ select NO_EXCEPT_FILL -+ select SWAP_IO_SPACE -+ select SYS_HAS_CPU_MIPS32_R1 -+ select SYS_HAS_EARLY_PRINTK -+ select SYS_SUPPORTS_32BIT_KERNEL -+ select SYS_SUPPORTS_KGDB -+ select SYS_SUPPORTS_LITTLE_ENDIAN -+ select SYS_SUPPORTS_BIG_ENDIAN -+ select GENERIC_GPIO -+ select GENERIC_HARDIRQS_NO__DO_IRQ -+ - config MACH_ALCHEMY - bool "Alchemy processor based machines" - -Index: linux-2.6.24.7/arch/mips/kernel/traps.c -=================================================================== ---- linux-2.6.24.7.orig/arch/mips/kernel/traps.c -+++ linux-2.6.24.7/arch/mips/kernel/traps.c -@@ -1093,9 +1093,22 @@ void *set_except_vector(int n, void *add - - exception_handlers[n] = handler; - if (n == 0 && cpu_has_divec) { -- *(u32 *)(ebase + 0x200) = 0x08000000 | -- (0x03ffffff & (handler >> 2)); -- flush_icache_range(ebase + 0x200, ebase + 0x204); -+ if ((handler ^ (ebase + 4)) & 0xfc000000) { -+ /* lui k0, 0x0000 */ -+ *(u32 *)(ebase + 0x200) = 0x3c1a0000 | (handler >> 16); -+ /* ori k0, 0x0000 */ -+ *(u32 *)(ebase + 0x204) = -+ 0x375a0000 | (handler & 0xffff); -+ /* jr k0 */ -+ *(u32 *)(ebase + 0x208) = 0x03400008; -+ /* nop */ -+ *(u32 *)(ebase + 0x20C) = 0x00000000; -+ flush_icache_range(ebase + 0x200, ebase + 0x210); -+ } else { -+ *(u32 *)(ebase + 0x200) = -+ 0x08000000 | (0x03ffffff & (handler >> 2)); -+ flush_icache_range(ebase + 0x200, ebase + 0x204); -+ } - } - return (void *)old_handler; - } -Index: linux-2.6.24.7/arch/mips/Makefile -=================================================================== ---- linux-2.6.24.7.orig/arch/mips/Makefile -+++ linux-2.6.24.7/arch/mips/Makefile -@@ -159,6 +159,13 @@ libs-$(CONFIG_SIBYTE_CFE) += arch/mips/s - # - - # -+# Texas Instruments AR7 -+# -+core-$(CONFIG_AR7) += arch/mips/ar7/ -+cflags-$(CONFIG_AR7) += -Iinclude/asm-mips/ar7 -+load-$(CONFIG_AR7) += 0xffffffff94100000 -+ -+# - # Acer PICA 61, Mips Magnum 4000 and Olivetti M700. - # - core-$(CONFIG_MACH_JAZZ) += arch/mips/jazz/ -Index: linux-2.6.24.7/include/asm-mips/page.h -=================================================================== ---- linux-2.6.24.7.orig/include/asm-mips/page.h -+++ linux-2.6.24.7/include/asm-mips/page.h -@@ -184,8 +184,10 @@ typedef struct { unsigned long pgprot; } - #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) - --#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE) --#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET) -+#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE + \ -+ PHYS_OFFSET) -+#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET - \ -+ PHYS_OFFSET) - - #include - #include diff --git a/target/linux/ar7/patches-2.6.24/110-flash.patch b/target/linux/ar7/patches-2.6.24/110-flash.patch deleted file mode 100644 index 7a313681d9..0000000000 --- a/target/linux/ar7/patches-2.6.24/110-flash.patch +++ /dev/null @@ -1,43 +0,0 @@ -Index: linux-2.6.24.7/drivers/mtd/Kconfig -=================================================================== ---- linux-2.6.24.7.orig/drivers/mtd/Kconfig -+++ linux-2.6.24.7/drivers/mtd/Kconfig -@@ -160,6 +160,12 @@ config MTD_AFS_PARTS - for your particular device. It won't happen automatically. The - 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example. - -+config MTD_AR7_PARTS -+ tristate "TI AR7 partitioning support" -+ depends on MTD_PARTITIONS -+ ---help--- -+ TI AR7 partitioning support -+ - comment "User Modules And Translation Layers" - - config MTD_CHAR -Index: linux-2.6.24.7/drivers/mtd/Makefile -=================================================================== ---- linux-2.6.24.7.orig/drivers/mtd/Makefile -+++ linux-2.6.24.7/drivers/mtd/Makefile -@@ -11,6 +11,7 @@ obj-$(CONFIG_MTD_CONCAT) += mtdconcat.o - obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o - obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o - obj-$(CONFIG_MTD_AFS_PARTS) += afs.o -+obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o - - # 'Users' - code which presents functionality to userspace. - obj-$(CONFIG_MTD_CHAR) += mtdchar.o -Index: linux-2.6.24.7/drivers/mtd/maps/physmap.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/mtd/maps/physmap.c -+++ linux-2.6.24.7/drivers/mtd/maps/physmap.c -@@ -74,7 +74,8 @@ static int physmap_flash_remove(struct p - - static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL }; - #ifdef CONFIG_MTD_PARTITIONS --static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL }; -+static const char *part_probe_types[] = {"cmdlinepart", "RedBoot", -+ "ar7part", NULL }; - #endif - - static int physmap_flash_probe(struct platform_device *dev) diff --git a/target/linux/ar7/patches-2.6.24/120-gpio_chrdev.patch b/target/linux/ar7/patches-2.6.24/120-gpio_chrdev.patch deleted file mode 100644 index 27db92ac84..0000000000 --- a/target/linux/ar7/patches-2.6.24/120-gpio_chrdev.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: linux-2.6.24.7/drivers/char/Kconfig -=================================================================== ---- linux-2.6.24.7.orig/drivers/char/Kconfig -+++ linux-2.6.24.7/drivers/char/Kconfig -@@ -904,6 +904,15 @@ config MWAVE - To compile this driver as a module, choose M here: the - module will be called mwave. - -+config AR7_GPIO -+ tristate "TI AR7 GPIO Support" -+ depends on AR7 -+ help -+ Give userspace access to the GPIO pins on the Texas Instruments AR7 -+ processors. -+ -+ If compiled as a module, it will be called ar7_gpio. -+ - config SCx200_GPIO - tristate "NatSemi SCx200 GPIO Support" - depends on SCx200 -Index: linux-2.6.24.7/drivers/char/Makefile -=================================================================== ---- linux-2.6.24.7.orig/drivers/char/Makefile -+++ linux-2.6.24.7/drivers/char/Makefile -@@ -89,6 +89,7 @@ obj-$(CONFIG_COBALT_LCD) += lcd.o - obj-$(CONFIG_PPDEV) += ppdev.o - obj-$(CONFIG_NWBUTTON) += nwbutton.o - obj-$(CONFIG_NWFLASH) += nwflash.o -+obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o - obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o - obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o - obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o diff --git a/target/linux/ar7/patches-2.6.24/130-vlynq.patch b/target/linux/ar7/patches-2.6.24/130-vlynq.patch deleted file mode 100644 index f4154ab8eb..0000000000 --- a/target/linux/ar7/patches-2.6.24/130-vlynq.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: linux-2.6.24.7/drivers/Kconfig -=================================================================== ---- linux-2.6.24.7.orig/drivers/Kconfig -+++ linux-2.6.24.7/drivers/Kconfig -@@ -96,5 +96,7 @@ source "drivers/kvm/Kconfig" - - source "drivers/uio/Kconfig" - -+source "drivers/vlynq/Kconfig" -+ - source "drivers/virtio/Kconfig" - endmenu -Index: linux-2.6.24.7/drivers/Makefile -=================================================================== ---- linux-2.6.24.7.orig/drivers/Makefile -+++ linux-2.6.24.7/drivers/Makefile -@@ -89,6 +89,7 @@ obj-$(CONFIG_DCA) += dca/ - obj-$(CONFIG_HID) += hid/ - obj-$(CONFIG_PPC_PS3) += ps3/ - obj-$(CONFIG_OF) += of/ -+obj-$(CONFIG_VLYNQ) += vlynq/ - obj-$(CONFIG_SSB) += ssb/ - obj-$(CONFIG_VIRTIO) += virtio/ - obj-$(CONFIG_GPIO_DEVICE) += gpio/ diff --git a/target/linux/ar7/patches-2.6.24/140-cpmac_fix.patch b/target/linux/ar7/patches-2.6.24/140-cpmac_fix.patch deleted file mode 100644 index 7658932950..0000000000 --- a/target/linux/ar7/patches-2.6.24/140-cpmac_fix.patch +++ /dev/null @@ -1,268 +0,0 @@ -Index: linux-2.6.24.7/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/net/cpmac.c -+++ linux-2.6.24.7/drivers/net/cpmac.c -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - MODULE_AUTHOR("Eugene Konev "); - MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)"); -@@ -207,6 +208,7 @@ struct cpmac_priv { - struct work_struct reset_work; - struct platform_device *pdev; - struct napi_struct napi; -+ atomic_t reset_pending; - }; - - static irqreturn_t cpmac_irq(int, void *); -@@ -455,6 +457,9 @@ static int cpmac_start_xmit(struct sk_bu - struct cpmac_desc *desc; - struct cpmac_priv *priv = netdev_priv(dev); - -+ if (unlikely(atomic_read(&priv->reset_pending))) -+ return NETDEV_TX_BUSY; -+ - if (unlikely(skb_padto(skb, ETH_ZLEN))) - return NETDEV_TX_OK; - -@@ -634,14 +639,14 @@ static void cpmac_clear_tx(struct net_de - priv->desc_ring[i].dataflags = 0; - if (priv->desc_ring[i].skb) { - dev_kfree_skb_any(priv->desc_ring[i].skb); -- if (netif_subqueue_stopped(dev, i)) -- netif_wake_subqueue(dev, i); -+ priv->desc_ring[i].skb = NULL; - } - } - } - - static void cpmac_hw_error(struct work_struct *work) - { -+ int i; - struct cpmac_priv *priv = - container_of(work, struct cpmac_priv, reset_work); - -@@ -650,8 +655,47 @@ static void cpmac_hw_error(struct work_s - spin_unlock(&priv->rx_lock); - cpmac_clear_tx(priv->dev); - cpmac_hw_start(priv->dev); -- napi_enable(&priv->napi); -- netif_start_queue(priv->dev); -+ barrier(); -+ atomic_dec(&priv->reset_pending); -+ -+ for (i = 0; i < CPMAC_QUEUES; i++) { -+ netif_wake_subqueue(priv->dev, i); -+ } -+ netif_wake_queue(priv->dev); -+ cpmac_write(priv->regs, CPMAC_MAC_INT_ENABLE, 3); -+} -+ -+static void cpmac_check_status(struct net_device *dev) -+{ -+ struct cpmac_priv *priv = netdev_priv(dev); -+ -+ u32 macstatus = cpmac_read(priv->regs, CPMAC_MAC_STATUS); -+ int rx_channel = (macstatus >> 8) & 7; -+ int rx_code = (macstatus >> 12) & 15; -+ int tx_channel = (macstatus >> 16) & 7; -+ int tx_code = (macstatus >> 20) & 15; -+ -+ if (rx_code || tx_code) { -+ if (netif_msg_drv(priv) && net_ratelimit()) { -+ /* Can't find any documentation on what these error codes actually are. -+ * So just log them and hope.. -+ */ -+ if (rx_code) -+ printk(KERN_WARNING "%s: host error %d on rx channel %d (macstatus %08x), resetting\n", -+ dev->name, rx_code, rx_channel, macstatus); -+ if (tx_code) -+ printk(KERN_WARNING "%s: host error %d on tx channel %d (macstatus %08x), resetting\n", -+ dev->name, tx_code, tx_channel, macstatus); -+ } -+ -+ netif_stop_queue(dev); -+ cpmac_hw_stop(dev); -+ if (schedule_work(&priv->reset_work)) -+ atomic_inc(&priv->reset_pending); -+ if (unlikely(netif_msg_hw(priv))) -+ cpmac_dump_regs(dev); -+ } -+ cpmac_write(priv->regs, CPMAC_MAC_INT_CLEAR, 0xff); - } - - static irqreturn_t cpmac_irq(int irq, void *dev_id) -@@ -661,9 +705,6 @@ static irqreturn_t cpmac_irq(int irq, vo - int queue; - u32 status; - -- if (!dev) -- return IRQ_NONE; -- - priv = netdev_priv(dev); - - status = cpmac_read(priv->regs, CPMAC_MAC_INT_VECTOR); -@@ -685,49 +726,33 @@ static irqreturn_t cpmac_irq(int irq, vo - - cpmac_write(priv->regs, CPMAC_MAC_EOI_VECTOR, 0); - -- if (unlikely(status & (MAC_INT_HOST | MAC_INT_STATUS))) { -- if (netif_msg_drv(priv) && net_ratelimit()) -- printk(KERN_ERR "%s: hw error, resetting...\n", -- dev->name); -- netif_stop_queue(dev); -- napi_disable(&priv->napi); -- cpmac_hw_stop(dev); -- schedule_work(&priv->reset_work); -- if (unlikely(netif_msg_hw(priv))) -- cpmac_dump_regs(dev); -- } -+ if (unlikely(status & (MAC_INT_HOST | MAC_INT_STATUS))) -+ cpmac_check_status(dev); - - return IRQ_HANDLED; - } - - static void cpmac_tx_timeout(struct net_device *dev) - { -- struct cpmac_priv *priv = netdev_priv(dev); - int i; -+ struct cpmac_priv *priv = netdev_priv(dev); - - spin_lock(&priv->lock); - dev->stats.tx_errors++; - spin_unlock(&priv->lock); - if (netif_msg_tx_err(priv) && net_ratelimit()) - printk(KERN_WARNING "%s: transmit timeout\n", dev->name); -- /* -- * FIXME: waking up random queue is not the best thing to -- * do... on the other hand why we got here at all? -- */ --#ifdef CONFIG_NETDEVICES_MULTIQUEUE -- for (i = 0; i < CPMAC_QUEUES; i++) -- if (priv->desc_ring[i].skb) { -- priv->desc_ring[i].dataflags = 0; -- dev_kfree_skb_any(priv->desc_ring[i].skb); -- netif_wake_subqueue(dev, i); -- break; -- } --#else -- priv->desc_ring[0].dataflags = 0; -- if (priv->desc_ring[0].skb) -- dev_kfree_skb_any(priv->desc_ring[0].skb); -- netif_wake_queue(dev); --#endif -+ -+ atomic_inc(&priv->reset_pending); -+ barrier(); -+ cpmac_clear_tx(dev); -+ barrier(); -+ atomic_dec(&priv->reset_pending); -+ -+ netif_wake_queue(priv->dev); -+ for (i = 0; i < CPMAC_QUEUES; i++) { -+ netif_wake_subqueue(dev, i); -+ } - } - - static int cpmac_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) -@@ -848,15 +873,6 @@ static void cpmac_adjust_link(struct net - spin_unlock(&priv->lock); - } - --static int cpmac_link_update(struct net_device *dev, -- struct fixed_phy_status *status) --{ -- status->link = 1; -- status->speed = 100; -- status->duplex = 1; -- return 0; --} -- - static int cpmac_open(struct net_device *dev) - { - int i, size, res; -@@ -923,6 +939,7 @@ static int cpmac_open(struct net_device - goto fail_irq; - } - -+ atomic_set(&priv->reset_pending, 0); - INIT_WORK(&priv->reset_work, cpmac_hw_error); - cpmac_hw_start(dev); - -@@ -999,11 +1016,11 @@ static int external_switch; - static int __devinit cpmac_probe(struct platform_device *pdev) - { - int rc, phy_id, i; -+ int mdio_bus_id = cpmac_mii.id; - struct resource *mem; - struct cpmac_priv *priv; - struct net_device *dev; - struct plat_cpmac_data *pdata; -- struct fixed_info *fixed_phy; - DECLARE_MAC_BUF(mac); - - pdata = pdev->dev.platform_data; -@@ -1017,9 +1034,23 @@ static int __devinit cpmac_probe(struct - } - - if (phy_id == PHY_MAX_ADDR) { -- if (external_switch || dumb_switch) -+ if (external_switch || dumb_switch) { -+ struct fixed_phy_status status = {}; -+ -+ mdio_bus_id = 0; -+ -+ /* -+ * FIXME: this should be in the platform code! -+ * Since there is not platform code at all (that is, -+ * no mainline users of that driver), place it here -+ * for now. -+ */ - phy_id = 0; -- else { -+ status.link = 1; -+ status.duplex = 1; -+ status.speed = 100; -+ fixed_phy_add(PHY_POLL, phy_id, &status); -+ } else { - printk(KERN_ERR "cpmac: no PHY present\n"); - return -ENODEV; - } -@@ -1063,32 +1094,8 @@ static int __devinit cpmac_probe(struct - priv->msg_enable = netif_msg_init(debug_level, 0xff); - memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); - -- if (phy_id == 31) { -- snprintf(priv->phy_name, BUS_ID_SIZE, PHY_ID_FMT, cpmac_mii.id, -- phy_id); -- } else { -- /* Let's try to get a free fixed phy... */ -- for (i = 0; i < MAX_PHY_AMNT; i++) { -- fixed_phy = fixed_mdio_get_phydev(i); -- if (!fixed_phy) -- continue; -- if (!fixed_phy->phydev->attached_dev) { -- strncpy(priv->phy_name, -- fixed_phy->phydev->dev.bus_id, -- BUS_ID_SIZE); -- fixed_mdio_set_link_update(fixed_phy->phydev, -- &cpmac_link_update); -- goto phy_found; -- } -- } -- if (netif_msg_drv(priv)) -- printk(KERN_ERR "%s: Could not find fixed PHY\n", -- dev->name); -- rc = -ENODEV; -- goto fail; -- } -+ snprintf(priv->phy_name, BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); - --phy_found: - priv->phy = phy_connect(dev, priv->phy_name, &cpmac_adjust_link, 0, - PHY_INTERFACE_MODE_MII); - if (IS_ERR(priv->phy)) { diff --git a/target/linux/ar7/patches-2.6.24/150-cpmac_up_and_running.diff b/target/linux/ar7/patches-2.6.24/150-cpmac_up_and_running.diff deleted file mode 100644 index c2fb478c4d..0000000000 --- a/target/linux/ar7/patches-2.6.24/150-cpmac_up_and_running.diff +++ /dev/null @@ -1,95 +0,0 @@ -From 0daaa095cefd9d7091a7ccce2ff89f1ff4feae7a Mon Sep 17 00:00:00 2001 -From: Anton Vorontsov -Date: Wed, 5 Mar 2008 14:52:26 +0300 -Subject: [PATCH] AR7/cpmac: convert to new fixed phy infrastructure, now for real - -This patch converts platform code to register fixed phys early. -cpmac driver modified to blindly accept fixed phy id (that is equal -to platform device id). - -Signed-off-by: Anton Vorontsov ---- - arch/mips/ar7/platform.c | 17 +++++++++++++++++ - drivers/net/cpmac.c | 19 +++---------------- - 2 files changed, 20 insertions(+), 16 deletions(-) - -Index: linux-2.6.24.7/arch/mips/ar7/platform.c -=================================================================== ---- linux-2.6.24.7.orig/arch/mips/ar7/platform.c -+++ linux-2.6.24.7/arch/mips/ar7/platform.c -@@ -33,6 +33,8 @@ - #include - #include - #include -+#include -+#include - - #include - #include -@@ -205,6 +207,13 @@ static struct physmap_flash_data physmap - .width = 2, - }; - -+/* lets assume this is suitable for both high and low cpmacs links */ -+static struct fixed_phy_status fixed_phy_status __initdata = { -+ .link = 1, -+ .speed = 100, -+ .duplex = 1, -+}; -+ - static struct plat_cpmac_data cpmac_low_data = { - .reset_bit = 17, - .power_bit = 20, -@@ -506,6 +515,10 @@ static int __init ar7_register_devices(v - } - - if (ar7_has_high_cpmac()) { -+ res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status); -+ if (res && res != -ENODEV) -+ return res; -+ - cpmac_get_mac(1, cpmac_high_data.dev_addr); - res = platform_device_register(&cpmac_high); - if (res) -@@ -514,6 +527,10 @@ static int __init ar7_register_devices(v - cpmac_low_data.phy_mask = 0xffffffff; - } - -+ res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status); -+ if (res && res != -ENODEV) -+ return res; -+ - cpmac_get_mac(0, cpmac_low_data.dev_addr); - res = platform_device_register(&cpmac_low); - if (res) -Index: linux-2.6.24.7/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/net/cpmac.c -+++ linux-2.6.24.7/drivers/net/cpmac.c -@@ -1035,23 +1035,10 @@ static int __devinit cpmac_probe(struct - - if (phy_id == PHY_MAX_ADDR) { - if (external_switch || dumb_switch) { -- struct fixed_phy_status status = {}; -- -- mdio_bus_id = 0; -- -- /* -- * FIXME: this should be in the platform code! -- * Since there is not platform code at all (that is, -- * no mainline users of that driver), place it here -- * for now. -- */ -- phy_id = 0; -- status.link = 1; -- status.duplex = 1; -- status.speed = 100; -- fixed_phy_add(PHY_POLL, phy_id, &status); -+ mdio_bus_id = 0; /* fixed phys bus */ -+ phy_id = pdev->id; - } else { -- printk(KERN_ERR "cpmac: no PHY present\n"); -+ dev_err(&pdev->dev, "no PHY present\n"); - return -ENODEV; - } - } diff --git a/target/linux/ar7/patches-2.6.24/160-cpmac-rx-ring-use-eoq.diff b/target/linux/ar7/patches-2.6.24/160-cpmac-rx-ring-use-eoq.diff deleted file mode 100644 index 2fb71cd4b6..0000000000 --- a/target/linux/ar7/patches-2.6.24/160-cpmac-rx-ring-use-eoq.diff +++ /dev/null @@ -1,180 +0,0 @@ -Index: linux-2.6.24.7/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/net/cpmac.c -+++ linux-2.6.24.7/drivers/net/cpmac.c -@@ -187,6 +187,7 @@ struct cpmac_desc { - #define CPMAC_EOQ 0x1000 - struct sk_buff *skb; - struct cpmac_desc *next; -+ struct cpmac_desc *prev; - dma_addr_t mapping; - dma_addr_t data_mapping; - }; -@@ -242,6 +243,16 @@ static void cpmac_dump_desc(struct net_d - printk("\n"); - } - -+static void cpmac_dump_all_desc(struct net_device *dev) -+{ -+ struct cpmac_priv *priv = netdev_priv(dev); -+ struct cpmac_desc *dump = priv->rx_head; -+ do { -+ cpmac_dump_desc(dev, dump); -+ dump = dump->next; -+ } while (dump != priv->rx_head); -+} -+ - static void cpmac_dump_skb(struct net_device *dev, struct sk_buff *skb) - { - int i; -@@ -413,21 +424,40 @@ static struct sk_buff *cpmac_rx_one(stru - static int cpmac_poll(struct napi_struct *napi, int budget) - { - struct sk_buff *skb; -- struct cpmac_desc *desc; -- int received = 0; -+ struct cpmac_desc *desc, *restart; - struct cpmac_priv *priv = container_of(napi, struct cpmac_priv, napi); -+ int received = 0, processed = 0; - - spin_lock(&priv->rx_lock); - if (unlikely(!priv->rx_head)) { - if (netif_msg_rx_err(priv) && net_ratelimit()) - printk(KERN_WARNING "%s: rx: polling, but no queue\n", - priv->dev->name); -+ spin_unlock(&priv->rx_lock); - netif_rx_complete(priv->dev, napi); - return 0; - } - - desc = priv->rx_head; -+ restart = NULL; - while (((desc->dataflags & CPMAC_OWN) == 0) && (received < budget)) { -+ processed++; -+ -+ if ((desc->dataflags & CPMAC_EOQ) != 0) { -+ /* The last update to eoq->hw_next didn't happen soon enough, and the -+ * receiver stopped here. Remember this descriptor so we can restart -+ * the receiver after freeing some space. -+ */ -+ if (unlikely(restart)) { -+ if (netif_msg_rx_err(priv)) -+ printk(KERN_ERR "%s: poll found a duplicate EOQ: %p and %p\n", -+ priv->dev->name, restart, desc); -+ goto fatal_error; -+ } -+ -+ restart = desc->next; -+ } -+ - skb = cpmac_rx_one(priv, desc); - if (likely(skb)) { - netif_receive_skb(skb); -@@ -436,19 +466,81 @@ static int cpmac_poll(struct napi_struct - desc = desc->next; - } - -+ if (desc != priv->rx_head) { -+ /* We freed some buffers, but not the whole ring, add what we did free to the rx list */ -+ desc->prev->hw_next = (u32)0; -+ priv->rx_head->prev->hw_next = priv->rx_head->mapping; -+ } -+ -+ /* Optimization: If we did not actually process an EOQ (perhaps because of -+ * quota limits), check to see if the tail of the queue has EOQ set. We -+ * should immediately restart in that case so that the receiver can restart -+ * and run in parallel with more packet processing. This lets us handle slightly -+ * larger bursts before running out of ring space (assuming dev->weight < ring_size) -+ */ -+ if (!restart && -+ (priv->rx_head->prev->dataflags & (CPMAC_OWN|CPMAC_EOQ)) == CPMAC_EOQ && -+ (priv->rx_head->dataflags & CPMAC_OWN) != 0) { -+ /* reset EOQ so the poll loop (above) doesn't try to restart this when it -+ * eventually gets to this descriptor. -+ */ -+ priv->rx_head->prev->dataflags &= ~CPMAC_EOQ; -+ restart = priv->rx_head; -+ } -+ -+ if (restart) { -+ priv->dev->stats.rx_errors++; -+ priv->dev->stats.rx_fifo_errors++; -+ if (netif_msg_rx_err(priv) && net_ratelimit()) -+ printk(KERN_WARNING "%s: rx dma ring overrun\n", priv->dev->name); -+ -+ if (unlikely((restart->dataflags & CPMAC_OWN) == 0)) { -+ if (netif_msg_drv(priv)) -+ printk(KERN_ERR "%s: cpmac_poll is trying to restart rx from a descriptor that's not free: %p\n", -+ priv->dev->name, restart); -+ goto fatal_error; -+ } -+ -+ cpmac_write(priv->regs, CPMAC_RX_PTR(0), restart->mapping); -+ } -+ - priv->rx_head = desc; - spin_unlock(&priv->rx_lock); - if (unlikely(netif_msg_rx_status(priv))) - printk(KERN_DEBUG "%s: poll processed %d packets\n", - priv->dev->name, received); -- if (desc->dataflags & CPMAC_OWN) { -+ if (processed == 0) { -+ /* we ran out of packets to read, revert to interrupt-driven mode */ - netif_rx_complete(priv->dev, napi); -- cpmac_write(priv->regs, CPMAC_RX_PTR(0), (u32)desc->mapping); - cpmac_write(priv->regs, CPMAC_RX_INT_ENABLE, 1); - return 0; - } - - return 1; -+ -+fatal_error: -+ /* Something went horribly wrong. Reset hardware to try to recover rather than wedging. */ -+ -+ if (netif_msg_drv(priv)) { -+ printk(KERN_ERR "%s: cpmac_poll is confused. Resetting hardware\n", priv->dev->name); -+ cpmac_dump_all_desc(priv->dev); -+ printk(KERN_DEBUG "%s: RX_PTR(0)=0x%08x RX_ACK(0)=0x%08x\n", -+ priv->dev->name, -+ cpmac_read(priv->regs, CPMAC_RX_PTR(0)), -+ cpmac_read(priv->regs, CPMAC_RX_ACK(0))); -+ } -+ -+ spin_unlock(&priv->rx_lock); -+ netif_rx_complete(priv->dev, napi); -+ netif_stop_queue(priv->dev); -+ napi_disable(&priv->napi); -+ -+ atomic_inc(&priv->reset_pending); -+ cpmac_hw_stop(priv->dev); -+ if (!schedule_work(&priv->reset_work)) -+ atomic_dec(&priv->reset_pending); -+ return 0; -+ - } - - static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev) -@@ -625,8 +717,10 @@ static void cpmac_clear_rx(struct net_de - desc->dataflags = CPMAC_OWN; - dev->stats.rx_dropped++; - } -+ desc->hw_next = desc->next->mapping; - desc = desc->next; - } -+ priv->rx_head->prev->hw_next = 0; - } - - static void cpmac_clear_tx(struct net_device *dev) -@@ -928,9 +1022,12 @@ static int cpmac_open(struct net_device - desc->buflen = CPMAC_SKB_SIZE; - desc->dataflags = CPMAC_OWN; - desc->next = &priv->rx_head[(i + 1) % priv->ring_size]; -+ desc->next->prev = desc; - desc->hw_next = (u32)desc->next->mapping; - } - -+ priv->rx_head->prev->hw_next = (u32)0; -+ - if ((res = request_irq(dev->irq, cpmac_irq, IRQF_SHARED, - dev->name, dev))) { - if (netif_msg_drv(priv)) diff --git a/target/linux/ar7/patches-2.6.24/170-cpmac_eth_fix.patch b/target/linux/ar7/patches-2.6.24/170-cpmac_eth_fix.patch deleted file mode 100644 index bebd453cc1..0000000000 --- a/target/linux/ar7/patches-2.6.24/170-cpmac_eth_fix.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: linux-2.6.24.7/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/net/cpmac.c -+++ linux-2.6.24.7/drivers/net/cpmac.c -@@ -1178,9 +1178,7 @@ static int __devinit cpmac_probe(struct - priv->msg_enable = netif_msg_init(debug_level, 0xff); - memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); - -- snprintf(priv->phy_name, BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); -- -- priv->phy = phy_connect(dev, priv->phy_name, &cpmac_adjust_link, 0, -+ priv->phy = phy_connect(dev, cpmac_mii.phy_map[phy_id]->dev.bus_id, &cpmac_adjust_link, 0, - PHY_INTERFACE_MODE_MII); - if (IS_ERR(priv->phy)) { - if (netif_msg_drv(priv)) diff --git a/target/linux/ar7/patches-2.6.24/500-serial_kludge.patch b/target/linux/ar7/patches-2.6.24/500-serial_kludge.patch deleted file mode 100644 index a66bc8ad8d..0000000000 --- a/target/linux/ar7/patches-2.6.24/500-serial_kludge.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: linux-2.6.24.7/drivers/serial/8250.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/serial/8250.c -+++ linux-2.6.24.7/drivers/serial/8250.c -@@ -267,6 +267,13 @@ static const struct serial8250_config ua - .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, - .flags = UART_CAP_FIFO, - }, -+ [PORT_AR7] = { -+ .name = "TI-AR7", -+ .fifo_size = 16, -+ .tx_loadsz = 16, -+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00, -+ .flags = UART_CAP_FIFO | UART_CAP_AFE, -+ }, - }; - - #if defined (CONFIG_SERIAL_8250_AU1X00) -@@ -2453,7 +2460,11 @@ static void serial8250_console_putchar(s - { - struct uart_8250_port *up = (struct uart_8250_port *)port; - -+#ifdef CONFIG_AR7 -+ wait_for_xmitr(up, BOTH_EMPTY); -+#else - wait_for_xmitr(up, UART_LSR_THRE); -+#endif - serial_out(up, UART_TX, ch); - } - -Index: linux-2.6.24.7/include/linux/serial_core.h -=================================================================== ---- linux-2.6.24.7.orig/include/linux/serial_core.h -+++ linux-2.6.24.7/include/linux/serial_core.h -@@ -40,7 +40,8 @@ - #define PORT_NS16550A 14 - #define PORT_XSCALE 15 - #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */ --#define PORT_MAX_8250 16 /* max port ID */ -+#define PORT_AR7 17 -+#define PORT_MAX_8250 17 /* max port ID */ - - /* - * ARM specific type numbers. These are not currently guaranteed diff --git a/target/linux/ar7/patches-2.6.24/900-temporary_cpmac_hack.diff b/target/linux/ar7/patches-2.6.24/900-temporary_cpmac_hack.diff deleted file mode 100644 index dfd1a67479..0000000000 --- a/target/linux/ar7/patches-2.6.24/900-temporary_cpmac_hack.diff +++ /dev/null @@ -1,29 +0,0 @@ -Index: linux-2.6.24.7/drivers/net/cpmac.c -=================================================================== ---- linux-2.6.24.7.orig/drivers/net/cpmac.c -+++ linux-2.6.24.7/drivers/net/cpmac.c -@@ -936,7 +936,8 @@ static void cpmac_adjust_link(struct net - int new_state = 0; - - spin_lock(&priv->lock); -- if (priv->phy->link) { -+ if (1 /* priv->phy->link */ ) { -+ netif_carrier_on(dev); - netif_start_queue(dev); - if (priv->phy->duplex != priv->oldduplex) { - new_state = 1; -@@ -948,11 +949,11 @@ static void cpmac_adjust_link(struct net - priv->oldspeed = priv->phy->speed; - } - -- if (!priv->oldlink) { -+ /*if (!priv->oldlink) { - new_state = 1; -- priv->oldlink = 1; -+ priv->oldlink = 1;*/ - netif_schedule(dev); -- } -+ /*}*/ - } else if (priv->oldlink) { - netif_stop_queue(dev); - new_state = 1; diff --git a/target/linux/ar7/patches-2.6.25/100-board_support.patch b/target/linux/ar7/patches-2.6.25/100-board_support.patch deleted file mode 100644 index 658a80e511..0000000000 --- a/target/linux/ar7/patches-2.6.25/100-board_support.patch +++ /dev/null @@ -1,86 +0,0 @@ ---- a/arch/mips/Kconfig -+++ b/arch/mips/Kconfig -@@ -18,6 +18,24 @@ - prompt "System type" - default SGI_IP22 - -+config AR7 -+ bool "Texas Instruments AR7" -+ select BOOT_ELF32 -+ select DMA_NONCOHERENT -+ select CEVT_R4K -+ select CSRC_R4K -+ select IRQ_CPU -+ select NO_EXCEPT_FILL -+ select SWAP_IO_SPACE -+ select SYS_HAS_CPU_MIPS32_R1 -+ select SYS_HAS_EARLY_PRINTK -+ select SYS_SUPPORTS_32BIT_KERNEL -+ select SYS_SUPPORTS_KGDB -+ select SYS_SUPPORTS_LITTLE_ENDIAN -+ select SYS_SUPPORTS_BIG_ENDIAN -+ select GENERIC_GPIO -+ select GENERIC_HARDIRQS_NO__DO_IRQ -+ - config MACH_ALCHEMY - bool "Alchemy processor based machines" - ---- a/arch/mips/kernel/traps.c -+++ b/arch/mips/kernel/traps.c -@@ -1112,9 +1112,22 @@ - - exception_handlers[n] = handler; - if (n == 0 && cpu_has_divec) { -- *(u32 *)(ebase + 0x200) = 0x08000000 | -- (0x03ffffff & (handler >> 2)); -- flush_icache_range(ebase + 0x200, ebase + 0x204); -+ if ((handler ^ (ebase + 4)) & 0xfc000000) { -+ /* lui k0, 0x0000 */ -+ *(u32 *)(ebase + 0x200) = 0x3c1a0000 | (handler >> 16); -+ /* ori k0, 0x0000 */ -+ *(u32 *)(ebase + 0x204) = -+ 0x375a0000 | (handler & 0xffff); -+ /* jr k0 */ -+ *(u32 *)(ebase + 0x208) = 0x03400008; -+ /* nop */ -+ *(u32 *)(ebase + 0x20C) = 0x00000000; -+ flush_icache_range(ebase + 0x200, ebase + 0x210); -+ } else { -+ *(u32 *)(ebase + 0x200) = -+ 0x08000000 | (0x03ffffff & (handler >> 2)); -+ flush_icache_range(ebase + 0x200, ebase + 0x204); -+ } - } - return (void *)old_handler; - } ---- a/arch/mips/Makefile -+++ b/arch/mips/Makefile -@@ -167,6 +167,13 @@ - # - - # -+# Texas Instruments AR7 -+# -+core-$(CONFIG_AR7) += arch/mips/ar7/ -+cflags-$(CONFIG_AR7) += -Iinclude/asm-mips/ar7 -+load-$(CONFIG_AR7) += 0xffffffff94100000 -+ -+# - # Acer PICA 61, Mips Magnum 4000 and Olivetti M700. - # - core-$(CONFIG_MACH_JAZZ) += arch/mips/jazz/ ---- a/include/asm-mips/page.h -+++ b/include/asm-mips/page.h -@@ -182,8 +182,10 @@ - #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ - VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) - --#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE) --#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET) -+#define UNCAC_ADDR(addr) ((addr) - PAGE_OFFSET + UNCAC_BASE + \ -+ PHYS_OFFSET) -+#define CAC_ADDR(addr) ((addr) - UNCAC_BASE + PAGE_OFFSET - \ -+ PHYS_OFFSET) - - #include - #include diff --git a/target/linux/ar7/patches-2.6.25/110-flash.patch b/target/linux/ar7/patches-2.6.25/110-flash.patch deleted file mode 100644 index 5f6b8f1df8..0000000000 --- a/target/linux/ar7/patches-2.6.25/110-flash.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/drivers/mtd/Kconfig -+++ b/drivers/mtd/Kconfig -@@ -168,6 +168,12 @@ - the partition map from the children of the flash node, - as described in Documentation/powerpc/booting-without-of.txt. - -+config MTD_AR7_PARTS -+ tristate "TI AR7 partitioning support" -+ depends on MTD_PARTITIONS -+ ---help--- -+ TI AR7 partitioning support -+ - comment "User Modules And Translation Layers" - - config MTD_CHAR ---- a/drivers/mtd/Makefile -+++ b/drivers/mtd/Makefile -@@ -12,6 +12,7 @@ - obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o - obj-$(CONFIG_MTD_AFS_PARTS) += afs.o - obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o -+obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o - - # 'Users' - code which presents functionality to userspace. - obj-$(CONFIG_MTD_CHAR) += mtdchar.o ---- a/drivers/mtd/maps/physmap.c -+++ b/drivers/mtd/maps/physmap.c -@@ -87,7 +87,8 @@ - - static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL }; - #ifdef CONFIG_MTD_PARTITIONS --static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL }; -+static const char *part_probe_types[] = {"cmdlinepart", "RedBoot", -+ "ar7part", NULL }; - #endif - - static int physmap_flash_probe(struct platform_device *dev) diff --git a/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch b/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch deleted file mode 100644 index cd5d744de1..0000000000 --- a/target/linux/ar7/patches-2.6.25/120-gpio_chrdev.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/drivers/char/Kconfig -+++ b/drivers/char/Kconfig -@@ -913,6 +913,15 @@ - To compile this driver as a module, choose M here: the - module will be called mwave. - -+config AR7_GPIO -+ tristate "TI AR7 GPIO Support" -+ depends on AR7 -+ help -+ Give userspace access to the GPIO pins on the Texas Instruments AR7 -+ processors. -+ -+ If compiled as a module, it will be called ar7_gpio. -+ - config SCx200_GPIO - tristate "NatSemi SCx200 GPIO Support" - depends on SCx200 ---- a/drivers/char/Makefile -+++ b/drivers/char/Makefile -@@ -90,6 +90,7 @@ - obj-$(CONFIG_PPDEV) += ppdev.o - obj-$(CONFIG_NWBUTTON) += nwbutton.o - obj-$(CONFIG_NWFLASH) += nwflash.o -+obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o - obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o - obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o - obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o diff --git a/target/linux/ar7/patches-2.6.25/130-vlynq.patch b/target/linux/ar7/patches-2.6.25/130-vlynq.patch deleted file mode 100644 index f925258572..0000000000 --- a/target/linux/ar7/patches-2.6.25/130-vlynq.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/drivers/Kconfig -+++ b/drivers/Kconfig -@@ -97,4 +97,6 @@ - source "drivers/auxdisplay/Kconfig" - - source "drivers/uio/Kconfig" -+ -+source "drivers/vlynq/Kconfig" - endmenu ---- a/drivers/Makefile -+++ b/drivers/Makefile -@@ -91,5 +91,6 @@ - obj-$(CONFIG_HID) += hid/ - obj-$(CONFIG_PPC_PS3) += ps3/ - obj-$(CONFIG_OF) += of/ -+obj-$(CONFIG_VLYNQ) += vlynq/ - obj-$(CONFIG_SSB) += ssb/ - obj-$(CONFIG_VIRTIO) += virtio/ diff --git a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch b/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch deleted file mode 100644 index f6f29eb82a..0000000000 --- a/target/linux/ar7/patches-2.6.25/140-cpmac_fix.patch +++ /dev/null @@ -1,167 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - MODULE_AUTHOR("Eugene Konev "); - MODULE_DESCRIPTION("TI AR7 ethernet driver (CPMAC)"); -@@ -207,6 +208,7 @@ - struct work_struct reset_work; - struct platform_device *pdev; - struct napi_struct napi; -+ atomic_t reset_pending; - }; - - static irqreturn_t cpmac_irq(int, void *); -@@ -455,6 +457,9 @@ - struct cpmac_desc *desc; - struct cpmac_priv *priv = netdev_priv(dev); - -+ if (unlikely(atomic_read(&priv->reset_pending))) -+ return NETDEV_TX_BUSY; -+ - if (unlikely(skb_padto(skb, ETH_ZLEN))) - return NETDEV_TX_OK; - -@@ -634,14 +639,14 @@ - priv->desc_ring[i].dataflags = 0; - if (priv->desc_ring[i].skb) { - dev_kfree_skb_any(priv->desc_ring[i].skb); -- if (netif_subqueue_stopped(dev, i)) -- netif_wake_subqueue(dev, i); -+ priv->desc_ring[i].skb = NULL; - } - } - } - - static void cpmac_hw_error(struct work_struct *work) - { -+ int i; - struct cpmac_priv *priv = - container_of(work, struct cpmac_priv, reset_work); - -@@ -650,8 +655,47 @@ - spin_unlock(&priv->rx_lock); - cpmac_clear_tx(priv->dev); - cpmac_hw_start(priv->dev); -- napi_enable(&priv->napi); -- netif_start_queue(priv->dev); -+ barrier(); -+ atomic_dec(&priv->reset_pending); -+ -+ for (i = 0; i < CPMAC_QUEUES; i++) { -+ netif_wake_subqueue(priv->dev, i); -+ } -+ netif_wake_queue(priv->dev); -+ cpmac_write(priv->regs, CPMAC_MAC_INT_ENABLE, 3); -+} -+ -+static void cpmac_check_status(struct net_device *dev) -+{ -+ struct cpmac_priv *priv = netdev_priv(dev); -+ -+ u32 macstatus = cpmac_read(priv->regs, CPMAC_MAC_STATUS); -+ int rx_channel = (macstatus >> 8) & 7; -+ int rx_code = (macstatus >> 12) & 15; -+ int tx_channel = (macstatus >> 16) & 7; -+ int tx_code = (macstatus >> 20) & 15; -+ -+ if (rx_code || tx_code) { -+ if (netif_msg_drv(priv) && net_ratelimit()) { -+ /* Can't find any documentation on what these error codes actually are. -+ * So just log them and hope.. -+ */ -+ if (rx_code) -+ printk(KERN_WARNING "%s: host error %d on rx channel %d (macstatus %08x), resetting\n", -+ dev->name, rx_code, rx_channel, macstatus); -+ if (tx_code) -+ printk(KERN_WARNING "%s: host error %d on tx channel %d (macstatus %08x), resetting\n", -+ dev->name, tx_code, tx_channel, macstatus); -+ } -+ -+ netif_stop_queue(dev); -+ cpmac_hw_stop(dev); -+ if (schedule_work(&priv->reset_work)) -+ atomic_inc(&priv->reset_pending); -+ if (unlikely(netif_msg_hw(priv))) -+ cpmac_dump_regs(dev); -+ } -+ cpmac_write(priv->regs, CPMAC_MAC_INT_CLEAR, 0xff); - } - - static irqreturn_t cpmac_irq(int irq, void *dev_id) -@@ -682,49 +726,33 @@ - - cpmac_write(priv->regs, CPMAC_MAC_EOI_VECTOR, 0); - -- if (unlikely(status & (MAC_INT_HOST | MAC_INT_STATUS))) { -- if (netif_msg_drv(priv) && net_ratelimit()) -- printk(KERN_ERR "%s: hw error, resetting...\n", -- dev->name); -- netif_stop_queue(dev); -- napi_disable(&priv->napi); -- cpmac_hw_stop(dev); -- schedule_work(&priv->reset_work); -- if (unlikely(netif_msg_hw(priv))) -- cpmac_dump_regs(dev); -- } -+ if (unlikely(status & (MAC_INT_HOST | MAC_INT_STATUS))) -+ cpmac_check_status(dev); - - return IRQ_HANDLED; - } - - static void cpmac_tx_timeout(struct net_device *dev) - { -- struct cpmac_priv *priv = netdev_priv(dev); - int i; -+ struct cpmac_priv *priv = netdev_priv(dev); - - spin_lock(&priv->lock); - dev->stats.tx_errors++; - spin_unlock(&priv->lock); - if (netif_msg_tx_err(priv) && net_ratelimit()) - printk(KERN_WARNING "%s: transmit timeout\n", dev->name); -- /* -- * FIXME: waking up random queue is not the best thing to -- * do... on the other hand why we got here at all? -- */ --#ifdef CONFIG_NETDEVICES_MULTIQUEUE -- for (i = 0; i < CPMAC_QUEUES; i++) -- if (priv->desc_ring[i].skb) { -- priv->desc_ring[i].dataflags = 0; -- dev_kfree_skb_any(priv->desc_ring[i].skb); -- netif_wake_subqueue(dev, i); -- break; -- } --#else -- priv->desc_ring[0].dataflags = 0; -- if (priv->desc_ring[0].skb) -- dev_kfree_skb_any(priv->desc_ring[0].skb); -- netif_wake_queue(dev); --#endif -+ -+ atomic_inc(&priv->reset_pending); -+ barrier(); -+ cpmac_clear_tx(dev); -+ barrier(); -+ atomic_dec(&priv->reset_pending); -+ -+ netif_wake_queue(priv->dev); -+ for (i = 0; i < CPMAC_QUEUES; i++) { -+ netif_wake_subqueue(dev, i); -+ } - } - - static int cpmac_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) -@@ -911,6 +939,7 @@ - goto fail_irq; - } - -+ atomic_set(&priv->reset_pending, 0); - INIT_WORK(&priv->reset_work, cpmac_hw_error); - cpmac_hw_start(dev); - diff --git a/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch b/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch deleted file mode 100644 index 6444cac88d..0000000000 --- a/target/linux/ar7/patches-2.6.25/150-cpmac_not_broken.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/drivers/net/Kconfig -+++ b/drivers/net/Kconfig -@@ -1874,7 +1874,7 @@ - - config CPMAC - tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" -- depends on NET_ETHERNET && EXPERIMENTAL && AR7 && BROKEN -+ depends on NET_ETHERNET && EXPERIMENTAL && AR7 - select PHYLIB - help - TI AR7 CPMAC Ethernet support diff --git a/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff b/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff deleted file mode 100644 index f0f153bf33..0000000000 --- a/target/linux/ar7/patches-2.6.25/150-cpmac_up_and_running.diff +++ /dev/null @@ -1,91 +0,0 @@ -From 0daaa095cefd9d7091a7ccce2ff89f1ff4feae7a Mon Sep 17 00:00:00 2001 -From: Anton Vorontsov -Date: Wed, 5 Mar 2008 14:52:26 +0300 -Subject: [PATCH] AR7/cpmac: convert to new fixed phy infrastructure, now for real - -This patch converts platform code to register fixed phys early. -cpmac driver modified to blindly accept fixed phy id (that is equal -to platform device id). - -Signed-off-by: Anton Vorontsov ---- - arch/mips/ar7/platform.c | 17 +++++++++++++++++ - drivers/net/cpmac.c | 19 +++---------------- - 2 files changed, 20 insertions(+), 16 deletions(-) - ---- a/arch/mips/ar7/platform.c -+++ b/arch/mips/ar7/platform.c -@@ -33,6 +33,8 @@ - #include - #include - #include -+#include -+#include - - #include - #include -@@ -205,6 +207,13 @@ - .width = 2, - }; - -+/* lets assume this is suitable for both high and low cpmacs links */ -+static struct fixed_phy_status fixed_phy_status __initdata = { -+ .link = 1, -+ .speed = 100, -+ .duplex = 1, -+}; -+ - static struct plat_cpmac_data cpmac_low_data = { - .reset_bit = 17, - .power_bit = 20, -@@ -506,6 +515,10 @@ - } - - if (ar7_has_high_cpmac()) { -+ res = fixed_phy_add(PHY_POLL, cpmac_high.id, &fixed_phy_status); -+ if (res && res != -ENODEV) -+ return res; -+ - cpmac_get_mac(1, cpmac_high_data.dev_addr); - res = platform_device_register(&cpmac_high); - if (res) -@@ -514,6 +527,10 @@ - cpmac_low_data.phy_mask = 0xffffffff; - } - -+ res = fixed_phy_add(PHY_POLL, cpmac_low.id, &fixed_phy_status); -+ if (res && res != -ENODEV) -+ return res; -+ - cpmac_get_mac(0, cpmac_low_data.dev_addr); - res = platform_device_register(&cpmac_low); - if (res) ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -1035,23 +1035,10 @@ - - if (phy_id == PHY_MAX_ADDR) { - if (external_switch || dumb_switch) { -- struct fixed_phy_status status = {}; -- -- mdio_bus_id = 0; -- -- /* -- * FIXME: this should be in the platform code! -- * Since there is not platform code at all (that is, -- * no mainline users of that driver), place it here -- * for now. -- */ -- phy_id = 0; -- status.link = 1; -- status.duplex = 1; -- status.speed = 100; -- fixed_phy_add(PHY_POLL, phy_id, &status); -+ mdio_bus_id = 0; /* fixed phys bus */ -+ phy_id = pdev->id; - } else { -- printk(KERN_ERR "cpmac: no PHY present\n"); -+ dev_err(&pdev->dev, "no PHY present\n"); - return -ENODEV; - } - } diff --git a/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff b/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff deleted file mode 100644 index 24d70e7db8..0000000000 --- a/target/linux/ar7/patches-2.6.25/160-cpmac-rx-ring-use-eoq.diff +++ /dev/null @@ -1,178 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -187,6 +187,7 @@ - #define CPMAC_EOQ 0x1000 - struct sk_buff *skb; - struct cpmac_desc *next; -+ struct cpmac_desc *prev; - dma_addr_t mapping; - dma_addr_t data_mapping; - }; -@@ -242,6 +243,16 @@ - printk("\n"); - } - -+static void cpmac_dump_all_desc(struct net_device *dev) -+{ -+ struct cpmac_priv *priv = netdev_priv(dev); -+ struct cpmac_desc *dump = priv->rx_head; -+ do { -+ cpmac_dump_desc(dev, dump); -+ dump = dump->next; -+ } while (dump != priv->rx_head); -+} -+ - static void cpmac_dump_skb(struct net_device *dev, struct sk_buff *skb) - { - int i; -@@ -413,21 +424,40 @@ - static int cpmac_poll(struct napi_struct *napi, int budget) - { - struct sk_buff *skb; -- struct cpmac_desc *desc; -- int received = 0; -+ struct cpmac_desc *desc, *restart; - struct cpmac_priv *priv = container_of(napi, struct cpmac_priv, napi); -+ int received = 0, processed = 0; - - spin_lock(&priv->rx_lock); - if (unlikely(!priv->rx_head)) { - if (netif_msg_rx_err(priv) && net_ratelimit()) - printk(KERN_WARNING "%s: rx: polling, but no queue\n", - priv->dev->name); -+ spin_unlock(&priv->rx_lock); - netif_rx_complete(priv->dev, napi); - return 0; - } - - desc = priv->rx_head; -+ restart = NULL; - while (((desc->dataflags & CPMAC_OWN) == 0) && (received < budget)) { -+ processed++; -+ -+ if ((desc->dataflags & CPMAC_EOQ) != 0) { -+ /* The last update to eoq->hw_next didn't happen soon enough, and the -+ * receiver stopped here. Remember this descriptor so we can restart -+ * the receiver after freeing some space. -+ */ -+ if (unlikely(restart)) { -+ if (netif_msg_rx_err(priv)) -+ printk(KERN_ERR "%s: poll found a duplicate EOQ: %p and %p\n", -+ priv->dev->name, restart, desc); -+ goto fatal_error; -+ } -+ -+ restart = desc->next; -+ } -+ - skb = cpmac_rx_one(priv, desc); - if (likely(skb)) { - netif_receive_skb(skb); -@@ -436,19 +466,81 @@ - desc = desc->next; - } - -+ if (desc != priv->rx_head) { -+ /* We freed some buffers, but not the whole ring, add what we did free to the rx list */ -+ desc->prev->hw_next = (u32)0; -+ priv->rx_head->prev->hw_next = priv->rx_head->mapping; -+ } -+ -+ /* Optimization: If we did not actually process an EOQ (perhaps because of -+ * quota limits), check to see if the tail of the queue has EOQ set. We -+ * should immediately restart in that case so that the receiver can restart -+ * and run in parallel with more packet processing. This lets us handle slightly -+ * larger bursts before running out of ring space (assuming dev->weight < ring_size) -+ */ -+ if (!restart && -+ (priv->rx_head->prev->dataflags & (CPMAC_OWN|CPMAC_EOQ)) == CPMAC_EOQ && -+ (priv->rx_head->dataflags & CPMAC_OWN) != 0) { -+ /* reset EOQ so the poll loop (above) doesn't try to restart this when it -+ * eventually gets to this descriptor. -+ */ -+ priv->rx_head->prev->dataflags &= ~CPMAC_EOQ; -+ restart = priv->rx_head; -+ } -+ -+ if (restart) { -+ priv->dev->stats.rx_errors++; -+ priv->dev->stats.rx_fifo_errors++; -+ if (netif_msg_rx_err(priv) && net_ratelimit()) -+ printk(KERN_WARNING "%s: rx dma ring overrun\n", priv->dev->name); -+ -+ if (unlikely((restart->dataflags & CPMAC_OWN) == 0)) { -+ if (netif_msg_drv(priv)) -+ printk(KERN_ERR "%s: cpmac_poll is trying to restart rx from a descriptor that's not free: %p\n", -+ priv->dev->name, restart); -+ goto fatal_error; -+ } -+ -+ cpmac_write(priv->regs, CPMAC_RX_PTR(0), restart->mapping); -+ } -+ - priv->rx_head = desc; - spin_unlock(&priv->rx_lock); - if (unlikely(netif_msg_rx_status(priv))) - printk(KERN_DEBUG "%s: poll processed %d packets\n", - priv->dev->name, received); -- if (desc->dataflags & CPMAC_OWN) { -+ if (processed == 0) { -+ /* we ran out of packets to read, revert to interrupt-driven mode */ - netif_rx_complete(priv->dev, napi); -- cpmac_write(priv->regs, CPMAC_RX_PTR(0), (u32)desc->mapping); - cpmac_write(priv->regs, CPMAC_RX_INT_ENABLE, 1); - return 0; - } - - return 1; -+ -+fatal_error: -+ /* Something went horribly wrong. Reset hardware to try to recover rather than wedging. */ -+ -+ if (netif_msg_drv(priv)) { -+ printk(KERN_ERR "%s: cpmac_poll is confused. Resetting hardware\n", priv->dev->name); -+ cpmac_dump_all_desc(priv->dev); -+ printk(KERN_DEBUG "%s: RX_PTR(0)=0x%08x RX_ACK(0)=0x%08x\n", -+ priv->dev->name, -+ cpmac_read(priv->regs, CPMAC_RX_PTR(0)), -+ cpmac_read(priv->regs, CPMAC_RX_ACK(0))); -+ } -+ -+ spin_unlock(&priv->rx_lock); -+ netif_rx_complete(priv->dev, napi); -+ netif_stop_queue(priv->dev); -+ napi_disable(&priv->napi); -+ -+ atomic_inc(&priv->reset_pending); -+ cpmac_hw_stop(priv->dev); -+ if (!schedule_work(&priv->reset_work)) -+ atomic_dec(&priv->reset_pending); -+ return 0; -+ - } - - static int cpmac_start_xmit(struct sk_buff *skb, struct net_device *dev) -@@ -625,8 +717,10 @@ - desc->dataflags = CPMAC_OWN; - dev->stats.rx_dropped++; - } -+ desc->hw_next = desc->next->mapping; - desc = desc->next; - } -+ priv->rx_head->prev->hw_next = 0; - } - - static void cpmac_clear_tx(struct net_device *dev) -@@ -928,9 +1022,12 @@ - desc->buflen = CPMAC_SKB_SIZE; - desc->dataflags = CPMAC_OWN; - desc->next = &priv->rx_head[(i + 1) % priv->ring_size]; -+ desc->next->prev = desc; - desc->hw_next = (u32)desc->next->mapping; - } - -+ priv->rx_head->prev->hw_next = (u32)0; -+ - if ((res = request_irq(dev->irq, cpmac_irq, IRQF_SHARED, - dev->name, dev))) { - if (netif_msg_drv(priv)) diff --git a/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch b/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch deleted file mode 100644 index 0942b1ccc9..0000000000 --- a/target/linux/ar7/patches-2.6.25/170-cpmac_eth_fix.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -1178,9 +1178,7 @@ - priv->msg_enable = netif_msg_init(debug_level, 0xff); - memcpy(dev->dev_addr, pdata->dev_addr, sizeof(dev->dev_addr)); - -- snprintf(priv->phy_name, BUS_ID_SIZE, PHY_ID_FMT, mdio_bus_id, phy_id); -- -- priv->phy = phy_connect(dev, priv->phy_name, &cpmac_adjust_link, 0, -+ priv->phy = phy_connect(dev, cpmac_mii.phy_map[phy_id]->dev.bus_id, &cpmac_adjust_link, 0, - PHY_INTERFACE_MODE_MII); - if (IS_ERR(priv->phy)) { - if (netif_msg_drv(priv)) diff --git a/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch b/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch deleted file mode 100644 index 850a643024..0000000000 --- a/target/linux/ar7/patches-2.6.25/200-mtd_fixes.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/drivers/mtd/ar7part.c -+++ b/drivers/mtd/ar7part.c -@@ -34,6 +34,10 @@ - #define LOADER_MAGIC1 le32_to_cpu(0xfeedfa42) - #define LOADER_MAGIC2 le32_to_cpu(0xfeed1281) - -+#ifndef SQUASHFS_MAGIC -+#define SQUASHFS_MAGIC 0x73717368 -+#endif -+ - struct ar7_bin_rec { - unsigned int checksum; - unsigned int length; -@@ -47,7 +51,8 @@ - unsigned long origin) - { - struct ar7_bin_rec header; -- unsigned int offset, len; -+ unsigned int offset; -+ size_t len; - unsigned int pre_size = master->erasesize, post_size = 0; - unsigned int root_offset = ROOT_OFFSET; - -@@ -66,7 +71,7 @@ - do { /* Try 10 blocks starting from master->erasesize */ - offset = pre_size; - master->read(master, offset, -- sizeof(header), &len, (u8 *)&header); -+ sizeof(header), &len, (uint8_t *)&header); - if (!strncmp((char *)&header, "TIENV0.8", 8)) - ar7_parts[1].offset = pre_size; - if (header.checksum == LOADER_MAGIC1) -@@ -88,7 +93,7 @@ - while (header.length) { - offset += sizeof(header) + header.length; - master->read(master, offset, sizeof(header), -- &len, (u8 *)&header); -+ &len, (uint8_t *)&header); - } - root_offset = offset + sizeof(header) + 4; - break; -@@ -96,10 +101,10 @@ - while (header.length) { - offset += sizeof(header) + header.length; - master->read(master, offset, sizeof(header), -- &len, (u8 *)&header); -+ &len, (uint8_t *)&header); - } - root_offset = offset + sizeof(header) + 4 + 0xff; -- root_offset &= ~(u32)0xff; -+ root_offset &= ~(uint32_t)0xff; - break; - default: - printk(KERN_WARNING "Unknown magic: %08x\n", header.checksum); diff --git a/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch b/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch deleted file mode 100644 index 26b4b3e40f..0000000000 --- a/target/linux/ar7/patches-2.6.25/500-serial_kludge.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- a/drivers/serial/8250.c -+++ b/drivers/serial/8250.c -@@ -267,6 +267,13 @@ - .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, - .flags = UART_CAP_FIFO, - }, -+ [PORT_AR7] = { -+ .name = "TI-AR7", -+ .fifo_size = 16, -+ .tx_loadsz = 16, -+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00, -+ .flags = UART_CAP_FIFO | UART_CAP_AFE, -+ }, - }; - - #if defined (CONFIG_SERIAL_8250_AU1X00) -@@ -2457,7 +2464,11 @@ - { - struct uart_8250_port *up = (struct uart_8250_port *)port; - -+#ifdef CONFIG_AR7 -+ wait_for_xmitr(up, BOTH_EMPTY); -+#else - wait_for_xmitr(up, UART_LSR_THRE); -+#endif - serial_out(up, UART_TX, ch); - } - ---- a/include/linux/serial_core.h -+++ b/include/linux/serial_core.h -@@ -40,7 +40,8 @@ - #define PORT_NS16550A 14 - #define PORT_XSCALE 15 - #define PORT_RM9000 16 /* PMC-Sierra RM9xxx internal UART */ --#define PORT_MAX_8250 16 /* max port ID */ -+#define PORT_AR7 17 -+#define PORT_MAX_8250 17 /* max port ID */ - - /* - * ARM specific type numbers. These are not currently guaranteed diff --git a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff b/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff deleted file mode 100644 index 7da22cd99c..0000000000 --- a/target/linux/ar7/patches-2.6.25/900-temporary_cpmac_hack.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/net/cpmac.c -+++ b/drivers/net/cpmac.c -@@ -936,7 +936,8 @@ - int new_state = 0; - - spin_lock(&priv->lock); -- if (priv->phy->link) { -+ if (1 /* priv->phy->link */) { -+ netif_carrier_on(dev); - netif_start_queue(dev); - if (priv->phy->duplex != priv->oldduplex) { - new_state = 1; -@@ -948,11 +949,11 @@ - priv->oldspeed = priv->phy->speed; - } - -- if (!priv->oldlink) { -+ /*if (!priv->oldlink) { - new_state = 1; -- priv->oldlink = 1; -+ priv->oldlink = 1;*/ - netif_schedule(dev); -- } -+ /*}*/ - } else if (priv->oldlink) { - netif_stop_queue(dev); - new_state = 1; diff --git a/target/linux/at91/config-2.6.21 b/target/linux/at91/config-2.6.21 deleted file mode 100644 index dc402dc913..0000000000 --- a/target/linux/at91/config-2.6.21 +++ /dev/null @@ -1,299 +0,0 @@ -# CONFIG_AEABI is not set -CONFIG_ALIGNMENT_TRAP=y -# CONFIG_ARCH_AAEC2000 is not set -CONFIG_ARCH_AT91=y -CONFIG_ARCH_AT91RM9200=y -# CONFIG_ARCH_AT91RM9200DK is not set -# CONFIG_ARCH_AT91SAM9260 is not set -# CONFIG_ARCH_AT91SAM9261 is not set -# CONFIG_ARCH_AT91SAM9263 is not set -# CONFIG_ARCH_AT91SAM9RL is not set -# CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_CLPS7500 is not set -# CONFIG_ARCH_CO285 is not set -# CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set -# CONFIG_ARCH_EBSA110 is not set -# CONFIG_ARCH_EP93XX is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_H720X is not set -# CONFIG_ARCH_HAS_ILOG2_U32 is not set -# CONFIG_ARCH_HAS_ILOG2_U64 is not set -# CONFIG_ARCH_IMX is not set -# CONFIG_ARCH_INTEGRATOR is not set -# CONFIG_ARCH_IOP13XX is not set -# CONFIG_ARCH_IOP32X is not set -# CONFIG_ARCH_IOP33X is not set -# CONFIG_ARCH_IXP2000 is not set -# CONFIG_ARCH_IXP23XX is not set -# CONFIG_ARCH_IXP4XX is not set -# CONFIG_ARCH_L7200 is not set -# CONFIG_ARCH_LH7A40X is not set -# CONFIG_ARCH_NETX is not set -# CONFIG_ARCH_NS9XXX is not set -# CONFIG_ARCH_OMAP is not set -# CONFIG_ARCH_PNX4008 is not set -# CONFIG_ARCH_PXA is not set -# CONFIG_ARCH_REALVIEW is not set -# CONFIG_ARCH_RPC is not set -# CONFIG_ARCH_S3C2410 is not set -# CONFIG_ARCH_SA1100 is not set -# CONFIG_ARCH_SHARK is not set -# CONFIG_ARCH_VERSATILE is not set -CONFIG_ARM=y -CONFIG_ARM_AT91_ETHER=y -CONFIG_ARM_THUMB=y -# CONFIG_ARPD is not set -# CONFIG_ARTHUR is not set -# CONFIG_AT91_PROGRAMMABLE_CLOCKS is not set -CONFIG_AT91_SPI=y -# CONFIG_AT91_SPIDEV is not set -CONFIG_AT91_VLIO=y -# CONFIG_ATMEL_TCLIB is not set -# CONFIG_ATM_DUMMY is not set -# CONFIG_ATM_TCP is not set -CONFIG_BASE_SMALL=0 -# CONFIG_BINFMT_AOUT is not set -CONFIG_BITREVERSE=y -# CONFIG_BLK_DEV_LOOP is not set -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 -CONFIG_BLK_DEV_RAM_COUNT=16 -CONFIG_BLK_DEV_RAM_SIZE=4096 -# CONFIG_BONDING is not set -# CONFIG_BROADCOM_PHY is not set -# CONFIG_BSD_DISKLABEL is not set -# CONFIG_BSD_PROCESS_ACCT is not set -# CONFIG_BT is not set -# CONFIG_CIFS_STATS is not set -# CONFIG_CLS_U32_MARK is not set -# CONFIG_CLS_U32_PERF is not set -# CONFIG_CONFIGFS_FS is not set -CONFIG_CPU_32=y -CONFIG_CPU_32v4T=y -CONFIG_CPU_ABRT_EV4T=y -CONFIG_CPU_ARM920T=y -CONFIG_CPU_CACHE_V4WT=y -CONFIG_CPU_CACHE_VIVT=y -CONFIG_CPU_COPY_V4WB=y -CONFIG_CPU_CP15=y -CONFIG_CPU_CP15_MMU=y -# CONFIG_CPU_DCACHE_DISABLE is not set -# CONFIG_CPU_DCACHE_WRITETHROUGH is not set -# CONFIG_CPU_ICACHE_DISABLE is not set -CONFIG_CPU_TLB_V4WBI=y -# CONFIG_CRYPTO_ANUBIS is not set -# CONFIG_CRYPTO_BLKCIPHER is not set -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -# CONFIG_CRYPTO_CBC is not set -# CONFIG_CRYPTO_CRC32C is not set -# CONFIG_CRYPTO_DES is not set -CONFIG_CRYPTO_HASH=y -CONFIG_CRYPTO_HMAC=y -# CONFIG_CRYPTO_KHAZAD is not set -# CONFIG_CRYPTO_MD4 is not set -# CONFIG_CRYPTO_MD5 is not set -# CONFIG_CRYPTO_NULL is not set -# CONFIG_CRYPTO_SERPENT is not set -# CONFIG_CRYPTO_SHA256 is not set -# CONFIG_CRYPTO_SHA512 is not set -# CONFIG_CRYPTO_TEA is not set -# CONFIG_CRYPTO_TEST is not set -# CONFIG_CRYPTO_TGR192 is not set -# CONFIG_CRYPTO_TWOFISH is not set -# CONFIG_CRYPTO_WP512 is not set -CONFIG_DAVICOM_PHY=y -# CONFIG_DEBUG_BUGVERBOSE is not set -# CONFIG_DEBUG_USER is not set -# CONFIG_DM9000 is not set -CONFIG_DUMMY_CONSOLE=y -# CONFIG_FIXED_PHY is not set -# CONFIG_FPE_FASTFPE is not set -CONFIG_FPE_NWFPE=y -# CONFIG_FPE_NWFPE_XP is not set -CONFIG_FRAME_POINTER=y -CONFIG_FS_POSIX_ACL=y -# CONFIG_FW_LOADER is not set -CONFIG_GENERIC_GPIO=y -# CONFIG_GENERIC_TIME is not set -CONFIG_HARDIRQS_SW_RESEND=y -CONFIG_HAS_IOMEM=y -CONFIG_HAS_IOPORT=y -CONFIG_HID=y -CONFIG_HW_CONSOLE=y -# CONFIG_HW_RANDOM is not set -# CONFIG_I2C is not set -# CONFIG_IEEE80211 is not set -# CONFIG_IKCONFIG is not set -# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set -CONFIG_INITRAMFS_SOURCE="" -CONFIG_INPUT=y -# CONFIG_INPUT_EVDEV is not set -CONFIG_INPUT_MOUSEDEV=y -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set -CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 -CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 -# CONFIG_IP6_NF_MATCH_FRAG is not set -# CONFIG_IP6_NF_MATCH_HL is not set -# CONFIG_IP6_NF_MATCH_IPV6HEADER is not set -# CONFIG_IP6_NF_MATCH_OPTS is not set -# CONFIG_IP6_NF_MATCH_RT is not set -# CONFIG_IP6_NF_RAW is not set -# CONFIG_IP6_NF_TARGET_HL is not set -# CONFIG_IP6_NF_TARGET_LOG is not set -# CONFIG_IP_DCCP is not set -# CONFIG_IP_NF_ARPTABLES is not set -# CONFIG_IP_NF_MATCH_ADDRTYPE is not set -# CONFIG_IP_NF_TARGET_LOG is not set -# CONFIG_IP_NF_TARGET_NETMAP is not set -# CONFIG_IP_NF_TARGET_SAME is not set -# CONFIG_IP_ROUTE_VERBOSE is not set -CONFIG_JFFS2_FS_DEBUG=0 -CONFIG_LEDS=y -CONFIG_LEDS_CPU=y -CONFIG_LEDS_TIMER=y -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=32 -# CONFIG_LIBCRC32C is not set -# CONFIG_LLC2 is not set -# CONFIG_MACH_AT91RM9200EK is not set -# CONFIG_MACH_ATEB9200 is not set -# CONFIG_MACH_CARMEVA is not set -# CONFIG_MACH_CHUB is not set -# CONFIG_MACH_CSB337 is not set -# CONFIG_MACH_CSB637 is not set -# CONFIG_MACH_KAFA is not set -# CONFIG_MACH_KB9200 is not set -# CONFIG_MACH_ONEARM is not set -CONFIG_MACH_VLINK=y -# CONFIG_MMC is not set -# CONFIG_MMC_AT91 is not set -# CONFIG_MMC_BLOCK is not set -# CONFIG_MMC_DEBUG is not set -CONFIG_MTD=y -# CONFIG_MTD_ABSENT is not set -# CONFIG_MTD_AFS_PARTS is not set -CONFIG_MTD_AT91_DATAFLASH=y -CONFIG_MTD_AT91_PARTS=y -CONFIG_MTD_BLKDEVS=y -CONFIG_MTD_BLOCK=y -# CONFIG_MTD_BLOCK2MTD is not set -# CONFIG_MTD_CFI is not set -CONFIG_MTD_CFI_I1=y -CONFIG_MTD_CFI_I2=y -# CONFIG_MTD_CFI_I4 is not set -# CONFIG_MTD_CFI_I8 is not set -CONFIG_MTD_CHAR=y -CONFIG_MTD_CMDLINE_PARTS=y -# CONFIG_MTD_COMPLEX_MAPPINGS is not set -# CONFIG_MTD_CONCAT is not set -# CONFIG_MTD_DEBUG is not set -# CONFIG_MTD_DOC2000 is not set -# CONFIG_MTD_DOC2001 is not set -# CONFIG_MTD_DOC2001PLUS is not set -# CONFIG_MTD_JEDECPROBE is not set -CONFIG_MTD_MAP_BANK_WIDTH_1=y -# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set -CONFIG_MTD_MAP_BANK_WIDTH_2=y -# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set -CONFIG_MTD_MAP_BANK_WIDTH_4=y -# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set -# CONFIG_MTD_MTDRAM is not set -# CONFIG_MTD_OBSOLETE_CHIPS is not set -# CONFIG_MTD_ONENAND is not set -CONFIG_MTD_PARTITIONS=y -# CONFIG_MTD_PHRAM is not set -# CONFIG_MTD_PLATRAM is not set -# CONFIG_MTD_RAM is not set -# CONFIG_MTD_REDBOOT_PARTS is not set -# CONFIG_MTD_ROM is not set -# CONFIG_MTD_ROOTFS_ROOT_DEV is not set -# CONFIG_MTD_ROOTFS_SPLIT is not set -# CONFIG_MTD_SLRAM is not set -# CONFIG_NET_EMATCH is not set -# CONFIG_NET_IPGRE_BROADCAST is not set -# CONFIG_NET_PKTGEN is not set -# CONFIG_NET_RADIO is not set -CONFIG_NET_SCH_FIFO=y -# CONFIG_NET_SCH_NETEM is not set -# CONFIG_NEW_LEDS is not set -# CONFIG_NO_IDLE_HZ is not set -# CONFIG_NO_IOPORT is not set -# CONFIG_NVRAM is not set -# CONFIG_OUTER_CACHE is not set -CONFIG_PHYLIB=y -# CONFIG_PNPACPI is not set -# CONFIG_PPPOATM is not set -# CONFIG_PPP_MULTILINK is not set -# CONFIG_PPP_SYNC_TTY is not set -# CONFIG_QSEMI_PHY is not set -# CONFIG_ROMFS_FS is not set -CONFIG_RTC_LIB=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -# CONFIG_SCSI_MULTI_LUN is not set -# CONFIG_SERIAL_8250 is not set -CONFIG_SERIAL_ATMEL=y -CONFIG_SERIAL_ATMEL_CONSOLE=y -# CONFIG_SERIAL_ATMEL_TTYAT is not set -CONFIG_SERIO=y -# CONFIG_SERIO_LIBPS2 is not set -CONFIG_SERIO_RAW=y -CONFIG_SERIO_SERPORT=y -# CONFIG_SMC91X is not set -# CONFIG_SMSC_PHY is not set -# CONFIG_SOUND is not set -# CONFIG_SPARSEMEM_STATIC is not set -CONFIG_SPLIT_PTLOCK_CPUS=4096 -CONFIG_SYSVIPC_SYSCTL=y -CONFIG_SYS_SUPPORTS_APM_EMULATION=y -CONFIG_UID16=y -# CONFIG_UNUSED_SYMBOLS is not set -# CONFIG_USB_ARCH_HAS_EHCI is not set -# CONFIG_USB_ATM is not set -# CONFIG_USB_CATC is not set -# CONFIG_USB_GTCO is not set -# CONFIG_USB_KAWETH is not set -CONFIG_USB_MON=y -# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set -# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set -# CONFIG_USB_OHCI_HCD is not set -# CONFIG_USB_PEGASUS is not set -# CONFIG_USB_PRINTER is not set -# CONFIG_USB_SERIAL_EDGEPORT is not set -# CONFIG_USB_SERIAL_EDGEPORT_TI is not set -# CONFIG_USB_SERIAL_FUNSOFT is not set -# CONFIG_USB_SERIAL_GARMIN is not set -# CONFIG_USB_SERIAL_IPAQ is not set -# CONFIG_USB_SERIAL_IPW is not set -# CONFIG_USB_SERIAL_IR is not set -# CONFIG_USB_SERIAL_KEYSPAN is not set -# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set -# CONFIG_USB_SERIAL_KLSI is not set -# CONFIG_USB_SERIAL_KOBIL_SCT is not set -# CONFIG_USB_SERIAL_MCT_U232 is not set -# CONFIG_USB_SERIAL_OMNINET is not set -# CONFIG_USB_SERIAL_SAFE is not set -# CONFIG_USB_SERIAL_VISOR is not set -# CONFIG_USB_STORAGE_ALAUDA is not set -# CONFIG_USB_STORAGE_DATAFAB is not set -# CONFIG_USB_STORAGE_DPCM is not set -# CONFIG_USB_STORAGE_FREECOM is not set -# CONFIG_USB_STORAGE_JUMPSHOT is not set -# CONFIG_USB_STORAGE_KARMA is not set -# CONFIG_USB_STORAGE_SDDR09 is not set -# CONFIG_USB_STORAGE_SDDR55 is not set -# CONFIG_USB_STORAGE_USBAT is not set -# CONFIG_USB_USBNET is not set -# CONFIG_USB_USBNET_MII is not set -# CONFIG_USB_YEALINK is not set -CONFIG_VECTORS_BASE=0xffff0000 -# CONFIG_VGA_CONSOLE is not set -CONFIG_VT=y -CONFIG_VT_CONSOLE=y -# CONFIG_VT_HW_CONSOLE_BINDING is not set -# CONFIG_WATCHDOG is not set -# CONFIG_XIP_KERNEL is not set -CONFIG_ZBOOT_ROM_BSS=0x0 -CONFIG_ZBOOT_ROM_TEXT=0x0 diff --git a/target/linux/at91/patches-2.6.21/000-at91patches.patch b/target/linux/at91/patches-2.6.21/000-at91patches.patch deleted file mode 100644 index 09cdcf7cb3..0000000000 --- a/target/linux/at91/patches-2.6.21/000-at91patches.patch +++ /dev/null @@ -1,10403 +0,0 @@ -Index: linux-2.6.21.7/arch/arm/boot/compressed/head-at91rm9200.S -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/boot/compressed/head-at91rm9200.S -+++ linux-2.6.21.7/arch/arm/boot/compressed/head-at91rm9200.S -@@ -67,6 +67,12 @@ - cmp r7, r3 - beq 99f - -+ @ Promwad Chub : 1181 -+ mov r3, #(MACH_TYPE_CHUB & 0xff) -+ orr r3, r3, #(MACH_TYPE_CHUB & 0xff00) -+ cmp r7, r3 -+ beq 99f -+ - @ Unknown board, use the AT91RM9200DK board - @ mov r7, #MACH_TYPE_AT91RM9200 - mov r7, #(MACH_TYPE_AT91RM9200DK & 0xff) -Index: linux-2.6.21.7/arch/arm/mach-at91/Kconfig -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/Kconfig -+++ linux-2.6.21.7/arch/arm/mach-at91/Kconfig -@@ -17,6 +17,9 @@ config ARCH_AT91SAM9261 - config ARCH_AT91SAM9263 - bool "AT91SAM9263" - -+config ARCH_AT91SAM9RL -+ bool "AT91SAM9RL" -+ - endchoice - - # ---------------------------------------------------------- -@@ -87,6 +90,12 @@ config MACH_KAFA - help - Select this if you are using Sperry-Sun's KAFA board. - -+config MACH_CHUB -+ bool "Promwad Chub board" -+ depends on ARCH_AT91RM9200 -+ help -+ Select this if you are using Promwad's Chub board. -+ - endif - - # ---------------------------------------------------------- -@@ -111,6 +120,13 @@ config MACH_AT91SAM9260EK - Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit - - -+config MACH_CAM60 -+ bool "KwikByte CAM60 board" -+ depends on ARCH_AT91SAM9260 -+ help -+ Select this if you are using KwikByte's CAM60 board based on the Atmel AT91SAM9260. -+ -+ - endif - - # ---------------------------------------------------------- -@@ -145,6 +161,20 @@ endif - - # ---------------------------------------------------------- - -+if ARCH_AT91SAM9RL -+ -+comment "AT91SAM9RL Board Type" -+ -+config MACH_AT91SAM9RLEK -+ bool "Atmel AT91SAM9RL-EK Evaluation Kit" -+ depends on ARCH_AT91SAM9RL -+ help -+ Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit. -+ -+endif -+ -+# ---------------------------------------------------------- -+ - comment "AT91 Board Options" - - config MTD_AT91_DATAFLASH_CARD -@@ -160,6 +190,20 @@ config MTD_NAND_AT91_BUSWIDTH_16 - On AT91SAM926x boards both types of NAND flash can be present - (8 and 16 bit data bus width). - -+config CSB300_WAKE_SW0 -+ bool "CSB300 SW0 irq0 wakeup" -+ depends on MACH_CSB337 && PM -+ help -+ If you have a CSB300 connected to your CSB337, this lets -+ SW0 serve as a wakeup button. It uses IRQ0. -+ -+config CSB300_WAKE_SW1 -+ bool "CSB300 SW1 gpio wakeup" -+ depends on MACH_CSB337 && PM -+ help -+ If you have a CSB300 connected to your CSB337, this lets -+ SW1 serve as a wakeup button. It uses GPIO. -+ - # ---------------------------------------------------------- - - comment "AT91 Feature Selections" -@@ -170,6 +214,20 @@ config AT91_PROGRAMMABLE_CLOCKS - Select this if you need to program one or more of the PCK0..PCK3 - programmable clock outputs. - -+config ATMEL_TCLIB -+ bool "Timer/Counter Library" -+ help -+ Select this if you want a library to allocate the Timer/Counter -+ blocks found on many Atmel processors. This facilitates using -+ these modules despite processor differences. -+ -+config AT91_SLOW_CLOCK -+ bool "Suspend-to-RAM uses slow clock mode (EXPERIMENTAL)" -+ depends on PM && EXPERIMENTAL -+ help -+ Select this if you wish to put the CPU into slow clock mode -+ while in the "Suspend to RAM" state, to save more power. -+ - endmenu - - endif -Index: linux-2.6.21.7/arch/arm/mach-at91/Makefile -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/Makefile -+++ linux-2.6.21.7/arch/arm/mach-at91/Makefile -@@ -8,12 +8,15 @@ obj-n := - obj- := - - obj-$(CONFIG_PM) += pm.o -+obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o -+obj-$(CONFIG_ATMEL_TCLIB) += tclib.o - - # CPU-specific support - obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o - obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260.o at91sam926x_time.o at91sam9260_devices.o - obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261.o at91sam926x_time.o at91sam9261_devices.o - obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263.o at91sam926x_time.o at91sam9263_devices.o -+obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl.o at91sam926x_time.o at91sam9rl_devices.o - - # AT91RM9200 board-specific support - obj-$(CONFIG_MACH_ONEARM) += board-1arm.o -@@ -25,9 +28,11 @@ obj-$(CONFIG_MACH_CARMEVA) += board-carm - obj-$(CONFIG_MACH_KB9200) += board-kb9202.o - obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o - obj-$(CONFIG_MACH_KAFA) += board-kafa.o -+obj-$(CONFIG_MACH_CHUB) += board-chub.o - - # AT91SAM9260 board-specific support - obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o -+obj-$(CONFIG_MACH_CAM60) += board-cam60.o - - # AT91SAM9261 board-specific support - obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o -@@ -35,9 +40,13 @@ obj-$(CONFIG_MACH_AT91SAM9261EK) += boar - # AT91SAM9263 board-specific support - obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o - -+# AT91SAM9RL board-specific support -+obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o -+ - # LEDs support - led-$(CONFIG_ARCH_AT91RM9200DK) += leds.o - led-$(CONFIG_MACH_AT91RM9200EK) += leds.o -+led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o - led-$(CONFIG_MACH_CSB337) += leds.o - led-$(CONFIG_MACH_CSB637) += leds.o - led-$(CONFIG_MACH_KB9200) += leds.o -@@ -45,7 +54,7 @@ led-$(CONFIG_MACH_KAFA) += leds.o - obj-$(CONFIG_LEDS) += $(led-y) - - # VGA support --#obj-$(CONFIG_FB_S1D13XXX) += ics1523.o -+obj-$(CONFIG_FB_S1D13XXX) += ics1523.o - - - ifeq ($(CONFIG_PM_DEBUG),y) -Index: linux-2.6.21.7/arch/arm/mach-at91/at91rm9200.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91rm9200.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91rm9200.c -@@ -117,6 +117,21 @@ static struct clk pioD_clk = { - .pmc_mask = 1 << AT91RM9200_ID_PIOD, - .type = CLK_TYPE_PERIPHERAL, - }; -+static struct clk ssc0_clk = { -+ .name = "ssc0_clk", -+ .pmc_mask = 1 << AT91RM9200_ID_SSC0, -+ .type = CLK_TYPE_PERIPHERAL, -+}; -+static struct clk ssc1_clk = { -+ .name = "ssc1_clk", -+ .pmc_mask = 1 << AT91RM9200_ID_SSC1, -+ .type = CLK_TYPE_PERIPHERAL, -+}; -+static struct clk ssc2_clk = { -+ .name = "ssc2_clk", -+ .pmc_mask = 1 << AT91RM9200_ID_SSC2, -+ .type = CLK_TYPE_PERIPHERAL, -+}; - static struct clk tc0_clk = { - .name = "tc0_clk", - .pmc_mask = 1 << AT91RM9200_ID_TC0, -@@ -161,7 +176,9 @@ static struct clk *periph_clocks[] __ini - &udc_clk, - &twi_clk, - &spi_clk, -- // ssc 0 .. ssc2 -+ &ssc0_clk, -+ &ssc1_clk, -+ &ssc2_clk, - &tc0_clk, - &tc1_clk, - &tc2_clk, -@@ -250,6 +267,33 @@ static void at91rm9200_reset(void) - - - /* -------------------------------------------------------------------- -+ * Timer/Counter library initialization -+ * -------------------------------------------------------------------- */ -+#ifdef CONFIG_ATMEL_TCLIB -+ -+#include "tclib.h" -+ -+static struct atmel_tcblock at91rm9200_tcblocks[] = { -+ [0] = { -+ .physaddr = AT91RM9200_BASE_TCB0, -+ .irq = { AT91RM9200_ID_TC0, AT91RM9200_ID_TC1, AT91RM9200_ID_TC2 }, -+ .clk = { &tc0_clk, &tc1_clk, &tc2_clk }, -+ }, -+ [1] = { -+ .physaddr = AT91RM9200_BASE_TCB1, -+ .irq = { AT91RM9200_ID_TC3, AT91RM9200_ID_TC4, AT91RM9200_ID_TC5 }, -+ .clk = { &tc3_clk, &tc4_clk, &tc5_clk }, -+ }, -+}; -+ -+#define at91rm9200_tc_init() atmel_tc_init(at91rm9200_tcblocks, ARRAY_SIZE(at91rm9200_tcblocks)) -+ -+#else -+#define at91rm9200_tc_init() do {} while(0) -+#endif -+ -+ -+/* -------------------------------------------------------------------- - * AT91RM9200 processor initialization - * -------------------------------------------------------------------- */ - void __init at91rm9200_initialize(unsigned long main_clock, unsigned short banks) -@@ -271,6 +315,9 @@ void __init at91rm9200_initialize(unsign - - /* Initialize GPIO subsystem */ - at91_gpio_init(at91rm9200_gpio, banks); -+ -+ /* Initialize the Timer/Counter blocks */ -+ at91rm9200_tc_init(); - } - - -@@ -284,28 +331,28 @@ void __init at91rm9200_initialize(unsign - static unsigned int at91rm9200_default_irq_priority[NR_AIC_IRQS] __initdata = { - 7, /* Advanced Interrupt Controller (FIQ) */ - 7, /* System Peripherals */ -- 0, /* Parallel IO Controller A */ -- 0, /* Parallel IO Controller B */ -- 0, /* Parallel IO Controller C */ -- 0, /* Parallel IO Controller D */ -- 6, /* USART 0 */ -- 6, /* USART 1 */ -- 6, /* USART 2 */ -- 6, /* USART 3 */ -+ 1, /* Parallel IO Controller A */ -+ 1, /* Parallel IO Controller B */ -+ 1, /* Parallel IO Controller C */ -+ 1, /* Parallel IO Controller D */ -+ 5, /* USART 0 */ -+ 5, /* USART 1 */ -+ 5, /* USART 2 */ -+ 5, /* USART 3 */ - 0, /* Multimedia Card Interface */ -- 4, /* USB Device Port */ -- 0, /* Two-Wire Interface */ -- 6, /* Serial Peripheral Interface */ -- 5, /* Serial Synchronous Controller 0 */ -- 5, /* Serial Synchronous Controller 1 */ -- 5, /* Serial Synchronous Controller 2 */ -+ 2, /* USB Device Port */ -+ 6, /* Two-Wire Interface */ -+ 5, /* Serial Peripheral Interface */ -+ 4, /* Serial Synchronous Controller 0 */ -+ 4, /* Serial Synchronous Controller 1 */ -+ 4, /* Serial Synchronous Controller 2 */ - 0, /* Timer Counter 0 */ - 0, /* Timer Counter 1 */ - 0, /* Timer Counter 2 */ - 0, /* Timer Counter 3 */ - 0, /* Timer Counter 4 */ - 0, /* Timer Counter 5 */ -- 3, /* USB Host port */ -+ 2, /* USB Host port */ - 3, /* Ethernet MAC */ - 0, /* Advanced Interrupt Controller (IRQ0) */ - 0, /* Advanced Interrupt Controller (IRQ1) */ -Index: linux-2.6.21.7/arch/arm/mach-at91/at91rm9200_devices.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91rm9200_devices.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91rm9200_devices.c -@@ -480,7 +480,18 @@ void __init at91_add_device_i2c(void) {} - * SPI - * -------------------------------------------------------------------- */ - --#if defined(CONFIG_SPI_AT91) || defined(CONFIG_SPI_AT91_MODULE) || defined(CONFIG_AT91_SPI) || defined(CONFIG_AT91_SPI_MODULE) -+#if defined(CONFIG_AT91_SPI) || defined(CONFIG_AT91_SPI_MODULE) /* legacy SPI driver */ -+#define SPI_DEVNAME "at91_spi" -+ -+#elif defined(CONFIG_SPI_AT91) || defined(CONFIG_SPI_AT91_MODULE) /* SPI bitbanging driver */ -+#define SPI_DEVNAME "at91_spi" -+ -+#elif defined(CONFIG_SPI_ATMEL) || defined(CONFIG_SPI_ATMEL_MODULE) /* new SPI driver */ -+#define SPI_DEVNAME "atmel_spi" -+ -+#endif -+ -+#ifdef SPI_DEVNAME - static u64 spi_dmamask = 0xffffffffUL; - - static struct resource spi_resources[] = { -@@ -497,7 +508,7 @@ static struct resource spi_resources[] = - }; - - static struct platform_device at91rm9200_spi_device = { -- .name = "at91_spi", -+ .name = SPI_DEVNAME, - .id = 0, - .dev = { - .dma_mask = &spi_dmamask, -@@ -606,6 +617,32 @@ void __init at91_init_leds(u8 cpu_led, u - #endif - - -+#if defined(CONFIG_NEW_LEDS) -+ -+static struct platform_device at91_leds = { -+ .name = "at91_leds", -+ .id = -1, -+}; -+ -+void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr) -+{ -+ if (!nr) -+ return; -+ -+ at91_leds.dev.platform_data = leds; -+ -+ for ( ; nr; nr--, leds++) { -+ leds->index = nr; /* first record stores number of leds */ -+ at91_set_gpio_output(leds->gpio, (leds->flags & 1) == 0); -+ } -+ -+ platform_device_register(&at91_leds); -+} -+#else -+void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr) {} -+#endif -+ -+ - /* -------------------------------------------------------------------- - * UART - * -------------------------------------------------------------------- */ -Index: linux-2.6.21.7/arch/arm/mach-at91/at91sam9260.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91sam9260.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91sam9260.c -@@ -119,6 +119,11 @@ static struct clk spi1_clk = { - .pmc_mask = 1 << AT91SAM9260_ID_SPI1, - .type = CLK_TYPE_PERIPHERAL, - }; -+static struct clk ssc_clk = { -+ .name = "ssc_clk", -+ .pmc_mask = 1 << AT91SAM9260_ID_SSC, -+ .type = CLK_TYPE_PERIPHERAL, -+}; - static struct clk tc0_clk = { - .name = "tc0_clk", - .pmc_mask = 1 << AT91SAM9260_ID_TC0, -@@ -193,7 +198,7 @@ static struct clk *periph_clocks[] __ini - &twi_clk, - &spi0_clk, - &spi1_clk, -- // ssc -+ &ssc_clk, - &tc0_clk, - &tc1_clk, - &tc2_clk, -@@ -264,6 +269,33 @@ static void at91sam9260_reset(void) - - - /* -------------------------------------------------------------------- -+ * Timer/Counter library initialization -+ * -------------------------------------------------------------------- */ -+#ifdef CONFIG_ATMEL_TCLIB -+ -+#include "tclib.h" -+ -+static struct atmel_tcblock at91sam9260_tcblocks[] = { -+ [0] = { -+ .physaddr = AT91SAM9260_BASE_TCB0, -+ .irq = { AT91SAM9260_ID_TC0, AT91SAM9260_ID_TC1, AT91SAM9260_ID_TC2 }, -+ .clk = { &tc0_clk, &tc1_clk, &tc2_clk }, -+ }, -+ [1] = { -+ .physaddr = AT91SAM9260_BASE_TCB1, -+ .irq = { AT91SAM9260_ID_TC3, AT91SAM9260_ID_TC4, AT91SAM9260_ID_TC5 }, -+ .clk = { &tc3_clk, &tc4_clk, &tc5_clk }, -+ }, -+}; -+ -+#define at91sam9260_tc_init() atmel_tc_init(at91sam9260_tcblocks, ARRAY_SIZE(at91sam9260_tcblocks)) -+ -+#else -+#define at91sam9260_tc_init() do {} while(0) -+#endif -+ -+ -+/* -------------------------------------------------------------------- - * AT91SAM9260 processor initialization - * -------------------------------------------------------------------- */ - -@@ -310,6 +342,9 @@ void __init at91sam9260_initialize(unsig - - /* Register GPIO subsystem */ - at91_gpio_init(at91sam9260_gpio, 3); -+ -+ /* Initialize the Timer/Counter blocks */ -+ at91sam9260_tc_init(); - } - - /* -------------------------------------------------------------------- -@@ -322,30 +357,30 @@ void __init at91sam9260_initialize(unsig - static unsigned int at91sam9260_default_irq_priority[NR_AIC_IRQS] __initdata = { - 7, /* Advanced Interrupt Controller */ - 7, /* System Peripherals */ -- 0, /* Parallel IO Controller A */ -- 0, /* Parallel IO Controller B */ -- 0, /* Parallel IO Controller C */ -+ 1, /* Parallel IO Controller A */ -+ 1, /* Parallel IO Controller B */ -+ 1, /* Parallel IO Controller C */ - 0, /* Analog-to-Digital Converter */ -- 6, /* USART 0 */ -- 6, /* USART 1 */ -- 6, /* USART 2 */ -+ 5, /* USART 0 */ -+ 5, /* USART 1 */ -+ 5, /* USART 2 */ - 0, /* Multimedia Card Interface */ -- 4, /* USB Device Port */ -- 0, /* Two-Wire Interface */ -- 6, /* Serial Peripheral Interface 0 */ -- 6, /* Serial Peripheral Interface 1 */ -+ 2, /* USB Device Port */ -+ 6, /* Two-Wire Interface */ -+ 5, /* Serial Peripheral Interface 0 */ -+ 5, /* Serial Peripheral Interface 1 */ - 5, /* Serial Synchronous Controller */ - 0, - 0, - 0, /* Timer Counter 0 */ - 0, /* Timer Counter 1 */ - 0, /* Timer Counter 2 */ -- 3, /* USB Host port */ -+ 2, /* USB Host port */ - 3, /* Ethernet */ - 0, /* Image Sensor Interface */ -- 6, /* USART 3 */ -- 6, /* USART 4 */ -- 6, /* USART 5 */ -+ 5, /* USART 3 */ -+ 5, /* USART 4 */ -+ 5, /* USART 5 */ - 0, /* Timer Counter 3 */ - 0, /* Timer Counter 4 */ - 0, /* Timer Counter 5 */ -Index: linux-2.6.21.7/arch/arm/mach-at91/at91sam9260_devices.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91sam9260_devices.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91sam9260_devices.c -@@ -527,6 +527,32 @@ void __init at91_init_leds(u8 cpu_led, u - #endif - - -+#if defined(CONFIG_NEW_LEDS) -+ -+static struct platform_device at91_leds = { -+ .name = "at91_leds", -+ .id = -1, -+}; -+ -+void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr) -+{ -+ if (!nr) -+ return; -+ -+ at91_leds.dev.platform_data = leds; -+ -+ for ( ; nr; nr--, leds++) { -+ leds->index = nr; /* first record stores number of leds */ -+ at91_set_gpio_output(leds->gpio, (leds->flags & 1) == 0); -+ } -+ -+ platform_device_register(&at91_leds); -+} -+#else -+void __init at91_gpio_leds(struct at91_gpio_led *leds, int nr) {} -+#endif -+ -+ - /* -------------------------------------------------------------------- - * UART - * -------------------------------------------------------------------- */ -Index: linux-2.6.21.7/arch/arm/mach-at91/at91sam9261.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91sam9261.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91sam9261.c -@@ -97,6 +97,21 @@ static struct clk spi1_clk = { - .pmc_mask = 1 << AT91SAM9261_ID_SPI1, - .type = CLK_TYPE_PERIPHERAL, - }; -+static struct clk ssc0_clk = { -+ .name = "ssc0_clk", -+ .pmc_mask = 1 << AT91SAM9261_ID_SSC0, -+ .type = CLK_TYPE_PERIPHERAL, -+}; -+static struct clk ssc1_clk = { -+ .name = "ssc1_clk", -+ .pmc_mask = 1 << AT91SAM9261_ID_SSC1, -+ .type = CLK_TYPE_PERIPHERAL, -+}; -+static struct clk ssc2_clk = { -+ .name = "ssc2_clk", -+ .pmc_mask = 1 << AT91SAM9261_ID_SSC2, -+ .type = CLK_TYPE_PERIPHERAL, -+}; - static struct clk tc0_clk = { - .name = "tc0_clk", - .pmc_mask = 1 << AT91SAM9261_ID_TC0, -@@ -135,7 +150,9 @@ static struct clk *periph_clocks[] __ini - &twi_clk, - &spi0_clk, - &spi1_clk, -- // ssc 0 .. ssc2 -+ &ssc0_clk, -+ &ssc1_clk, -+ &ssc2_clk, - &tc0_clk, - &tc1_clk, - &tc2_clk, -@@ -230,6 +247,28 @@ static void at91sam9261_reset(void) - - - /* -------------------------------------------------------------------- -+ * Timer/Counter library initialization -+ * -------------------------------------------------------------------- */ -+#ifdef CONFIG_ATMEL_TCLIB -+ -+#include "tclib.h" -+ -+static struct atmel_tcblock at91sam9261_tcblocks[] = { -+ [0] = { -+ .physaddr = AT91SAM9261_BASE_TCB0, -+ .irq = { AT91SAM9261_ID_TC0, AT91SAM9261_ID_TC1, AT91SAM9261_ID_TC2 }, -+ .clk = { &tc0_clk, &tc1_clk, &tc2_clk }, -+ } -+}; -+ -+#define at91sam9261_tc_init() atmel_tc_init(at91sam9261_tcblocks, ARRAY_SIZE(at91sam9261_tcblocks)) -+ -+#else -+#define at91sam9261_tc_init() do {} while(0) -+#endif -+ -+ -+/* -------------------------------------------------------------------- - * AT91SAM9261 processor initialization - * -------------------------------------------------------------------- */ - -@@ -250,6 +289,9 @@ void __init at91sam9261_initialize(unsig - - /* Register GPIO subsystem */ - at91_gpio_init(at91sam9261_gpio, 3); -+ -+ /* Initialize the Timer/Counter blocks */ -+ at91sam9261_tc_init(); - } - - /* -------------------------------------------------------------------- -@@ -262,25 +304,25 @@ void __init at91sam9261_initialize(unsig - static unsigned int at91sam9261_default_irq_priority[NR_AIC_IRQS] __initdata = { - 7, /* Advanced Interrupt Controller */ - 7, /* System Peripherals */ -- 0, /* Parallel IO Controller A */ -- 0, /* Parallel IO Controller B */ -- 0, /* Parallel IO Controller C */ -- 0, -- 6, /* USART 0 */ -- 6, /* USART 1 */ -- 6, /* USART 2 */ -+ 1, /* Parallel IO Controller A */ -+ 1, /* Parallel IO Controller B */ -+ 1, /* Parallel IO Controller C */ -+ 0, -+ 5, /* USART 0 */ -+ 5, /* USART 1 */ -+ 5, /* USART 2 */ - 0, /* Multimedia Card Interface */ -- 4, /* USB Device Port */ -- 0, /* Two-Wire Interface */ -- 6, /* Serial Peripheral Interface 0 */ -- 6, /* Serial Peripheral Interface 1 */ -- 5, /* Serial Synchronous Controller 0 */ -- 5, /* Serial Synchronous Controller 1 */ -- 5, /* Serial Synchronous Controller 2 */ -+ 2, /* USB Device Port */ -+ 6, /* Two-Wire Interface */ -+ 5, /* Serial Peripheral Interface 0 */ -+ 5, /* Serial Peripheral Interface 1 */ -+ 4, /* Serial Synchronous Controller 0 */ -+ 4, /* Serial Synchronous Controller 1 */ -+ 4, /* Serial Synchronous Controller 2 */ - 0, /* Timer Counter 0 */ - 0, /* Timer Counter 1 */ - 0, /* Timer Counter 2 */ -- 3, /* USB Host port */ -+ 2, /* USB Host port */ - 3, /* LCD Controller */ - 0, - 0, -Index: linux-2.6.21.7/arch/arm/mach-at91/at91sam9261_devices.c -=================================================================== ---- linux-2.6.21.7.orig/arch/arm/mach-at91/at91sam9261_devices.c -+++ linux-2.6.21.7/arch/arm/mach-at91/at91sam9261_devices.c -@@ -14,6 +14,9 @@ - #include - - #include -+#include -+ -+#include