kernel: drop everything not on kernel version 4.14
authorDaniel Golle <daniel@makrotopia.org>
Tue, 11 Jun 2019 23:14:25 +0000 (01:14 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 11 Jun 2019 23:18:52 +0000 (01:18 +0200)
 * Remove testing patches for kernel version 4.19
 * remove targets ar7, ixp4xx, orion
Those targets are still on kernel 4.9, patches for 4.14 were not ready
in time. They may be readded once people prepare and test patches for
kernel 4.14.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
738 files changed:
target/linux/apm821xx/Makefile
target/linux/apm821xx/patches-4.19/010-dmaengine-dw-dmac-implement-dma-prot.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0003-crypto-drop-mask-CRYPTO_ALG_ASYNC-from-cipher-tfm-al.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0004-crypto4xx_core-don-t-abuse-__dma_sync_page.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0005-cross-tree-phase-out-dma_zalloc_coherent.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0006-crypto-crypto4xx-add-prng-crypto-support.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0007-crypto-crypto4xx-Fix-wrong-ppc4xx_trng_probe-ppc4xx_.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0012-crypto-crypto4xx-get-rid-of-redundant-using_sd-varia.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0013-crypto-crypto4xx-fix-AES-CTR-blocksize-value.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0014-crypto-crypto4xx-fix-blocksize-for-cfb-and-ofb.patch [deleted file]
target/linux/apm821xx/patches-4.19/023-0015-crypto-crypto4xx-block-ciphers-should-only-accept-co.patch [deleted file]
target/linux/apm821xx/patches-4.19/140-GPIO-add-named-gpio-exports.patch [deleted file]
target/linux/apm821xx/patches-4.19/201-add-amcc-apollo3g-support.patch [deleted file]
target/linux/apm821xx/patches-4.19/202-add-netgear-wndr4700-support.patch [deleted file]
target/linux/apm821xx/patches-4.19/300-fix-atheros-nics-on-apm82181.patch [deleted file]
target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch [deleted file]
target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch [deleted file]
target/linux/apm821xx/patches-4.19/802-usb-xhci-force-msi-renesas-xhci.patch [deleted file]
target/linux/apm821xx/patches-4.19/803-hwmon-tc654-add-detection-routine.patch [deleted file]
target/linux/apm821xx/patches-4.19/804-hwmon-tc654-add-thermal_cooling-device.patch [deleted file]
target/linux/ar7/Makefile [deleted file]
target/linux/ar7/ac49x/config-default [deleted file]
target/linux/ar7/ac49x/profiles/210-None.mk [deleted file]
target/linux/ar7/ac49x/target.mk [deleted file]
target/linux/ar7/base-files.mk [deleted file]
target/linux/ar7/base-files/etc/board.d/02_network [deleted file]
target/linux/ar7/base-files/etc/diag.sh [deleted file]
target/linux/ar7/base-files/etc/init.d/adam2 [deleted file]
target/linux/ar7/config-4.9 [deleted file]
target/linux/ar7/files/drivers/mtd/ac49xpart.c [deleted file]
target/linux/ar7/files/drivers/mtd/titanpart.c [deleted file]
target/linux/ar7/generic/config-default [deleted file]
target/linux/ar7/generic/profiles/100-Annex-A.mk [deleted file]
target/linux/ar7/generic/profiles/110-Annex-B.mk [deleted file]
target/linux/ar7/generic/profiles/200-Texas.mk [deleted file]
target/linux/ar7/generic/profiles/210-None.mk [deleted file]
target/linux/ar7/generic/target.mk [deleted file]
target/linux/ar7/image/Makefile [deleted file]
target/linux/ar7/patches-4.9/100-fix-highmem-offset.patch [deleted file]
target/linux/ar7/patches-4.9/101-MIPS-AR7-allow-NULL-clock-for-clk_get_rate.patch [deleted file]
target/linux/ar7/patches-4.9/110-flash.patch [deleted file]
target/linux/ar7/patches-4.9/160-vlynq_try_remote_first.patch [deleted file]
target/linux/ar7/patches-4.9/200-free-mem-below-kernel-offset.patch [deleted file]
target/linux/ar7/patches-4.9/300-add-ac49x-platform.patch [deleted file]
target/linux/ar7/patches-4.9/310-ac49x-prom-support.patch [deleted file]
target/linux/ar7/patches-4.9/320-ac49x-mtd-partitions.patch [deleted file]
target/linux/ar7/patches-4.9/920-ar7part.patch [deleted file]
target/linux/ar7/patches-4.9/925-actiontec_leds.patch [deleted file]
target/linux/ar7/patches-4.9/950-cpmac_titan.patch [deleted file]
target/linux/ar7/src/adam2patcher.c [deleted file]
target/linux/ath79/Makefile
target/linux/ath79/patches-4.19/0002-watchdog-ath79-fix-maximum-timeout.patch [deleted file]
target/linux/ath79/patches-4.19/0003-leds-add-reset-controller-based-driver.patch [deleted file]
target/linux/ath79/patches-4.19/0004-phy-add-ath79-usb-phys.patch [deleted file]
target/linux/ath79/patches-4.19/0005-usb-add-more-OF-quirk-properties.patch [deleted file]
target/linux/ath79/patches-4.19/0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch [deleted file]
target/linux/ath79/patches-4.19/0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch [deleted file]
target/linux/ath79/patches-4.19/0011-MIPS-ath79-select-the-PINCTRL-subsystem.patch [deleted file]
target/linux/ath79/patches-4.19/0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch [deleted file]
target/linux/ath79/patches-4.19/0018-MIPS-pci-ar71xx-convert-to-OF.patch [deleted file]
target/linux/ath79/patches-4.19/0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch [deleted file]
target/linux/ath79/patches-4.19/0020-MIPS-pci-ar724x-convert-to-OF.patch [deleted file]
target/linux/ath79/patches-4.19/0021-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch [deleted file]
target/linux/ath79/patches-4.19/0022-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch [deleted file]
target/linux/ath79/patches-4.19/0023-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch [deleted file]
target/linux/ath79/patches-4.19/0024-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch [deleted file]
target/linux/ath79/patches-4.19/0025-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch [deleted file]
target/linux/ath79/patches-4.19/0026-MIPS-ath79-export-switch-MDIO-reference-clock.patch [deleted file]
target/linux/ath79/patches-4.19/0027-MIPS-ath79-drop-legacy-IRQ-code.patch [deleted file]
target/linux/ath79/patches-4.19/0028-MIPS-ath79-drop-machfiles.patch [deleted file]
target/linux/ath79/patches-4.19/0029-MIPS-ath79-drop-legacy-pci-code.patch [deleted file]
target/linux/ath79/patches-4.19/0030-MIPS-ath79-drop-platform-device-registration-code.patch [deleted file]
target/linux/ath79/patches-4.19/0031-MIPS-ath79-drop-OF-clock-code.patch [deleted file]
target/linux/ath79/patches-4.19/0032-MIPS-ath79-sanitize-symbols.patch [deleted file]
target/linux/ath79/patches-4.19/0033-spi-ath79-drop-pdata-support.patch [deleted file]
target/linux/ath79/patches-4.19/0034-MIPS-ath79-ath9k-exports.patch [deleted file]
target/linux/ath79/patches-4.19/0036-GPIO-add-named-gpio-exports.patch [deleted file]
target/linux/ath79/patches-4.19/0036-MIPS-ath79-remove-irq-code-from-pci.patch [deleted file]
target/linux/ath79/patches-4.19/0037-missing-registers.patch [deleted file]
target/linux/ath79/patches-4.19/004-register_gpio_driver_earlier.patch [deleted file]
target/linux/ath79/patches-4.19/403-mtd_fix_cfi_cmdset_0002_status_check.patch [deleted file]
target/linux/ath79/patches-4.19/404-mtd-cybertan-trx-parser.patch [deleted file]
target/linux/ath79/patches-4.19/405-mtd-tp-link-partition-parser.patch [deleted file]
target/linux/ath79/patches-4.19/420-net-ar71xx_mac_driver.patch [deleted file]
target/linux/ath79/patches-4.19/430-drivers-link-spi-before-mtd.patch [deleted file]
target/linux/ath79/patches-4.19/470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch [deleted file]
target/linux/ath79/patches-4.19/490-usb-ehci-add-quirks-for-qca-socs.patch [deleted file]
target/linux/ath79/patches-4.19/900-mdio_bitbang_ignore_ta_value.patch [deleted file]
target/linux/ath79/patches-4.19/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch [deleted file]
target/linux/ath79/patches-4.19/910-unaligned_access_hacks.patch [deleted file]
target/linux/bcm53xx/Makefile
target/linux/bcm53xx/patches-4.19/030-v4.20-0001-ARM-dts-BCM5301X-Specify-flash-partitions.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0001-ARM-dts-BCM5301X-Relicense-BCM47081-BCM4709-files-to.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0002-ARM-dts-BCM5301X-Relicense-BCM47094-file-to-the-GPL-.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0003-ARM-dts-BCM53573-Relicense-Tenda-AC9-file-to-the-GPL.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0004-ARM-dts-BCM53573-Relicense-SoC-file-to-the-GPL-2.0-M.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6500-V2.patch [deleted file]
target/linux/bcm53xx/patches-4.19/031-v4.21-0006-ARM-dts-BCM5301X-Describe-Northstar-pins-mux-control.patch [deleted file]
target/linux/bcm53xx/patches-4.19/032-v5.1-0001-ARM-dts-BCM53573-Relicense-Luxul-files-to-the-GPL-2..patch [deleted file]
target/linux/bcm53xx/patches-4.19/032-v5.1-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Phicomm-K3.patch [deleted file]
target/linux/bcm53xx/patches-4.19/080-v4.20-0001-pinctrl-bcm-add-Northstar-driver.patch [deleted file]
target/linux/bcm53xx/patches-4.19/080-v4.20-0002-pinctrl-bcm-ns-Use-uintptr_t-for-casting-data.patch [deleted file]
target/linux/bcm53xx/patches-4.19/081-v4.21-0001-pinctrl-bcm-ns-support-updated-DT-binding-as-syscon-.patch [deleted file]
target/linux/bcm53xx/patches-4.19/180-usb-xhci-add-support-for-performing-fake-doorbell.patch [deleted file]
target/linux/bcm53xx/patches-4.19/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch [deleted file]
target/linux/bcm53xx/patches-4.19/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch [deleted file]
target/linux/bcm53xx/patches-4.19/310-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch [deleted file]
target/linux/bcm53xx/patches-4.19/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch [deleted file]
target/linux/bcm53xx/patches-4.19/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch [deleted file]
target/linux/bcm53xx/patches-4.19/321-ARM-dts-BCM5301X-Describe-partition-formats.patch [deleted file]
target/linux/bcm53xx/patches-4.19/400-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch [deleted file]
target/linux/bcm53xx/patches-4.19/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch [deleted file]
target/linux/bcm53xx/patches-4.19/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch [deleted file]
target/linux/bcm53xx/patches-4.19/905-BCM53573-minor-hacks.patch [deleted file]
target/linux/brcm47xx/Makefile
target/linux/brcm47xx/patches-4.19/030-v4.20-MIPS-BCM47XX-Enable-USB-power-on-Netgear-WNDR3400v3.patch [deleted file]
target/linux/brcm47xx/patches-4.19/031-v5.1-mips-bcm47xx-Enable-USB-power-on-Netgear-WNDR3400v2.patch [deleted file]
target/linux/brcm47xx/patches-4.19/159-cpu_fixes.patch [deleted file]
target/linux/brcm47xx/patches-4.19/160-kmap_coherent.patch [deleted file]
target/linux/brcm47xx/patches-4.19/209-b44-register-adm-switch.patch [deleted file]
target/linux/brcm47xx/patches-4.19/210-b44_phy_fix.patch [deleted file]
target/linux/brcm47xx/patches-4.19/280-activate_ssb_support_in_usb.patch [deleted file]
target/linux/brcm47xx/patches-4.19/300-fork_cacheflush.patch [deleted file]
target/linux/brcm47xx/patches-4.19/310-no_highpage.patch [deleted file]
target/linux/brcm47xx/patches-4.19/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch [deleted file]
target/linux/brcm47xx/patches-4.19/400-mtd-bcm47xxpart-get-nvram.patch [deleted file]
target/linux/brcm47xx/patches-4.19/610-pci_ide_fix.patch [deleted file]
target/linux/brcm47xx/patches-4.19/791-tg3-no-pci-sleep.patch [deleted file]
target/linux/brcm47xx/patches-4.19/800-bcma-add-table-of-serial-flashes-with-smaller-blocks.patch [deleted file]
target/linux/brcm47xx/patches-4.19/820-wgt634u-nvram-fix.patch [deleted file]
target/linux/brcm47xx/patches-4.19/830-huawei_e970_support.patch [deleted file]
target/linux/brcm47xx/patches-4.19/831-old_gpio_wdt.patch [deleted file]
target/linux/brcm47xx/patches-4.19/900-ssb-reject-PCI-writes-setting-CardBus-bridge-resourc.patch [deleted file]
target/linux/brcm47xx/patches-4.19/940-bcm47xx-yenta.patch [deleted file]
target/linux/brcm47xx/patches-4.19/976-ssb_increase_pci_delay.patch [deleted file]
target/linux/brcm47xx/patches-4.19/999-wl_exports.patch [deleted file]
target/linux/cns3xxx/Makefile
target/linux/cns3xxx/patches-4.19/000-cns3xxx_arch_include.patch [deleted file]
target/linux/cns3xxx/patches-4.19/001-arm_openwrt_machtypes.patch [deleted file]
target/linux/cns3xxx/patches-4.19/010-arm_introduce-dma-fiq-irq-broadcast.patch [deleted file]
target/linux/cns3xxx/patches-4.19/020-watchdog_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/025-smp_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/030-pcie_clock.patch [deleted file]
target/linux/cns3xxx/patches-4.19/040-fiq_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/045-twd_base.patch [deleted file]
target/linux/cns3xxx/patches-4.19/055-pcie_io.patch [deleted file]
target/linux/cns3xxx/patches-4.19/060-pcie_abort.patch [deleted file]
target/linux/cns3xxx/patches-4.19/065-pcie_skip_inactive.patch [deleted file]
target/linux/cns3xxx/patches-4.19/070-i2c_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/075-spi_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/080-sata_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/090-timers.patch [deleted file]
target/linux/cns3xxx/patches-4.19/093-add-virt-pci-io-mapping.patch [deleted file]
target/linux/cns3xxx/patches-4.19/095-gpio_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/097-l2x0_cmdline_disable.patch [deleted file]
target/linux/cns3xxx/patches-4.19/100-laguna_support.patch [deleted file]
target/linux/cns3xxx/patches-4.19/101-laguna_sdhci_card_detect.patch [deleted file]
target/linux/cns3xxx/patches-4.19/110-pci_isolated_interrupts.patch [deleted file]
target/linux/cns3xxx/patches-4.19/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch [deleted file]
target/linux/cns3xxx/patches-4.19/200-broadcom_phy_reinit.patch [deleted file]
target/linux/cns3xxx/patches-4.19/210-dwc2_defaults.patch [deleted file]
target/linux/gemini/Makefile
target/linux/gemini/patches-4.19/0001-pinctrl-gemini-Mask-and-set-properly.patch [deleted file]
target/linux/gemini/patches-4.19/0002-pinctrl-gemini-Fix-up-TVC-clock-group.patch [deleted file]
target/linux/gemini/patches-4.19/0003-pinctrl-gemini-Drop-noisy-debug-prints.patch [deleted file]
target/linux/gemini/patches-4.19/0004-boot-sq201-from-sda1.patch [deleted file]
target/linux/gemini/patches-4.19/0005-mtd-physmap_of-Move-custom-initialization.patch [deleted file]
target/linux/gemini/patches-4.19/0006-mtd-physmap_of_gemini-Handle-pin-control.patch [deleted file]
target/linux/gemini/patches-4.19/0008-ARM-dts-Enable-Gemini-flash-access.patch [deleted file]
target/linux/gemini/patches-4.19/0009-mtd-partitions-Add-RedBoot-FIS-DT-bindings.patch [deleted file]
target/linux/gemini/patches-4.19/0010-mtd-partitions-Add-second-compatible-for-redboot.patch [deleted file]
target/linux/gemini/patches-4.19/0011-ARM-dts-Fix-up-SQ201-flash-access.patch [deleted file]
target/linux/gemini/patches-4.19/0012-ARM-dts-Blank-D-Link-DIR-685-console.patch [deleted file]
target/linux/gemini/patches-4.19/0013-usb-host-fotg2-add-silicon-clock-handling.patch [deleted file]
target/linux/gemini/patches-4.19/0014-usb-host-add-DT-bindings-for-faraday-fotg2.patch [deleted file]
target/linux/gemini/patches-4.19/0015-usb-host-fotg2-add-device-tree-probing.patch [deleted file]
target/linux/gemini/patches-4.19/0016-usb-host-fotg2-add-Gemini-specific-handling.patch [deleted file]
target/linux/gemini/patches-4.19/0017-usb-host-fotg2-restart-hcd-after-port-reset.patch [deleted file]
target/linux/gemini/patches-4.19/0018-ARM-dts-Add-the-FOTG210-USB-host-to-Gemini-boards.patch [deleted file]
target/linux/gemini/patches-4.19/0019-ARM-dts-gemini-Indent-DIR-685-partition-table.patch [deleted file]
target/linux/gemini/patches-4.19/0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch [deleted file]
target/linux/generic/backport-4.19/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch [deleted file]
target/linux/generic/backport-4.19/011-kbuild-export-SUBARCH.patch [deleted file]
target/linux/generic/backport-4.19/020-backport_netfilter_rtcache.patch [deleted file]
target/linux/generic/backport-4.19/047-v4.21-mtd-keep-original-flags-for-every-struct-mtd_info.patch [deleted file]
target/linux/generic/backport-4.19/048-v4.21-mtd-improve-calculating-partition-boundaries-when-ch.patch [deleted file]
target/linux/generic/backport-4.19/080-v5.1-0001-bcma-keep-a-direct-pointer-to-the-struct-device.patch [deleted file]
target/linux/generic/backport-4.19/080-v5.1-0002-bcma-use-dev_-printing-functions.patch [deleted file]
target/linux/generic/backport-4.19/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch [deleted file]
target/linux/generic/backport-4.19/101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch [deleted file]
target/linux/generic/backport-4.19/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch [deleted file]
target/linux/generic/backport-4.19/366-netfilter-nf_flow_table-clean-up-and-fix-dst-handlin.patch [deleted file]
target/linux/generic/backport-4.19/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch [deleted file]
target/linux/generic/backport-4.19/371-netfilter-nf_flow_table-fix-up-ct-state-of-flows-aft.patch [deleted file]
target/linux/generic/backport-4.19/380-v5.3-net-sched-Introduce-act_ctinfo-action.patch [deleted file]
target/linux/generic/backport-4.19/450-v5.0-mtd-spinand-add-support-for-GigaDevice-GD5FxGQ4xA.patch [deleted file]
target/linux/generic/backport-4.19/451-v5.1-mtd-spinand-Add-support-for-GigaDevice-GD5F1GQ4UExxG.patch [deleted file]
target/linux/generic/backport-4.19/500-v4.20-ubifs-Fix-default-compression-selection-in-ubifs.patch [deleted file]
target/linux/generic/backport-4.9/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch [deleted file]
target/linux/generic/backport-4.9/011-kbuild-export-SUBARCH.patch [deleted file]
target/linux/generic/backport-4.9/012-kbuild-add-macro-for-controlling-warnings-to-linux-c.patch [deleted file]
target/linux/generic/backport-4.9/013-disable-Wattribute-alias-warning-for-SYSCALL_DEFINEx.patch [deleted file]
target/linux/generic/backport-4.9/020-backport_netfilter_rtcache.patch [deleted file]
target/linux/generic/backport-4.9/021-bridge-multicast-to-unicast.patch [deleted file]
target/linux/generic/backport-4.9/022-net-add-devm-version-of-alloc_etherdev_mqs-function.patch [deleted file]
target/linux/generic/backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch [deleted file]
target/linux/generic/backport-4.9/024-2-tcp-tsq-remove-one-locked-operation-in-tcp_wfree.patch [deleted file]
target/linux/generic/backport-4.9/024-3-tcp-tsq-add-shortcut-in-tcp_tasklet_func.patch [deleted file]
target/linux/generic/backport-4.9/024-4-tcp-tsq-avoid-one-atomic-in-tcp_wfree.patch [deleted file]
target/linux/generic/backport-4.9/024-5-tcp-tsq-add-a-shortcut-in-tcp_small_queue_check.patch [deleted file]
target/linux/generic/backport-4.9/024-6-tcp-tcp_mtu_probe-is-likely-to-exit-early.patch [deleted file]
target/linux/generic/backport-4.9/024-7-net-reorganize-struct-sock-for-better-data-locality.patch [deleted file]
target/linux/generic/backport-4.9/024-8-tcp-tsq-move-tsq_flags-close-to-sk_wmem_alloc.patch [deleted file]
target/linux/generic/backport-4.9/024-9-tcp-add-a-missing-barrier-in-tcp_tasklet_func.patch [deleted file]
target/linux/generic/backport-4.9/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch [deleted file]
target/linux/generic/backport-4.9/030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch [deleted file]
target/linux/generic/backport-4.9/030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch [deleted file]
target/linux/generic/backport-4.9/040-mm-add-support-for-releasing-multiple-instances-of-a.patch [deleted file]
target/linux/generic/backport-4.9/041-mm-rename-__alloc_page_frag-to-page_frag_alloc-and-_.patch [deleted file]
target/linux/generic/backport-4.9/042-mm-rename-__page_frag-functions-to-__page_frag_cache.patch [deleted file]
target/linux/generic/backport-4.9/060-0002-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch [deleted file]
target/linux/generic/backport-4.9/060-0003-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch [deleted file]
target/linux/generic/backport-4.9/060-0004-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch [deleted file]
target/linux/generic/backport-4.9/060-0005-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0001-mtd-spi-nor-add-Macronix-mx25u25635f-to-list-of-know.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0002-mtd-spi-nor-fix-spansion-quad-enable.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0003-mtd-spi-nor-fix-flags-for-s25fl128s.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0004-mtd-spi-nor-add-support-for-s25fl208k.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch [deleted file]
target/linux/generic/backport-4.9/061-v4.10-0007-mtd-spi-nor-Add-support-for-mr25h40.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0001-mtd-spi-nor-Add-support-for-S3AN-spi-nor-devices.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0002-mtd-spi-nor-improve-macronix_quad_enable.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0003-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0004-mtd-spi-nor-rename-SPINOR_OP_-macros-of-the-4-byte-a.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0005-mtd-spi-nor-add-a-stateless-method-to-support-memory.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0006-mtd-spi-nor-Add-lock-unlock-support-for-f25l32pa.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0007-mtd-spi-nor-Fix-S3AN-addressing-calculation.patch [deleted file]
target/linux/generic/backport-4.9/062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch [deleted file]
target/linux/generic/backport-4.9/063-v4.11-0001-mtd-nand-Add-Winbond-manufacturer-id.patch [deleted file]
target/linux/generic/backport-4.9/063-v4.11-0002-mtd-introduce-function-max_bad_blocks.patch [deleted file]
target/linux/generic/backport-4.9/063-v4.11-0003-mtd-Add-partition-device-node-to-mtd-partition-devic.patch [deleted file]
target/linux/generic/backport-4.9/064-v4.12-mtd-spi-nor-enable-stateless-4b-op-codes-for-mx25u25.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0001-mtd-handle-partitioning-on-devices-with-0-erasesize.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0002-mtd-partitions-factor-out-code-calling-parser.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0003-mtd-partitions-add-helper-for-deleting-partition.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0004-mtd-partitions-remove-sysfs-files-when-deleting-all-.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0005-mtd-partitions-rename-master-to-the-parent-where-app.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0006-mtd-partitions-add-support-for-subpartitions.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0007-mtd-partitions-add-support-for-partition-parsers.patch [deleted file]
target/linux/generic/backport-4.9/065-v4.13-0008-mtd-extract-TRX-parser-out-of-bcm47xxpart-into-a-sep.patch [deleted file]
target/linux/generic/backport-4.9/066-v4.17-0001-mtd-move-code-adding-master-MTD-out-of-mtd_add_devic.patch [deleted file]
target/linux/generic/backport-4.9/066-v4.17-0002-mtd-get-rid-of-the-mtd_add_device_partitions.patch [deleted file]
target/linux/generic/backport-4.9/067-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch [deleted file]
target/linux/generic/backport-4.9/067-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch [deleted file]
target/linux/generic/backport-4.9/067-v4.17-0003-mtd-ofpart-add-of_match_table-with-fixed-partitions.patch [deleted file]
target/linux/generic/backport-4.9/068-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch [deleted file]
target/linux/generic/backport-4.9/069-v4.18-mtd-bcm47xxpart-improve-handling-TRX-partition-size.patch [deleted file]
target/linux/generic/backport-4.9/070-bcma-from-4.11.patch [deleted file]
target/linux/generic/backport-4.9/071-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch [deleted file]
target/linux/generic/backport-4.9/071-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch [deleted file]
target/linux/generic/backport-4.9/071-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch [deleted file]
target/linux/generic/backport-4.9/071-v4.15-0001-net-bgmac-enable-master-mode-for-BCM54210E-and-B5021.patch [deleted file]
target/linux/generic/backport-4.9/072-bcma-from-4.12.patch [deleted file]
target/linux/generic/backport-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch [deleted file]
target/linux/generic/backport-4.9/075-v4.10-0002-net-phy-broadcom-Add-support-for-BCM54612E.patch [deleted file]
target/linux/generic/backport-4.9/075-v4.10-0003-net-phy-broadcom-add-bcm54xx_auxctl_read.patch [deleted file]
target/linux/generic/backport-4.9/075-v4.10-0004-net-phy-broadcom-Add-BCM54810-PHY-entry.patch [deleted file]
target/linux/generic/backport-4.9/075-v4.10-0005-net-phy-broadcom-Move-bcm54xx_auxctl_-read-write-to-.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0001-net-phy-broadcom-Allow-enabling-or-disabling-of-EEE.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0002-net-phy-broadcom-Add-support-code-for-reading-PHY-co.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0004-net-phy-bcm7xxx-Implement-EGPHY-workaround-for-7278.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0005-net-phy-broadcom-use-auxctl-reading-helper-in-BCM546.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0006-net-phy-broadcom-add-support-for-BCM54210E.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.11-0007-net-phy-broadcom-rehook-BCM54612E-specific-init.patch [deleted file]
target/linux/generic/backport-4.9/076-v4.15-0001-net-phy-broadcom-support-new-device-flag-for-setting.patch [deleted file]
target/linux/generic/backport-4.9/080-0001-leds-core-add-OF-variants-of-LED-registering-functio.patch [deleted file]
target/linux/generic/backport-4.9/080-0002-leds-gpio-use-OF-variant-of-LED-registering-function.patch [deleted file]
target/linux/generic/backport-4.9/081-0001-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch [deleted file]
target/linux/generic/backport-4.9/081-0002-thermal-broadcom-add-Northstar-thermal-driver.patch [deleted file]
target/linux/generic/backport-4.9/082-0001-usb-core-read-USB-ports-from-DT-in-the-usbport-LED-t.patch [deleted file]
target/linux/generic/backport-4.9/085-v4.16-0001-i2c-gpio-Enable-working-over-slow-can_sleep-GPIOs.patch [deleted file]
target/linux/generic/backport-4.9/087-regmap-make-LZO-cache-optional.patch [deleted file]
target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch [deleted file]
target/linux/generic/backport-4.9/094-v4.12-0001-ip6_tunnel-Fix-missing-tunnel-encapsulation-limit-op.patch [deleted file]
target/linux/generic/backport-4.9/094-v4.12-0002-ipv6-Need-to-export-ipv6_push_frag_opts-for-tunnelin.patch [deleted file]
target/linux/generic/backport-4.9/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch [deleted file]
target/linux/generic/backport-4.9/095-v4.13-0001-rtc-ds1307-add-ds1308-variant.patch [deleted file]
target/linux/generic/backport-4.9/096-v4.20-netfilter-ipv6-Preserve-link-scope-traffic-original-.patch [deleted file]
target/linux/generic/backport-4.9/101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch [deleted file]
target/linux/generic/backport-4.9/400-v4.16-leds-trigger-Introduce-a-NETDEV-trigger.patch [deleted file]
target/linux/generic/backport-4.9/400-v4.18-mtd-bcm47xxpart-add-of_match_table-with-a-new-DT-bin.patch [deleted file]
target/linux/generic/backport-4.9/401-v4.19-mtd-parsers-trx-add-of_match_table-with-the-new-DT-b.patch [deleted file]
target/linux/generic/backport-4.9/402-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch [deleted file]
target/linux/generic/config-4.19 [deleted file]
target/linux/generic/config-4.9 [deleted file]
target/linux/generic/hack-4.19/204-module_strip.patch [deleted file]
target/linux/generic/hack-4.19/207-disable-modorder.patch [deleted file]
target/linux/generic/hack-4.19/210-darwin_scripts_include.patch [deleted file]
target/linux/generic/hack-4.19/211-host_tools_portability.patch [deleted file]
target/linux/generic/hack-4.19/212-byteshift_portability.patch [deleted file]
target/linux/generic/hack-4.19/214-spidev_h_portability.patch [deleted file]
target/linux/generic/hack-4.19/220-gc_sections.patch [deleted file]
target/linux/generic/hack-4.19/221-module_exports.patch [deleted file]
target/linux/generic/hack-4.19/230-openwrt_lzma_options.patch [deleted file]
target/linux/generic/hack-4.19/250-netfilter_depends.patch [deleted file]
target/linux/generic/hack-4.19/251-sound_kconfig.patch [deleted file]
target/linux/generic/hack-4.19/259-regmap_dynamic.patch [deleted file]
target/linux/generic/hack-4.19/260-crypto_test_dependencies.patch [deleted file]
target/linux/generic/hack-4.19/280-rfkill-stubs.patch [deleted file]
target/linux/generic/hack-4.19/290-nvmem-make-CONFIG_NVMEM-tristate-again.patch [deleted file]
target/linux/generic/hack-4.19/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch [deleted file]
target/linux/generic/hack-4.19/301-mips_image_cmdline_hack.patch [deleted file]
target/linux/generic/hack-4.19/321-powerpc_crtsavres_prereq.patch [deleted file]
target/linux/generic/hack-4.19/531-debloat_lzma.patch [deleted file]
target/linux/generic/hack-4.19/640-bridge-only-accept-EAP-locally.patch [deleted file]
target/linux/generic/hack-4.19/647-netfilter-flow-acct.patch [deleted file]
target/linux/generic/hack-4.19/650-netfilter-add-xt_OFFLOAD-target.patch [deleted file]
target/linux/generic/hack-4.19/651-wireless_mesh_header.patch [deleted file]
target/linux/generic/hack-4.19/660-fq_codel_defaults.patch [deleted file]
target/linux/generic/hack-4.19/661-use_fq_codel_by_default.patch [deleted file]
target/linux/generic/hack-4.19/662-remove_pfifo_fast.patch [deleted file]
target/linux/generic/hack-4.19/700-swconfig_switch_drivers.patch [deleted file]
target/linux/generic/hack-4.19/702-phy_add_aneg_done_function.patch [deleted file]
target/linux/generic/hack-4.19/721-phy_packets.patch [deleted file]
target/linux/generic/hack-4.19/773-bgmac-add-srab-switch.patch [deleted file]
target/linux/generic/hack-4.19/835-misc-owl_loader.patch [deleted file]
target/linux/generic/hack-4.19/901-debloat_sock_diag.patch [deleted file]
target/linux/generic/hack-4.19/902-debloat_proc.patch [deleted file]
target/linux/generic/hack-4.19/904-debloat_dma_buf.patch [deleted file]
target/linux/generic/hack-4.19/910-kobject_uevent.patch [deleted file]
target/linux/generic/hack-4.19/911-kobject_add_broadcast_uevent.patch [deleted file]
target/linux/generic/hack-4.19/921-always-create-console-node-in-initramfs.patch [deleted file]
target/linux/generic/hack-4.19/930-crashlog.patch [deleted file]
target/linux/generic/hack-4.19/940-cleanup-offload-hooks-on-netdev-unregister.patch [deleted file]
target/linux/generic/hack-4.9/204-module_strip.patch [deleted file]
target/linux/generic/hack-4.9/207-disable-modorder.patch [deleted file]
target/linux/generic/hack-4.9/210-darwin_scripts_include.patch [deleted file]
target/linux/generic/hack-4.9/211-host_tools_portability.patch [deleted file]
target/linux/generic/hack-4.9/212-byteshift_portability.patch [deleted file]
target/linux/generic/hack-4.9/214-spidev_h_portability.patch [deleted file]
target/linux/generic/hack-4.9/220-gc_sections.patch [deleted file]
target/linux/generic/hack-4.9/221-module_exports.patch [deleted file]
target/linux/generic/hack-4.9/230-openwrt_lzma_options.patch [deleted file]
target/linux/generic/hack-4.9/250-netfilter_depends.patch [deleted file]
target/linux/generic/hack-4.9/251-sound_kconfig.patch [deleted file]
target/linux/generic/hack-4.9/259-regmap_dynamic.patch [deleted file]
target/linux/generic/hack-4.9/260-crypto_test_dependencies.patch [deleted file]
target/linux/generic/hack-4.9/280-rfkill-stubs.patch [deleted file]
target/linux/generic/hack-4.9/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch [deleted file]
target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch [deleted file]
target/linux/generic/hack-4.9/321-powerpc_crtsavres_prereq.patch [deleted file]
target/linux/generic/hack-4.9/531-debloat_lzma.patch [deleted file]
target/linux/generic/hack-4.9/640-bridge-only-accept-EAP-locally.patch [deleted file]
target/linux/generic/hack-4.9/641-bridge_port_isolate.patch [deleted file]
target/linux/generic/hack-4.9/651-wireless_mesh_header.patch [deleted file]
target/linux/generic/hack-4.9/660-fq_codel_defaults.patch [deleted file]
target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch [deleted file]
target/linux/generic/hack-4.9/662-remove_pfifo_fast.patch [deleted file]
target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch [deleted file]
target/linux/generic/hack-4.9/702-phy_add_aneg_done_function.patch [deleted file]
target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch [deleted file]
target/linux/generic/hack-4.9/721-phy_packets.patch [deleted file]
target/linux/generic/hack-4.9/773-bgmac-add-srab-switch.patch [deleted file]
target/linux/generic/hack-4.9/835-misc-owl_loader.patch [deleted file]
target/linux/generic/hack-4.9/901-debloat_sock_diag.patch [deleted file]
target/linux/generic/hack-4.9/902-debloat_proc.patch [deleted file]
target/linux/generic/hack-4.9/904-debloat_dma_buf.patch [deleted file]
target/linux/generic/hack-4.9/910-kobject_uevent.patch [deleted file]
target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch [deleted file]
target/linux/generic/hack-4.9/921-always-create-console-node-in-initramfs.patch [deleted file]
target/linux/generic/hack-4.9/930-crashlog.patch [deleted file]
target/linux/generic/pending-4.19/0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch [deleted file]
target/linux/generic/pending-4.19/102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch [deleted file]
target/linux/generic/pending-4.19/110-ehci_hcd_ignore_oc.patch [deleted file]
target/linux/generic/pending-4.19/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch [deleted file]
target/linux/generic/pending-4.19/130-add-linux-spidev-compatible-si3210.patch [deleted file]
target/linux/generic/pending-4.19/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch [deleted file]
target/linux/generic/pending-4.19/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch [deleted file]
target/linux/generic/pending-4.19/141-jffs2-add-RENAME_EXCHANGE-support.patch [deleted file]
target/linux/generic/pending-4.19/150-bridge_allow_receiption_on_disabled_port.patch [deleted file]
target/linux/generic/pending-4.19/180-net-phy-at803x-add-support-for-AT8032.patch [deleted file]
target/linux/generic/pending-4.19/201-extra_optimization.patch [deleted file]
target/linux/generic/pending-4.19/203-kallsyms_uncompressed.patch [deleted file]
target/linux/generic/pending-4.19/205-backtrace_module_info.patch [deleted file]
target/linux/generic/pending-4.19/220-optimize_inlining.patch [deleted file]
target/linux/generic/pending-4.19/240-remove-unsane-filenames-from-deps_initramfs-list.patch [deleted file]
target/linux/generic/pending-4.19/261-enable_wilink_platform_without_drivers.patch [deleted file]
target/linux/generic/pending-4.19/300-mips_expose_boot_raw.patch [deleted file]
target/linux/generic/pending-4.19/302-mips_no_branch_likely.patch [deleted file]
target/linux/generic/pending-4.19/304-mips_disable_fpu.patch [deleted file]
target/linux/generic/pending-4.19/305-mips_module_reloc.patch [deleted file]
target/linux/generic/pending-4.19/306-mips_mem_functions_performance.patch [deleted file]
target/linux/generic/pending-4.19/307-mips_highmem_offset.patch [deleted file]
target/linux/generic/pending-4.19/308-mips32r2_tune.patch [deleted file]
target/linux/generic/pending-4.19/309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch [deleted file]
target/linux/generic/pending-4.19/310-arm_module_unresolved_weak_sym.patch [deleted file]
target/linux/generic/pending-4.19/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch [deleted file]
target/linux/generic/pending-4.19/332-arc-add-OWRTDTB-section.patch [deleted file]
target/linux/generic/pending-4.19/333-arc-enable-unaligned-access-in-kernel-mode.patch [deleted file]
target/linux/generic/pending-4.19/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch [deleted file]
target/linux/generic/pending-4.19/342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch [deleted file]
target/linux/generic/pending-4.19/400-mtd-add-rootfs-split-support.patch [deleted file]
target/linux/generic/pending-4.19/401-mtd-add-support-for-different-partition-parser-types.patch [deleted file]
target/linux/generic/pending-4.19/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch [deleted file]
target/linux/generic/pending-4.19/403-mtd-hook-mtdsplit-to-Kbuild.patch [deleted file]
target/linux/generic/pending-4.19/404-mtd-add-more-helper-functions.patch [deleted file]
target/linux/generic/pending-4.19/411-mtd-partial_eraseblock_write.patch [deleted file]
target/linux/generic/pending-4.19/412-mtd-partial_eraseblock_unlock.patch [deleted file]
target/linux/generic/pending-4.19/419-mtd-redboot-add-of_match_table-with-DT-binding.patch [deleted file]
target/linux/generic/pending-4.19/420-mtd-redboot_space.patch [deleted file]
target/linux/generic/pending-4.19/430-mtd-add-myloader-partition-parser.patch [deleted file]
target/linux/generic/pending-4.19/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch [deleted file]
target/linux/generic/pending-4.19/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch [deleted file]
target/linux/generic/pending-4.19/440-block2mtd_init.patch [deleted file]
target/linux/generic/pending-4.19/441-block2mtd_probe.patch [deleted file]
target/linux/generic/pending-4.19/450-mtd-spi-nor-allow-NOR-driver-to-write-fewer-bytes-th.patch [deleted file]
target/linux/generic/pending-4.19/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch [deleted file]
target/linux/generic/pending-4.19/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch [deleted file]
target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch [deleted file]
target/linux/generic/pending-4.19/466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch [deleted file]
target/linux/generic/pending-4.19/470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch [deleted file]
target/linux/generic/pending-4.19/475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch [deleted file]
target/linux/generic/pending-4.19/476-mtd-spi-nor-add-eon-en25q128.patch [deleted file]
target/linux/generic/pending-4.19/477-mtd-add-spi-nor-add-mx25u3235f.patch [deleted file]
target/linux/generic/pending-4.19/479-mtd-spi-nor-add-eon-en25qh64.patch [deleted file]
target/linux/generic/pending-4.19/480-mtd-set-rootfs-to-be-root-dev.patch [deleted file]
target/linux/generic/pending-4.19/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch [deleted file]
target/linux/generic/pending-4.19/491-ubi-auto-create-ubiblock-device-for-rootfs.patch [deleted file]
target/linux/generic/pending-4.19/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch [deleted file]
target/linux/generic/pending-4.19/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch [deleted file]
target/linux/generic/pending-4.19/494-mtd-ubi-add-EOF-marker-support.patch [deleted file]
target/linux/generic/pending-4.19/495-mtd-core-add-get_mtd_device_by_node.patch [deleted file]
target/linux/generic/pending-4.19/496-dt-bindings-add-bindings-for-mtd-concat-devices.patch [deleted file]
target/linux/generic/pending-4.19/497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch [deleted file]
target/linux/generic/pending-4.19/530-jffs2_make_lzma_available.patch [deleted file]
target/linux/generic/pending-4.19/532-jffs2_eofdetect.patch [deleted file]
target/linux/generic/pending-4.19/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch [deleted file]
target/linux/generic/pending-4.19/600-netfilter_conntrack_flush.patch [deleted file]
target/linux/generic/pending-4.19/610-netfilter_match_bypass_default_checks.patch [deleted file]
target/linux/generic/pending-4.19/611-netfilter_match_bypass_default_table.patch [deleted file]
target/linux/generic/pending-4.19/612-netfilter_match_reduce_memory_access.patch [deleted file]
target/linux/generic/pending-4.19/613-netfilter_optional_tcp_window_check.patch [deleted file]
target/linux/generic/pending-4.19/616-net_optimize_xfrm_calls.patch [deleted file]
target/linux/generic/pending-4.19/620-net_sched-codel-do-not-defer-queue-length-update.patch [deleted file]
target/linux/generic/pending-4.19/630-packet_socket_type.patch [deleted file]
target/linux/generic/pending-4.19/640-netfilter-nf_flow_table-add-hardware-offload-support.patch [deleted file]
target/linux/generic/pending-4.19/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch [deleted file]
target/linux/generic/pending-4.19/642-net-8021q-support-hardware-flow-table-offload.patch [deleted file]
target/linux/generic/pending-4.19/643-net-bridge-support-hardware-flow-table-offload.patch [deleted file]
target/linux/generic/pending-4.19/644-net-pppoe-support-hardware-flow-table-offload.patch [deleted file]
target/linux/generic/pending-4.19/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch [deleted file]
target/linux/generic/pending-4.19/646-netfilter-nf_flow_table-rework-private-driver-data.patch [deleted file]
target/linux/generic/pending-4.19/655-increase_skb_pad.patch [deleted file]
target/linux/generic/pending-4.19/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch [deleted file]
target/linux/generic/pending-4.19/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch [deleted file]
target/linux/generic/pending-4.19/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch [deleted file]
target/linux/generic/pending-4.19/680-NET-skip-GRO-for-foreign-MAC-addresses.patch [deleted file]
target/linux/generic/pending-4.19/681-NET-add-of_get_mac_address_mtd.patch [deleted file]
target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch [deleted file]
target/linux/generic/pending-4.19/734-net-phy-at803x-allow-to-configure-via-pdata.patch [deleted file]
target/linux/generic/pending-4.19/735-net-phy-at803x-fix-at8033-sgmii-mode.patch [deleted file]
target/linux/generic/pending-4.19/736-net-phy-at803x-allow-to-configure-via-dt.patch [deleted file]
target/linux/generic/pending-4.19/800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch [deleted file]
target/linux/generic/pending-4.19/810-pci_disable_common_quirks.patch [deleted file]
target/linux/generic/pending-4.19/811-pci_disable_usb_common_quirks.patch [deleted file]
target/linux/generic/pending-4.19/834-ledtrig-libata.patch [deleted file]
target/linux/generic/pending-4.19/840-media-i2c-tda1997x-select-V4L2_FWNODE.patch [deleted file]
target/linux/generic/pending-4.19/920-mangle_bootargs.patch [deleted file]
target/linux/generic/pending-4.9/0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch [deleted file]
target/linux/generic/pending-4.9/100-MIPS-fix-cache-flushing-for-highmem-pages.patch [deleted file]
target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch [deleted file]
target/linux/generic/pending-4.9/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch [deleted file]
target/linux/generic/pending-4.9/130-add-linux-spidev-compatible-si3210.patch [deleted file]
target/linux/generic/pending-4.9/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch [deleted file]
target/linux/generic/pending-4.9/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch [deleted file]
target/linux/generic/pending-4.9/141-jffs2-add-RENAME_EXCHANGE-support.patch [deleted file]
target/linux/generic/pending-4.9/150-bridge_allow_receiption_on_disabled_port.patch [deleted file]
target/linux/generic/pending-4.9/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch [deleted file]
target/linux/generic/pending-4.9/170-MIPS-PCI-add-controllers-before-the-specified-head.patch [deleted file]
target/linux/generic/pending-4.9/180-net-phy-at803x-add-support-for-AT8032.patch [deleted file]
target/linux/generic/pending-4.9/190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch [deleted file]
target/linux/generic/pending-4.9/201-extra_optimization.patch [deleted file]
target/linux/generic/pending-4.9/203-kallsyms_uncompressed.patch [deleted file]
target/linux/generic/pending-4.9/205-backtrace_module_info.patch [deleted file]
target/linux/generic/pending-4.9/220-optimize_inlining.patch [deleted file]
target/linux/generic/pending-4.9/240-remove-unsane-filenames-from-deps_initramfs-list.patch [deleted file]
target/linux/generic/pending-4.9/261-enable_wilink_platform_without_drivers.patch [deleted file]
target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch [deleted file]
target/linux/generic/pending-4.9/302-mips_no_branch_likely.patch [deleted file]
target/linux/generic/pending-4.9/304-mips_disable_fpu.patch [deleted file]
target/linux/generic/pending-4.9/305-mips_module_reloc.patch [deleted file]
target/linux/generic/pending-4.9/306-mips_mem_functions_performance.patch [deleted file]
target/linux/generic/pending-4.9/307-mips_highmem_offset.patch [deleted file]
target/linux/generic/pending-4.9/308-mips32r2_tune.patch [deleted file]
target/linux/generic/pending-4.9/309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch [deleted file]
target/linux/generic/pending-4.9/310-arm_module_unresolved_weak_sym.patch [deleted file]
target/linux/generic/pending-4.9/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch [deleted file]
target/linux/generic/pending-4.9/332-arc-add-OWRTDTB-section.patch [deleted file]
target/linux/generic/pending-4.9/333-arc-enable-unaligned-access-in-kernel-mode.patch [deleted file]
target/linux/generic/pending-4.9/340-MIPS-mm-remove-mips_dma_mapping_error.patch [deleted file]
target/linux/generic/pending-4.9/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch [deleted file]
target/linux/generic/pending-4.9/400-mtd-add-rootfs-split-support.patch [deleted file]
target/linux/generic/pending-4.9/401-mtd-add-support-for-different-partition-parser-types.patch [deleted file]
target/linux/generic/pending-4.9/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch [deleted file]
target/linux/generic/pending-4.9/403-mtd-hook-mtdsplit-to-Kbuild.patch [deleted file]
target/linux/generic/pending-4.9/404-mtd-add-more-helper-functions.patch [deleted file]
target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch [deleted file]
target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch [deleted file]
target/linux/generic/pending-4.9/419-mtd-redboot-add-of_match_table-with-DT-binding.patch [deleted file]
target/linux/generic/pending-4.9/420-mtd-redboot_space.patch [deleted file]
target/linux/generic/pending-4.9/430-mtd-add-myloader-partition-parser.patch [deleted file]
target/linux/generic/pending-4.9/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch [deleted file]
target/linux/generic/pending-4.9/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch [deleted file]
target/linux/generic/pending-4.9/440-block2mtd_init.patch [deleted file]
target/linux/generic/pending-4.9/441-block2mtd_probe.patch [deleted file]
target/linux/generic/pending-4.9/450-mtd-m25p80-allow-fallback-from-spi_flash_read-to-reg.patch [deleted file]
target/linux/generic/pending-4.9/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch [deleted file]
target/linux/generic/pending-4.9/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch [deleted file]
target/linux/generic/pending-4.9/465-m25p80-mx-disable-software-protection.patch [deleted file]
target/linux/generic/pending-4.9/466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch [deleted file]
target/linux/generic/pending-4.9/470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch [deleted file]
target/linux/generic/pending-4.9/475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch [deleted file]
target/linux/generic/pending-4.9/476-mtd-spi-nor-add-eon-en25q128.patch [deleted file]
target/linux/generic/pending-4.9/477-mtd-add-spi-nor-add-mx25u3235f.patch [deleted file]
target/linux/generic/pending-4.9/478-mtd-spi-nor-Add-support-for-XM25QH64A-and-XM25QH128A.patch [deleted file]
target/linux/generic/pending-4.9/479-mtd-spi-nor-add-eon-en25qh32.patch [deleted file]
target/linux/generic/pending-4.9/480-mtd-set-rootfs-to-be-root-dev.patch [deleted file]
target/linux/generic/pending-4.9/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch [deleted file]
target/linux/generic/pending-4.9/491-ubi-auto-create-ubiblock-device-for-rootfs.patch [deleted file]
target/linux/generic/pending-4.9/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch [deleted file]
target/linux/generic/pending-4.9/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch [deleted file]
target/linux/generic/pending-4.9/494-mtd-ubi-add-EOF-marker-support.patch [deleted file]
target/linux/generic/pending-4.9/530-jffs2_make_lzma_available.patch [deleted file]
target/linux/generic/pending-4.9/532-jffs2_eofdetect.patch [deleted file]
target/linux/generic/pending-4.9/551-ubifs-fix-default-compression-selection.patch [deleted file]
target/linux/generic/pending-4.9/600-netfilter_conntrack_flush.patch [deleted file]
target/linux/generic/pending-4.9/610-netfilter_match_bypass_default_checks.patch [deleted file]
target/linux/generic/pending-4.9/611-netfilter_match_bypass_default_table.patch [deleted file]
target/linux/generic/pending-4.9/612-netfilter_match_reduce_memory_access.patch [deleted file]
target/linux/generic/pending-4.9/613-netfilter_optional_tcp_window_check.patch [deleted file]
target/linux/generic/pending-4.9/616-net_optimize_xfrm_calls.patch [deleted file]
target/linux/generic/pending-4.9/620-net_sched-codel-do-not-defer-queue-length-update.patch [deleted file]
target/linux/generic/pending-4.9/630-packet_socket_type.patch [deleted file]
target/linux/generic/pending-4.9/655-increase_skb_pad.patch [deleted file]
target/linux/generic/pending-4.9/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch [deleted file]
target/linux/generic/pending-4.9/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch [deleted file]
target/linux/generic/pending-4.9/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch [deleted file]
target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch [deleted file]
target/linux/generic/pending-4.9/681-NET-add-of_get_mac_address_mtd.patch [deleted file]
target/linux/generic/pending-4.9/701-phy_extension.patch [deleted file]
target/linux/generic/pending-4.9/703-phy-add-detach-callback-to-struct-phy_driver.patch [deleted file]
target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch [deleted file]
target/linux/generic/pending-4.9/735-net-phy-at803x-fix-at8033-sgmii-mode.patch [deleted file]
target/linux/generic/pending-4.9/810-pci_disable_common_quirks.patch [deleted file]
target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch [deleted file]
target/linux/generic/pending-4.9/821-usb-Remove-annoying-warning-about-bogus-URB.patch [deleted file]
target/linux/generic/pending-4.9/834-ledtrig-libata.patch [deleted file]
target/linux/generic/pending-4.9/890-uart_optional_sysrq.patch [deleted file]
target/linux/generic/pending-4.9/920-mangle_bootargs.patch [deleted file]
target/linux/imx6/Makefile
target/linux/imx6/patches-4.19/100-bootargs.patch [deleted file]
target/linux/imx6/patches-4.19/301-apalis-ixora-dts-leds.patch [deleted file]
target/linux/imx6/patches-4.19/302-apalis-ixora-dts-reset-button.patch [deleted file]
target/linux/ipq40xx/Makefile
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-a42.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex6100v2.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex6150v2.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-a62.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-linksys_ea8300.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac-c1.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac-c2.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac.dtsi [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts [deleted file]
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4029-mr33.dts [deleted file]
target/linux/ipq40xx/patches-4.19/070-v4.20-soc-qcom-spm-add-SCM-probe-dependency.patch [deleted file]
target/linux/ipq40xx/patches-4.19/071-01-v4.20-ARM-dts-qcom-ipq4019-use-v2-of-the-kpss-bringup-mech.patch [deleted file]
target/linux/ipq40xx/patches-4.19/071-02-ipq40xx-Fix-booting-secondary-cores.patch [deleted file]
target/linux/ipq40xx/patches-4.19/072-v4.20-ARM-dts-qcom-ipq4019-add-cpu-operating-points-for-cp.patch [deleted file]
target/linux/ipq40xx/patches-4.19/073-v4.20-ARM-dts-qcom-ipq4019-fix-cpu0-s-qcom-saw2-reg-value.patch [deleted file]
target/linux/ipq40xx/patches-4.19/074-ARM-qcom-Add-IPQ4019-SoC-support.patch [deleted file]
target/linux/ipq40xx/patches-4.19/075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch [deleted file]
target/linux/ipq40xx/patches-4.19/076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch [deleted file]
target/linux/ipq40xx/patches-4.19/077-qcom-ipq4019-add-USB-devicetree-nodes.patch [deleted file]
target/linux/ipq40xx/patches-4.19/079-v4.20-ARM-dts-qcom-ipq4019-fix-PCI-range.patch [deleted file]
target/linux/ipq40xx/patches-4.19/080-ARM-dts-qcom-add-gpio-ranges-property.patch [deleted file]
target/linux/ipq40xx/patches-4.19/081-clk-fix-apss-cpu-overclocking.patch [deleted file]
target/linux/ipq40xx/patches-4.19/082-v4.20-mtd-spinand-winbond-Add-support-for-W25N01GV.patch [deleted file]
target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch [deleted file]
target/linux/ipq40xx/patches-4.19/084-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch [deleted file]
target/linux/ipq40xx/patches-4.19/303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch [deleted file]
target/linux/ipq40xx/patches-4.19/700-net-add-qualcomm-mdio-and-phy.patch [deleted file]
target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch [deleted file]
target/linux/ipq40xx/patches-4.19/702-dts-ipq4019-add-PHY-switch-nodes.patch [deleted file]
target/linux/ipq40xx/patches-4.19/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch [deleted file]
target/linux/ipq40xx/patches-4.19/710-net-add-qualcomm-essedma-ethernet-driver.patch [deleted file]
target/linux/ipq40xx/patches-4.19/711-dts-ipq4019-add-ethernet-essedma-node.patch [deleted file]
target/linux/ipq40xx/patches-4.19/712-mr33-essedma.patch [deleted file]
target/linux/ipq40xx/patches-4.19/713-essedma-alloc-skb-ip-align.patch [deleted file]
target/linux/ipq40xx/patches-4.19/714-essedma-add-fix-for-memory-allocation.patch [deleted file]
target/linux/ipq40xx/patches-4.19/850-soc-add-qualcomm-syscon.patch [deleted file]
target/linux/ipq40xx/patches-4.19/900-dts-ipq4019-ap-dk01.1.patch [deleted file]
target/linux/ipq40xx/patches-4.19/901-arm-boot-add-dts-files.patch [deleted file]
target/linux/ipq40xx/patches-4.19/997-device_tree_cmdline.patch [deleted file]
target/linux/ixp4xx/Makefile [deleted file]
target/linux/ixp4xx/base-files/lib/ixp4xx.sh [deleted file]
target/linux/ixp4xx/base-files/lib/preinit/01_sysinfo [deleted file]
target/linux/ixp4xx/base-files/lib/preinit/05_set_ether_mac_ixp4xx [deleted file]
target/linux/ixp4xx/base-files/lib/upgrade/platform.sh [deleted file]
target/linux/ixp4xx/config-4.9 [deleted file]
target/linux/ixp4xx/generic/profiles/100-Default.mk [deleted file]
target/linux/ixp4xx/generic/profiles/105-Atheros-ath5k.mk [deleted file]
target/linux/ixp4xx/generic/profiles/200-NSLU2.mk [deleted file]
target/linux/ixp4xx/generic/profiles/300-NAS100d.mk [deleted file]
target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk [deleted file]
target/linux/ixp4xx/generic/profiles/500-USR8200.mk [deleted file]
target/linux/ixp4xx/generic/target.mk [deleted file]
target/linux/ixp4xx/harddisk/config-default [deleted file]
target/linux/ixp4xx/harddisk/profiles/100-FSG3.mk [deleted file]
target/linux/ixp4xx/harddisk/target.mk [deleted file]
target/linux/ixp4xx/image/Makefile [deleted file]
target/linux/ixp4xx/modules.mk [deleted file]
target/linux/ixp4xx/patches-4.9/001-arm-ixp4xx-set-cohorent_dma_mask-for-ethernet-platfo.patch [deleted file]
target/linux/ixp4xx/patches-4.9/002-ixp4xx_eth-use-parent-device-for-dma-allocations.patch [deleted file]
target/linux/ixp4xx/patches-4.9/020-gateworks_i2c_pld.patch [deleted file]
target/linux/ixp4xx/patches-4.9/030-gpio_line_config.patch [deleted file]
target/linux/ixp4xx/patches-4.9/040-arm_mach_types.patch [deleted file]
target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch [deleted file]
target/linux/ixp4xx/patches-4.9/100-wg302v2_gateway7001_mac_plat_info.patch [deleted file]
target/linux/ixp4xx/patches-4.9/105-wg302v1_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/110-pronghorn_series_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/111-pronghorn_swap_uarts.patch [deleted file]
target/linux/ixp4xx/patches-4.9/115-sidewinder_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/116-sidewinder_fis_location.patch [deleted file]
target/linux/ixp4xx/patches-4.9/120-compex_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/130-wrt300nv2_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/131-wrt300nv2_mac_plat_info.patch [deleted file]
target/linux/ixp4xx/patches-4.9/132-wrt300nv2_mac_fix.patch [deleted file]
target/linux/ixp4xx/patches-4.9/150-lanready_ap1000_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/151-lanready_ap1000_mac_plat_info.patch [deleted file]
target/linux/ixp4xx/patches-4.9/160-delayed_uart_io.patch [deleted file]
target/linux/ixp4xx/patches-4.9/162-wg302v1_mem_fixup.patch [deleted file]
target/linux/ixp4xx/patches-4.9/170-ixdpg425_mac_plat_info.patch [deleted file]
target/linux/ixp4xx/patches-4.9/175-avila_hss_audio_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/180-tw5334_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/185-mi424wr_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/190-cambria_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/201-npe_driver_print_license_location.patch [deleted file]
target/linux/ixp4xx/patches-4.9/205-npe_driver_separate_phy_functions.patch [deleted file]
target/linux/ixp4xx/patches-4.9/206-npe_driver_add_update_link_function.patch [deleted file]
target/linux/ixp4xx/patches-4.9/207-npe_driver_multiphy_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/295-latch_led_driver.patch [deleted file]
target/linux/ixp4xx/patches-4.9/300-avila_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/304-ixp4xx_eth_jumboframe.patch [deleted file]
target/linux/ixp4xx/patches-4.9/310-gtwx5717_spi_bus.patch [deleted file]
target/linux/ixp4xx/patches-4.9/311-gtwx5717_mac_plat_info.patch [deleted file]
target/linux/ixp4xx/patches-4.9/312-ixp4xx_pata_optimization.patch [deleted file]
target/linux/ixp4xx/patches-4.9/500-usr8200_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/520-tw2662_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/530-ap42x_support.patch [deleted file]
target/linux/ixp4xx/patches-4.9/600-skb_avoid_dmabounce.patch [deleted file]
target/linux/ixp4xx/patches-4.9/900-ixp4xx-crypto-include-module.h.patch [deleted file]
target/linux/ixp4xx/patches-4.9/910-ixp4xx-nr_irq_lines.patch [deleted file]
target/linux/kirkwood/Makefile
target/linux/kirkwood/patches-4.19/100-ib62x0.patch [deleted file]
target/linux/kirkwood/patches-4.19/101-iconnect.patch [deleted file]
target/linux/kirkwood/patches-4.19/102-dockstar.patch [deleted file]
target/linux/kirkwood/patches-4.19/103-iomega-ix2-200.patch [deleted file]
target/linux/kirkwood/patches-4.19/104-ea3500.patch [deleted file]
target/linux/kirkwood/patches-4.19/105-ea4500.patch [deleted file]
target/linux/kirkwood/patches-4.19/105-goflexhome.patch [deleted file]
target/linux/kirkwood/patches-4.19/106-goflexnet.patch [deleted file]
target/linux/kirkwood/patches-4.19/107-01-zyxel-nsa3x0-common-nand-partitions.patch [deleted file]
target/linux/kirkwood/patches-4.19/107-02-nsa310b.patch [deleted file]
target/linux/kirkwood/patches-4.19/108-on100.patch [deleted file]
target/linux/kirkwood/patches-4.19/109-pogoplug_v4.patch [deleted file]
target/linux/kirkwood/patches-4.19/201-enable-sata-port-specific-led-triggers.patch [deleted file]
target/linux/kirkwood/patches-4.19/202-linksys-find-active-root.patch [deleted file]
target/linux/mpc85xx/Makefile
target/linux/mpc85xx/patches-4.19/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch [deleted file]
target/linux/mpc85xx/patches-4.19/100-powerpc-85xx-tl-wdr4900-v1-support.patch [deleted file]
target/linux/mpc85xx/patches-4.19/101-powerpc-85xx-hiveap-330-support.patch [deleted file]
target/linux/mpc85xx/patches-4.19/102-powerpc-add-cmdline-override.patch [deleted file]
target/linux/mpc85xx/patches-4.19/103-powerpc-85xx-red-15w-rev1.patch [deleted file]
target/linux/mpc85xx/patches-4.19/104-powerpc-mpc85xx-change-P2020RDB-dts-file-for-OpenWRT.patch [deleted file]
target/linux/mpc85xx/patches-4.19/105-powerpc-85xx-panda-support.patch [deleted file]
target/linux/octeon/Makefile
target/linux/octeon/patches-4.19/100-ubnt_edgerouter2_support.patch [deleted file]
target/linux/octeon/patches-4.19/110-er200-ethernet_probe_order.patch [deleted file]
target/linux/octeon/patches-4.19/120-cmdline-hack.patch [deleted file]
target/linux/orion/Makefile [deleted file]
target/linux/orion/base-files/etc/board.d/02_network [deleted file]
target/linux/orion/base-files/etc/hotplug.d/usb/10-usb [deleted file]
target/linux/orion/base-files/lib/preinit/01_sysinfo [deleted file]
target/linux/orion/config-4.9 [deleted file]
target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware [deleted file]
target/linux/orion/generic/base-files/lib/upgrade/platform.sh [deleted file]
target/linux/orion/generic/target.mk [deleted file]
target/linux/orion/harddisk/config-default [deleted file]
target/linux/orion/harddisk/target.mk [deleted file]
target/linux/orion/image/Makefile [deleted file]
target/linux/orion/image/generic.mk [deleted file]
target/linux/orion/image/harddisk.mk [deleted file]
target/linux/orion/patches-4.9/000-arm_openwrt_machtypes.patch [deleted file]
target/linux/orion/patches-4.9/100-wrt350nv2_openwrt_partition_map.patch [deleted file]
target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch [deleted file]
target/linux/orion/patches-4.9/200-dt2_board_support.patch [deleted file]
target/linux/orion/patches-4.9/210-wn802t_support.patch [deleted file]
target/linux/sunxi/Makefile
target/linux/sunxi/patches-4.19/101-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch [deleted file]
target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch [deleted file]
target/linux/sunxi/patches-4.19/310-Revert-ARM-dts-sun7i-Add-BCM53125-switch-nodes-to-th.patch [deleted file]
target/linux/sunxi/patches-4.19/400-arm64-allwinner-a64-sopine-Add-Sopine-flash-partitio.patch [deleted file]
target/linux/tegra/Makefile
target/linux/tegra/patches-4.19/100-serial8250-on-tegra-hsuart-recover-from-spurious-interrupts-due-to-tegra2-silicon-bug.patch [deleted file]
target/linux/tegra/patches-4.19/101-ARM-dtc-tegra-enable-front-panel-leds-in-TrimSlice.patch [deleted file]
target/linux/x86/Makefile
target/linux/x86/patches-4.19/011-tune_lzma_options.patch [deleted file]
target/linux/x86/patches-4.19/100-fix_cs5535_clockevt.patch [deleted file]
target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch [deleted file]
target/linux/x86/patches-4.19/800-hwmon-w83627ehf-dont-claim-nct677x.patch [deleted file]

index a67aee3..c325332 100644 (file)
@@ -14,7 +14,6 @@ MAINTAINER:=Chris Blake <chrisrblake93@gmail.com>, \
 SUBTARGETS:=nand sata
 
 KERNEL_PATCHVER:=4.14
-KERNEL_TESTING_PATCHVER := 4.19
 
 define Target/Description
        Build images for AppliedMicro APM821xx based boards.
diff --git a/target/linux/apm821xx/patches-4.19/010-dmaengine-dw-dmac-implement-dma-prot.patch b/target/linux/apm821xx/patches-4.19/010-dmaengine-dw-dmac-implement-dma-prot.patch
deleted file mode 100644 (file)
index 86da6fc..0000000
+++ /dev/null
@@ -1,141 +0,0 @@
-From 7b0c03ecc42fb223baf015877fee9d517c2c8af1 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sat, 17 Nov 2018 17:17:21 +0100
-Subject: dmaengine: dw-dmac: implement dma protection control setting
-
-This patch adds a new device-tree property that allows to
-specify the dma protection control bits for the all of the
-DMA controller's channel uniformly.
-
-Setting the "correct" bits can have a huge impact on the
-PPC460EX and APM82181 that use this DMA engine in combination
-with a DesignWare' SATA-II core (sata_dwc_460ex driver).
-
-In the OpenWrt Forum, the user takimata reported that:
-|It seems your patch unleashed the full power of the SATA port.
-|Where I was previously hitting a really hard limit at around
-|82 MB/s for reading and 27 MB/s for writing, I am now getting this:
-|
-|root@OpenWrt:/mnt# time dd if=/dev/zero of=tempfile bs=1M count=1024
-|1024+0 records in
-|1024+0 records out
-|real    0m 13.65s
-|user    0m 0.01s
-|sys     0m 11.89s
-|
-|root@OpenWrt:/mnt# time dd if=tempfile of=/dev/null bs=1M count=1024
-|1024+0 records in
-|1024+0 records out
-|real    0m 8.41s
-|user    0m 0.01s
-|sys     0m 4.70s
-|
-|This means: 121 MB/s reading and 75 MB/s writing!
-|
-|The drive is a WD Green WD10EARX taken from an older MBL Single.
-|I repeated the test a few times with even larger files to rule out
-|any caching, I'm still seeing the same great performance. OpenWrt is
-|now completely on par with the original MBL firmware's performance.
-
-Another user And.short reported:
-|I can report that your fix worked! Boots up fine with two
-|drives even with more partitions, and no more reboot on
-|concurrent disk access!
-
-A closer look into the sata_dwc_460ex code revealed that
-the driver did initally set the correct protection control
-bits. However, this feature was lost when the sata_dwc_460ex
-driver was converted to the generic DMA driver framework.
-
-BugLink: https://forum.openwrt.org/t/wd-mybook-live-duo-two-disks/16195/55
-BugLink: https://forum.openwrt.org/t/wd-mybook-live-duo-two-disks/16195/50
-Fixes: 8b3444852a2b ("sata_dwc_460ex: move to generic DMA driver")
-Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Vinod Koul <vkoul@kernel.org>
----
-
---- a/drivers/dma/dw/core.c
-+++ b/drivers/dma/dw/core.c
-@@ -160,12 +160,14 @@ static void dwc_initialize_chan_idma32(s
- static void dwc_initialize_chan_dw(struct dw_dma_chan *dwc)
- {
-+      struct dw_dma *dw = to_dw_dma(dwc->chan.device);
-       u32 cfghi = DWC_CFGH_FIFO_MODE;
-       u32 cfglo = DWC_CFGL_CH_PRIOR(dwc->priority);
-       bool hs_polarity = dwc->dws.hs_polarity;
-       cfghi |= DWC_CFGH_DST_PER(dwc->dws.dst_id);
-       cfghi |= DWC_CFGH_SRC_PER(dwc->dws.src_id);
-+      cfghi |= DWC_CFGH_PROTCTL(dw->pdata->protctl);
-       /* Set polarity of handshake interface */
-       cfglo |= hs_polarity ? DWC_CFGL_HS_DST_POL | DWC_CFGL_HS_SRC_POL : 0;
---- a/drivers/dma/dw/platform.c
-+++ b/drivers/dma/dw/platform.c
-@@ -162,6 +162,12 @@ dw_dma_parse_dt(struct platform_device *
-                       pdata->multi_block[tmp] = 1;
-       }
-+      if (!of_property_read_u32(np, "snps,dma-protection-control", &tmp)) {
-+              if (tmp > CHAN_PROTCTL_MASK)
-+                      return NULL;
-+              pdata->protctl = tmp;
-+      }
-+
-       return pdata;
- }
- #else
---- a/drivers/dma/dw/regs.h
-+++ b/drivers/dma/dw/regs.h
-@@ -200,6 +200,10 @@ enum dw_dma_msize {
- #define DWC_CFGH_FCMODE               (1 << 0)
- #define DWC_CFGH_FIFO_MODE    (1 << 1)
- #define DWC_CFGH_PROTCTL(x)   ((x) << 2)
-+#define DWC_CFGH_PROTCTL_DATA (0 << 2)        /* data access - always set */
-+#define DWC_CFGH_PROTCTL_PRIV (1 << 2)        /* privileged -> AHB HPROT[1] */
-+#define DWC_CFGH_PROTCTL_BUFFER       (2 << 2)        /* bufferable -> AHB HPROT[2] */
-+#define DWC_CFGH_PROTCTL_CACHE        (4 << 2)        /* cacheable  -> AHB HPROT[3] */
- #define DWC_CFGH_DS_UPD_EN    (1 << 5)
- #define DWC_CFGH_SS_UPD_EN    (1 << 6)
- #define DWC_CFGH_SRC_PER(x)   ((x) << 7)
---- a/include/linux/platform_data/dma-dw.h
-+++ b/include/linux/platform_data/dma-dw.h
-@@ -49,6 +49,7 @@ struct dw_dma_slave {
-  * @data_width: Maximum data width supported by hardware per AHB master
-  *            (in bytes, power of 2)
-  * @multi_block: Multi block transfers supported by hardware per channel.
-+ * @protctl: Protection control signals setting per channel.
-  */
- struct dw_dma_platform_data {
-       unsigned int    nr_channels;
-@@ -65,6 +66,11 @@ struct dw_dma_platform_data {
-       unsigned char   nr_masters;
-       unsigned char   data_width[DW_DMA_MAX_NR_MASTERS];
-       unsigned char   multi_block[DW_DMA_MAX_NR_CHANNELS];
-+#define CHAN_PROTCTL_PRIVILEGED               BIT(0)
-+#define CHAN_PROTCTL_BUFFERABLE               BIT(1)
-+#define CHAN_PROTCTL_CACHEABLE                BIT(2)
-+#define CHAN_PROTCTL_MASK             GENMASK(2, 0)
-+      unsigned char   protctl;
- };
- #endif /* _PLATFORM_DATA_DMA_DW_H */
---- /dev/null
-+++ b/include/dt-bindings/dma/dw-dmac.h
-@@ -0,0 +1,14 @@
-+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
-+
-+#ifndef __DT_BINDINGS_DMA_DW_DMAC_H__
-+#define __DT_BINDINGS_DMA_DW_DMAC_H__
-+
-+/*
-+ * Protection Control bits provide protection against illegal transactions.
-+ * The protection bits[0:2] are one-to-one mapped to AHB HPROT[3:1] signals.
-+ */
-+#define DW_DMAC_HPROT1_PRIVILEGED_MODE        (1 << 0)        /* Privileged Mode */
-+#define DW_DMAC_HPROT2_BUFFERABLE     (1 << 1)        /* DMA is bufferable */
-+#define DW_DMAC_HPROT3_CACHEABLE      (1 << 2)        /* DMA is cacheable */
-+
-+#endif /* __DT_BINDINGS_DMA_DW_DMAC_H__ */
diff --git a/target/linux/apm821xx/patches-4.19/023-0003-crypto-drop-mask-CRYPTO_ALG_ASYNC-from-cipher-tfm-al.patch b/target/linux/apm821xx/patches-4.19/023-0003-crypto-drop-mask-CRYPTO_ALG_ASYNC-from-cipher-tfm-al.patch
deleted file mode 100644 (file)
index bb1f406..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From 1ad0f1603a6b2afb62a1c065409aaa4e43ca7627 Mon Sep 17 00:00:00 2001
-From: Eric Biggers <ebiggers@google.com>
-Date: Wed, 14 Nov 2018 12:19:39 -0800
-Subject: [PATCH 03/15] crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm
- allocations
-
-'cipher' algorithms (single block ciphers) are always synchronous, so
-passing CRYPTO_ALG_ASYNC in the mask to crypto_alloc_cipher() has no
-effect.  Many users therefore already don't pass it, but some still do.
-This inconsistency can cause confusion, especially since the way the
-'mask' argument works is somewhat counterintuitive.
-
-Thus, just remove the unneeded CRYPTO_ALG_ASYNC flags.
-
-This patch shouldn't change any actual behavior.
-
-Signed-off-by: Eric Biggers <ebiggers@google.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_alg.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_alg.c
-+++ b/drivers/crypto/amcc/crypto4xx_alg.c
-@@ -526,8 +526,7 @@ static int crypto4xx_compute_gcm_hash_ke
-       uint8_t src[16] = { 0 };
-       int rc = 0;
--      aes_tfm = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC |
--                                    CRYPTO_ALG_NEED_FALLBACK);
-+      aes_tfm = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_NEED_FALLBACK);
-       if (IS_ERR(aes_tfm)) {
-               rc = PTR_ERR(aes_tfm);
-               pr_warn("could not load aes cipher driver: %d\n", rc);
diff --git a/target/linux/apm821xx/patches-4.19/023-0004-crypto4xx_core-don-t-abuse-__dma_sync_page.patch b/target/linux/apm821xx/patches-4.19/023-0004-crypto4xx_core-don-t-abuse-__dma_sync_page.patch
deleted file mode 100644 (file)
index 635ab00..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 67d8208fba1324fa0198f9fc58a9edbe09596947 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Sun, 16 Dec 2018 18:19:46 +0100
-Subject: [PATCH 04/15] crypto4xx_core: don't abuse __dma_sync_page
-
-This function is internal to the DMA API implementation. Instead use
-the DMA API to properly unmap. Note that the DMA API usage in this
-driver is a disaster and urgently needs some work - it is missing all
-the unmaps, seems to do a secondary map where it looks like it should
-to a unmap in one place to work around cache coherency and the
-directions passed in seem to be partially wrong.
-
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Tested-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
----
- drivers/crypto/amcc/crypto4xx_core.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -596,7 +596,7 @@ static void crypto4xx_aead_done(struct c
-                                         pd->pd_ctl_len.bf.pkt_len,
-                                         dst);
-       } else {
--              __dma_sync_page(sg_page(dst), dst->offset, dst->length,
-+              dma_unmap_page(dev->core_dev->device, pd->dest, dst->length,
-                               DMA_FROM_DEVICE);
-       }
diff --git a/target/linux/apm821xx/patches-4.19/023-0005-cross-tree-phase-out-dma_zalloc_coherent.patch b/target/linux/apm821xx/patches-4.19/023-0005-cross-tree-phase-out-dma_zalloc_coherent.patch
deleted file mode 100644 (file)
index 857578b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 750afb08ca71310fcf0c4e2cb1565c63b8235b60 Mon Sep 17 00:00:00 2001
-From: Luis Chamberlain <mcgrof@kernel.org>
-Date: Fri, 4 Jan 2019 09:23:09 +0100
-Subject: [PATCH 05/15] cross-tree: phase out dma_zalloc_coherent()
-
-We already need to zero out memory for dma_alloc_coherent(), as such
-using dma_zalloc_coherent() is superflous. Phase it out.
-
-This change was generated with the following Coccinelle SmPL patch:
-
-@ replace_dma_zalloc_coherent @
-expression dev, size, data, handle, flags;
-@@
-
--dma_zalloc_coherent(dev, size, handle, flags)
-+dma_alloc_coherent(dev, size, handle, flags)
-
-Suggested-by: Christoph Hellwig <hch@lst.de>
-Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
-[hch: re-ran the script on the latest tree]
-Signed-off-by: Christoph Hellwig <hch@lst.de>
----
- drivers/crypto/amcc/crypto4xx_core.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -283,9 +283,9 @@ static u32 crypto4xx_put_pd_to_pdr(struc
-  */
- static u32 crypto4xx_build_gdr(struct crypto4xx_device *dev)
- {
--      dev->gdr = dma_zalloc_coherent(dev->core_dev->device,
--                                     sizeof(struct ce_gd) * PPC4XX_NUM_GD,
--                                     &dev->gdr_pa, GFP_ATOMIC);
-+      dev->gdr = dma_alloc_coherent(dev->core_dev->device,
-+                                    sizeof(struct ce_gd) * PPC4XX_NUM_GD,
-+                                    &dev->gdr_pa, GFP_ATOMIC);
-       if (!dev->gdr)
-               return -ENOMEM;
diff --git a/target/linux/apm821xx/patches-4.19/023-0006-crypto-crypto4xx-add-prng-crypto-support.patch b/target/linux/apm821xx/patches-4.19/023-0006-crypto-crypto4xx-add-prng-crypto-support.patch
deleted file mode 100644 (file)
index ba44197..0000000
+++ /dev/null
@@ -1,199 +0,0 @@
-From d072bfa4885354fff86aa1fb1dbc4f1533c9e0bf Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sun, 23 Dec 2018 02:16:13 +0100
-Subject: [PATCH 06/15] crypto: crypto4xx - add prng crypto support
-
-This patch adds support for crypto4xx's ANSI X9.17 Annex C compliant
-pseudo random number generator which provides a pseudo random source
-for the purpose of generating  Initialization Vectors (IV's) for AES
-algorithms to the Packet Engine and other pseudo random number
-requirements.
-
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_core.c    | 87 +++++++++++++++++++++++++
- drivers/crypto/amcc/crypto4xx_core.h    |  4 ++
- drivers/crypto/amcc/crypto4xx_reg_def.h |  1 +
- 3 files changed, 92 insertions(+)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -40,9 +40,11 @@
- #include <crypto/ctr.h>
- #include <crypto/gcm.h>
- #include <crypto/sha.h>
-+#include <crypto/rng.h>
- #include <crypto/scatterwalk.h>
- #include <crypto/skcipher.h>
- #include <crypto/internal/aead.h>
-+#include <crypto/internal/rng.h>
- #include <crypto/internal/skcipher.h>
- #include "crypto4xx_reg_def.h"
- #include "crypto4xx_core.h"
-@@ -1046,6 +1048,10 @@ static int crypto4xx_register_alg(struct
-                       rc = crypto_register_ahash(&alg->alg.u.hash);
-                       break;
-+              case CRYPTO_ALG_TYPE_RNG:
-+                      rc = crypto_register_rng(&alg->alg.u.rng);
-+                      break;
-+
-               default:
-                       rc = crypto_register_skcipher(&alg->alg.u.cipher);
-                       break;
-@@ -1075,6 +1081,10 @@ static void crypto4xx_unregister_alg(str
-                       crypto_unregister_aead(&alg->alg.u.aead);
-                       break;
-+              case CRYPTO_ALG_TYPE_RNG:
-+                      crypto_unregister_rng(&alg->alg.u.rng);
-+                      break;
-+
-               default:
-                       crypto_unregister_skcipher(&alg->alg.u.cipher);
-               }
-@@ -1133,6 +1143,69 @@ static irqreturn_t crypto4xx_ce_interrup
-               PPC4XX_TMO_ERR_INT);
- }
-+static int ppc4xx_prng_data_read(struct crypto4xx_device *dev,
-+                               u8 *data, unsigned int max)
-+{
-+      unsigned int i, curr = 0;
-+      u32 val[2];
-+
-+      do {
-+              /* trigger PRN generation */
-+              writel(PPC4XX_PRNG_CTRL_AUTO_EN,
-+                     dev->ce_base + CRYPTO4XX_PRNG_CTRL);
-+
-+              for (i = 0; i < 1024; i++) {
-+                      /* usually 19 iterations are enough */
-+                      if ((readl(dev->ce_base + CRYPTO4XX_PRNG_STAT) &
-+                           CRYPTO4XX_PRNG_STAT_BUSY))
-+                              continue;
-+
-+                      val[0] = readl_be(dev->ce_base + CRYPTO4XX_PRNG_RES_0);
-+                      val[1] = readl_be(dev->ce_base + CRYPTO4XX_PRNG_RES_1);
-+                      break;
-+              }
-+              if (i == 1024)
-+                      return -ETIMEDOUT;
-+
-+              if ((max - curr) >= 8) {
-+                      memcpy(data, &val, 8);
-+                      data += 8;
-+                      curr += 8;
-+              } else {
-+                      /* copy only remaining bytes */
-+                      memcpy(data, &val, max - curr);
-+                      break;
-+              }
-+      } while (curr < max);
-+
-+      return curr;
-+}
-+
-+static int crypto4xx_prng_generate(struct crypto_rng *tfm,
-+                                 const u8 *src, unsigned int slen,
-+                                 u8 *dstn, unsigned int dlen)
-+{
-+      struct rng_alg *alg = crypto_rng_alg(tfm);
-+      struct crypto4xx_alg *amcc_alg;
-+      struct crypto4xx_device *dev;
-+      int ret;
-+
-+      amcc_alg = container_of(alg, struct crypto4xx_alg, alg.u.rng);
-+      dev = amcc_alg->dev;
-+
-+      mutex_lock(&dev->core_dev->rng_lock);
-+      ret = ppc4xx_prng_data_read(dev, dstn, dlen);
-+      mutex_unlock(&dev->core_dev->rng_lock);
-+      return ret;
-+}
-+
-+
-+static int crypto4xx_prng_seed(struct crypto_rng *tfm, const u8 *seed,
-+                      unsigned int slen)
-+{
-+      return 0;
-+}
-+
- /**
-  * Supported Crypto Algorithms
-  */
-@@ -1302,6 +1375,18 @@ static struct crypto4xx_alg_common crypt
-                       .cra_module     = THIS_MODULE,
-               },
-       } },
-+      { .type = CRYPTO_ALG_TYPE_RNG, .u.rng = {
-+              .base = {
-+                      .cra_name               = "stdrng",
-+                      .cra_driver_name        = "crypto4xx_rng",
-+                      .cra_priority           = 300,
-+                      .cra_ctxsize            = 0,
-+                      .cra_module             = THIS_MODULE,
-+              },
-+              .generate               = crypto4xx_prng_generate,
-+              .seed                   = crypto4xx_prng_seed,
-+              .seedsize               = 0,
-+      } },
- };
- /**
-@@ -1371,6 +1456,7 @@ static int crypto4xx_probe(struct platfo
-       core_dev->dev->core_dev = core_dev;
-       core_dev->dev->is_revb = is_revb;
-       core_dev->device = dev;
-+      mutex_init(&core_dev->rng_lock);
-       spin_lock_init(&core_dev->lock);
-       INIT_LIST_HEAD(&core_dev->dev->alg_list);
-       ratelimit_default_init(&core_dev->dev->aead_ratelimit);
-@@ -1450,6 +1536,7 @@ static int crypto4xx_remove(struct platf
-       tasklet_kill(&core_dev->tasklet);
-       /* Un-register with Linux CryptoAPI */
-       crypto4xx_unregister_alg(core_dev->dev);
-+      mutex_destroy(&core_dev->rng_lock);
-       /* Free all allocated memory */
-       crypto4xx_stop_all(core_dev);
---- a/drivers/crypto/amcc/crypto4xx_core.h
-+++ b/drivers/crypto/amcc/crypto4xx_core.h
-@@ -23,8 +23,10 @@
- #define __CRYPTO4XX_CORE_H__
- #include <linux/ratelimit.h>
-+#include <linux/mutex.h>
- #include <crypto/internal/hash.h>
- #include <crypto/internal/aead.h>
-+#include <crypto/internal/rng.h>
- #include <crypto/internal/skcipher.h>
- #include "crypto4xx_reg_def.h"
- #include "crypto4xx_sa.h"
-@@ -119,6 +121,7 @@ struct crypto4xx_core_device {
-       u32 irq;
-       struct tasklet_struct tasklet;
-       spinlock_t lock;
-+      struct mutex rng_lock;
- };
- struct crypto4xx_ctx {
-@@ -143,6 +146,7 @@ struct crypto4xx_alg_common {
-               struct skcipher_alg cipher;
-               struct ahash_alg hash;
-               struct aead_alg aead;
-+              struct rng_alg rng;
-       } u;
- };
---- a/drivers/crypto/amcc/crypto4xx_reg_def.h
-+++ b/drivers/crypto/amcc/crypto4xx_reg_def.h
-@@ -100,6 +100,7 @@
- #define CRYPTO4XX_ENDIAN_CFG                  0x000600d8
- #define CRYPTO4XX_PRNG_STAT                   0x00070000
-+#define CRYPTO4XX_PRNG_STAT_BUSY              0x1
- #define CRYPTO4XX_PRNG_CTRL                   0x00070004
- #define CRYPTO4XX_PRNG_SEED_L                 0x00070008
- #define CRYPTO4XX_PRNG_SEED_H                 0x0007000c
diff --git a/target/linux/apm821xx/patches-4.19/023-0007-crypto-crypto4xx-Fix-wrong-ppc4xx_trng_probe-ppc4xx_.patch b/target/linux/apm821xx/patches-4.19/023-0007-crypto-crypto4xx-Fix-wrong-ppc4xx_trng_probe-ppc4xx_.patch
deleted file mode 100644 (file)
index d2c3848..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From 6e88098ca43a3d80ae86908f7badba683c8a0d84 Mon Sep 17 00:00:00 2001
-From: Corentin Labbe <clabbe@baylibre.com>
-Date: Wed, 23 Jan 2019 11:24:18 +0000
-Subject: [PATCH 07/15] crypto: crypto4xx - Fix wrong
- ppc4xx_trng_probe()/ppc4xx_trng_remove() arguments
-
-When building without CONFIG_HW_RANDOM_PPC4XX, I hit the following build failure:
-drivers/crypto/amcc/crypto4xx_core.c: In function 'crypto4xx_probe':
-drivers/crypto/amcc/crypto4xx_core.c:1407:20: error: passing argument 1 of 'ppc4xx_trng_probe' from incompatible pointer type [-Werror=incompatible-pointer-types]
-In file included from drivers/crypto/amcc/crypto4xx_core.c:50:0:
-drivers/crypto/amcc/crypto4xx_trng.h:28:20: note: expected 'struct crypto4xx_device *' but argument is of type 'struct crypto4xx_core_device *'
-drivers/crypto/amcc/crypto4xx_core.c: In function 'crypto4xx_remove':
-drivers/crypto/amcc/crypto4xx_core.c:1434:21: error: passing argument 1 of 'ppc4xx_trng_remove' from incompatible pointer type [-Werror=incompatible-pointer-types]
-In file included from drivers/crypto/amcc/crypto4xx_core.c:50:0:
-drivers/crypto/amcc/crypto4xx_trng.h:30:20: note: expected 'struct crypto4xx_device *' but argument is of type 'struct crypto4xx_core_device *'
-
-This patch fix the needed argument of ppc4xx_trng_probe()/ppc4xx_trng_remove() in that case.
-
-Fixes: 5343e674f32f ("crypto4xx: integrate ppc4xx-rng into crypto4xx")
-Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_trng.h | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_trng.h
-+++ b/drivers/crypto/amcc/crypto4xx_trng.h
-@@ -26,9 +26,9 @@ void ppc4xx_trng_probe(struct crypto4xx_
- void ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev);
- #else
- static inline void ppc4xx_trng_probe(
--      struct crypto4xx_device *dev __maybe_unused) { }
-+      struct crypto4xx_core_device *dev __maybe_unused) { }
- static inline void ppc4xx_trng_remove(
--      struct crypto4xx_device *dev __maybe_unused) { }
-+      struct crypto4xx_core_device *dev __maybe_unused) { }
- #endif
- #endif
diff --git a/target/linux/apm821xx/patches-4.19/023-0012-crypto-crypto4xx-get-rid-of-redundant-using_sd-varia.patch b/target/linux/apm821xx/patches-4.19/023-0012-crypto-crypto4xx-get-rid-of-redundant-using_sd-varia.patch
deleted file mode 100644 (file)
index 4b246a7..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-From 38cf5533d7a876f75088bacc1277046f30005f28 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Mon, 22 Apr 2019 13:26:01 +0200
-Subject: [PATCH 12/15] crypto: crypto4xx - get rid of redundant using_sd
- variable
-
-using_sd is used as a stand-in for sa_command_0.bf.scatter
-that we need to set anyway, so we might as well just prevent
-double-accounting.
-
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_core.c | 6 ++----
- drivers/crypto/amcc/crypto4xx_core.h | 1 -
- 2 files changed, 2 insertions(+), 5 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -539,7 +539,7 @@ static void crypto4xx_cipher_done(struct
-       req = skcipher_request_cast(pd_uinfo->async_req);
--      if (pd_uinfo->using_sd) {
-+      if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
-               crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
-                                         req->cryptlen, req->dst);
-       } else {
-@@ -593,7 +593,7 @@ static void crypto4xx_aead_done(struct c
-       u32 icv[AES_BLOCK_SIZE];
-       int err = 0;
--      if (pd_uinfo->using_sd) {
-+      if (pd_uinfo->sa_va->sa_command_0.bf.scatter) {
-               crypto4xx_copy_pkt_to_dst(dev, pd, pd_uinfo,
-                                         pd->pd_ctl_len.bf.pkt_len,
-                                         dst);
-@@ -887,7 +887,6 @@ int crypto4xx_build_pd(struct crypto_asy
-                * we know application give us dst a whole piece of memory
-                * no need to use scatter ring.
-                */
--              pd_uinfo->using_sd = 0;
-               pd_uinfo->first_sd = 0xffffffff;
-               sa->sa_command_0.bf.scatter = 0;
-               pd->dest = (u32)dma_map_page(dev->core_dev->device,
-@@ -901,7 +900,6 @@ int crypto4xx_build_pd(struct crypto_asy
-               u32 sd_idx = fst_sd;
-               nbytes = datalen;
-               sa->sa_command_0.bf.scatter = 1;
--              pd_uinfo->using_sd = 1;
-               pd_uinfo->first_sd = fst_sd;
-               sd = crypto4xx_get_sdp(dev, &sd_dma, sd_idx);
-               pd->dest = sd_dma;
---- a/drivers/crypto/amcc/crypto4xx_core.h
-+++ b/drivers/crypto/amcc/crypto4xx_core.h
-@@ -64,7 +64,6 @@ union shadow_sa_buf {
- struct pd_uinfo {
-       struct crypto4xx_device *dev;
-       u32   state;
--      u32 using_sd;
-       u32 first_gd;           /* first gather discriptor
-                               used by this packet */
-       u32 num_gd;             /* number of gather discriptor
diff --git a/target/linux/apm821xx/patches-4.19/023-0013-crypto-crypto4xx-fix-AES-CTR-blocksize-value.patch b/target/linux/apm821xx/patches-4.19/023-0013-crypto-crypto4xx-fix-AES-CTR-blocksize-value.patch
deleted file mode 100644 (file)
index a6fa84d..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-From bfa2ba7d9e6b20aca82b99e6842fe18842ae3a0f Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Fri, 17 May 2019 23:15:57 +0200
-Subject: [PATCH 13/15] crypto: crypto4xx - fix AES CTR blocksize value
-
-This patch fixes a issue with crypto4xx's ctr(aes) that was
-discovered by libcapi's kcapi-enc-test.sh test.
-
-The some of the ctr(aes) encryptions test were failing on the
-non-power-of-two test:
-
-kcapi-enc - Error: encryption failed with error 0
-kcapi-enc - Error: decryption failed with error 0
-[FAILED: 32-bit - 5.1.0-rc1+] 15 bytes: STDIN / STDOUT enc test (128 bits):
-original file (1d100e..cc96184c) and generated file (e3b0c442..1b7852b855)
-[FAILED: 32-bit - 5.1.0-rc1+] 15 bytes: STDIN / STDOUT enc test (128 bits)
-(openssl generated CT): original file (e3b0..5) and generated file (3..8e)
-[PASSED: 32-bit - 5.1.0-rc1+] 15 bytes: STDIN / STDOUT enc test (128 bits)
-(openssl generated PT)
-[FAILED: 32-bit - 5.1.0-rc1+] 15 bytes: STDIN / STDOUT enc test (password):
-original file (1d1..84c) and generated file (e3b..852b855)
-
-But the 16, 32, 512, 65536 tests always worked.
-
-Thankfully, this isn't a hidden hardware problem like previously,
-instead this turned out to be a copy and paste issue.
-
-With this patch, all the tests are passing with and
-kcapi-enc-test.sh gives crypto4xx's a clean bill of health:
- "Number of failures: 0" :).
-
-Cc: stable@vger.kernel.org
-Fixes: 98e87e3d933b ("crypto: crypto4xx - add aes-ctr support")
-Fixes: f2a13e7cba9e ("crypto: crypto4xx - enable AES RFC3686, ECB, CFB and OFB offloads")
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_core.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -1257,7 +1257,7 @@ static struct crypto4xx_alg_common crypt
-                       .cra_flags = CRYPTO_ALG_NEED_FALLBACK |
-                               CRYPTO_ALG_ASYNC |
-                               CRYPTO_ALG_KERN_DRIVER_ONLY,
--                      .cra_blocksize = AES_BLOCK_SIZE,
-+                      .cra_blocksize = 1,
-                       .cra_ctxsize = sizeof(struct crypto4xx_ctx),
-                       .cra_module = THIS_MODULE,
-               },
-@@ -1277,7 +1277,7 @@ static struct crypto4xx_alg_common crypt
-                       .cra_priority = CRYPTO4XX_CRYPTO_PRIORITY,
-                       .cra_flags = CRYPTO_ALG_ASYNC |
-                               CRYPTO_ALG_KERN_DRIVER_ONLY,
--                      .cra_blocksize = AES_BLOCK_SIZE,
-+                      .cra_blocksize = 1,
-                       .cra_ctxsize = sizeof(struct crypto4xx_ctx),
-                       .cra_module = THIS_MODULE,
-               },
diff --git a/target/linux/apm821xx/patches-4.19/023-0014-crypto-crypto4xx-fix-blocksize-for-cfb-and-ofb.patch b/target/linux/apm821xx/patches-4.19/023-0014-crypto-crypto4xx-fix-blocksize-for-cfb-and-ofb.patch
deleted file mode 100644 (file)
index 16f5af2..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-From 70c4997f34b6c6888b3ac157adec49e01d0df2d5 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sat, 18 May 2019 23:28:11 +0200
-Subject: [PATCH 14/15] crypto: crypto4xx - fix blocksize for cfb and ofb
-
-While the hardware consider them to be blockciphers, the
-reference implementation defines them as streamciphers.
-
-Do the right thing and set the blocksize to 1. This
-was found by CONFIG_CRYPTO_MANAGER_EXTRA_TESTS.
-
-This fixes the following issues:
-skcipher: blocksize for ofb-aes-ppc4xx (16) doesn't match generic impl (1)
-skcipher: blocksize for cfb-aes-ppc4xx (16) doesn't match generic impl (1)
-
-Cc: Eric Biggers <ebiggers@kernel.org>
-Cc: stable@vger.kernel.org
-Fixes: f2a13e7cba9e ("crypto: crypto4xx - enable AES RFC3686, ECB, CFB and OFB offloads")
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_core.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -1236,7 +1236,7 @@ static struct crypto4xx_alg_common crypt
-                       .cra_priority = CRYPTO4XX_CRYPTO_PRIORITY,
-                       .cra_flags = CRYPTO_ALG_ASYNC |
-                               CRYPTO_ALG_KERN_DRIVER_ONLY,
--                      .cra_blocksize = AES_BLOCK_SIZE,
-+                      .cra_blocksize = 1,
-                       .cra_ctxsize = sizeof(struct crypto4xx_ctx),
-                       .cra_module = THIS_MODULE,
-               },
-@@ -1316,7 +1316,7 @@ static struct crypto4xx_alg_common crypt
-                       .cra_priority = CRYPTO4XX_CRYPTO_PRIORITY,
-                       .cra_flags = CRYPTO_ALG_ASYNC |
-                               CRYPTO_ALG_KERN_DRIVER_ONLY,
--                      .cra_blocksize = AES_BLOCK_SIZE,
-+                      .cra_blocksize = 1,
-                       .cra_ctxsize = sizeof(struct crypto4xx_ctx),
-                       .cra_module = THIS_MODULE,
-               },
diff --git a/target/linux/apm821xx/patches-4.19/023-0015-crypto-crypto4xx-block-ciphers-should-only-accept-co.patch b/target/linux/apm821xx/patches-4.19/023-0015-crypto-crypto4xx-block-ciphers-should-only-accept-co.patch
deleted file mode 100644 (file)
index 2706042..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-From 0f7a81374060828280fcfdfbaa162cb559017f9f Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sat, 18 May 2019 23:28:12 +0200
-Subject: [PATCH 15/15] crypto: crypto4xx - block ciphers should only accept
- complete blocks
-
-The hardware automatically zero pads incomplete block ciphers
-blocks without raising any errors. This is a screw-up. This
-was noticed by CONFIG_CRYPTO_MANAGER_EXTRA_TESTS tests that
-sent a incomplete blocks and expect them to fail.
-
-This fixes:
-cbc-aes-ppc4xx encryption unexpectedly succeeded on test vector
-"random: len=2409 klen=32"; expected_error=-22, cfg="random:
-may_sleep use_digest src_divs=[96.90%@+2295, 2.34%@+4066,
-0.32%@alignmask+12, 0.34%@+4087, 0.9%@alignmask+1787, 0.1%@+3767]
-iv_offset=6"
-
-ecb-aes-ppc4xx encryption unexpectedly succeeded on test vector
-"random: len=1011 klen=32"; expected_error=-22, cfg="random:
-may_sleep use_digest src_divs=[100.0%@alignmask+20]
-dst_divs=[3.12%@+3001, 96.88%@+4070]"
-
-Cc: Eric Biggers <ebiggers@kernel.org>
-Cc: stable@vger.kernel.org [4.19, 5.0 and 5.1]
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
----
- drivers/crypto/amcc/crypto4xx_alg.c  | 36 +++++++++++++++++++---------
- drivers/crypto/amcc/crypto4xx_core.c | 16 ++++++-------
- drivers/crypto/amcc/crypto4xx_core.h | 10 ++++----
- 3 files changed, 39 insertions(+), 23 deletions(-)
-
---- a/drivers/crypto/amcc/crypto4xx_alg.c
-+++ b/drivers/crypto/amcc/crypto4xx_alg.c
-@@ -76,12 +76,16 @@ static void set_dynamic_sa_command_1(str
- }
- static inline int crypto4xx_crypt(struct skcipher_request *req,
--                                const unsigned int ivlen, bool decrypt)
-+                                const unsigned int ivlen, bool decrypt,
-+                                bool check_blocksize)
- {
-       struct crypto_skcipher *cipher = crypto_skcipher_reqtfm(req);
-       struct crypto4xx_ctx *ctx = crypto_skcipher_ctx(cipher);
-       __le32 iv[AES_IV_SIZE];
-+      if (check_blocksize && !IS_ALIGNED(req->cryptlen, AES_BLOCK_SIZE))
-+              return -EINVAL;
-+
-       if (ivlen)
-               crypto4xx_memcpy_to_le32(iv, req->iv, ivlen);
-@@ -90,24 +94,34 @@ static inline int crypto4xx_crypt(struct
-               ctx->sa_len, 0, NULL);
- }
--int crypto4xx_encrypt_noiv(struct skcipher_request *req)
-+int crypto4xx_encrypt_noiv_block(struct skcipher_request *req)
-+{
-+      return crypto4xx_crypt(req, 0, false, true);
-+}
-+
-+int crypto4xx_encrypt_iv_stream(struct skcipher_request *req)
-+{
-+      return crypto4xx_crypt(req, AES_IV_SIZE, false, false);
-+}
-+
-+int crypto4xx_decrypt_noiv_block(struct skcipher_request *req)
- {
--      return crypto4xx_crypt(req, 0, false);
-+      return crypto4xx_crypt(req, 0, true, true);
- }
--int crypto4xx_encrypt_iv(struct skcipher_request *req)
-+int crypto4xx_decrypt_iv_stream(struct skcipher_request *req)
- {
--      return crypto4xx_crypt(req, AES_IV_SIZE, false);
-+      return crypto4xx_crypt(req, AES_IV_SIZE, true, false);
- }
--int crypto4xx_decrypt_noiv(struct skcipher_request *req)
-+int crypto4xx_encrypt_iv_block(struct skcipher_request *req)
- {
--      return crypto4xx_crypt(req, 0, true);
-+      return crypto4xx_crypt(req, AES_IV_SIZE, false, true);
- }
--int crypto4xx_decrypt_iv(struct skcipher_request *req)
-+int crypto4xx_decrypt_iv_block(struct skcipher_request *req)
- {
--      return crypto4xx_crypt(req, AES_IV_SIZE, true);
-+      return crypto4xx_crypt(req, AES_IV_SIZE, true, true);
- }
- /**
-@@ -278,8 +292,8 @@ crypto4xx_ctr_crypt(struct skcipher_requ
-               return ret;
-       }
--      return encrypt ? crypto4xx_encrypt_iv(req)
--                     : crypto4xx_decrypt_iv(req);
-+      return encrypt ? crypto4xx_encrypt_iv_stream(req)
-+                     : crypto4xx_decrypt_iv_stream(req);
- }
- static int crypto4xx_sk_setup_fallback(struct crypto4xx_ctx *ctx,
---- a/drivers/crypto/amcc/crypto4xx_core.c
-+++ b/drivers/crypto/amcc/crypto4xx_core.c
-@@ -1224,8 +1224,8 @@ static struct crypto4xx_alg_common crypt
-               .max_keysize = AES_MAX_KEY_SIZE,
-               .ivsize = AES_IV_SIZE,
-               .setkey = crypto4xx_setkey_aes_cbc,
--              .encrypt = crypto4xx_encrypt_iv,
--              .decrypt = crypto4xx_decrypt_iv,
-+              .encrypt = crypto4xx_encrypt_iv_block,
-+              .decrypt = crypto4xx_decrypt_iv_block,
-               .init = crypto4xx_sk_init,
-               .exit = crypto4xx_sk_exit,
-       } },
-@@ -1244,8 +1244,8 @@ static struct crypto4xx_alg_common crypt
-               .max_keysize = AES_MAX_KEY_SIZE,
-               .ivsize = AES_IV_SIZE,
-               .setkey = crypto4xx_setkey_aes_cfb,
--              .encrypt = crypto4xx_encrypt_iv,
--              .decrypt = crypto4xx_decrypt_iv,
-+              .encrypt = crypto4xx_encrypt_iv_stream,
-+              .decrypt = crypto4xx_decrypt_iv_stream,
-               .init = crypto4xx_sk_init,
-               .exit = crypto4xx_sk_exit,
-       } },
-@@ -1304,8 +1304,8 @@ static struct crypto4xx_alg_common crypt
-               .min_keysize = AES_MIN_KEY_SIZE,
-               .max_keysize = AES_MAX_KEY_SIZE,
-               .setkey = crypto4xx_setkey_aes_ecb,
--              .encrypt = crypto4xx_encrypt_noiv,
--              .decrypt = crypto4xx_decrypt_noiv,
-+              .encrypt = crypto4xx_encrypt_noiv_block,
-+              .decrypt = crypto4xx_decrypt_noiv_block,
-               .init = crypto4xx_sk_init,
-               .exit = crypto4xx_sk_exit,
-       } },
-@@ -1324,8 +1324,8 @@ static struct crypto4xx_alg_common crypt
-               .max_keysize = AES_MAX_KEY_SIZE,
-               .ivsize = AES_IV_SIZE,
-               .setkey = crypto4xx_setkey_aes_ofb,
--              .encrypt = crypto4xx_encrypt_iv,
--              .decrypt = crypto4xx_decrypt_iv,
-+              .encrypt = crypto4xx_encrypt_iv_stream,
-+              .decrypt = crypto4xx_decrypt_iv_stream,
-               .init = crypto4xx_sk_init,
-               .exit = crypto4xx_sk_exit,
-       } },
---- a/drivers/crypto/amcc/crypto4xx_core.h
-+++ b/drivers/crypto/amcc/crypto4xx_core.h
-@@ -182,10 +182,12 @@ int crypto4xx_setkey_rfc3686(struct cryp
-                            const u8 *key, unsigned int keylen);
- int crypto4xx_encrypt_ctr(struct skcipher_request *req);
- int crypto4xx_decrypt_ctr(struct skcipher_request *req);
--int crypto4xx_encrypt_iv(struct skcipher_request *req);
--int crypto4xx_decrypt_iv(struct skcipher_request *req);
--int crypto4xx_encrypt_noiv(struct skcipher_request *req);
--int crypto4xx_decrypt_noiv(struct skcipher_request *req);
-+int crypto4xx_encrypt_iv_stream(struct skcipher_request *req);
-+int crypto4xx_decrypt_iv_stream(struct skcipher_request *req);
-+int crypto4xx_encrypt_iv_block(struct skcipher_request *req);
-+int crypto4xx_decrypt_iv_block(struct skcipher_request *req);
-+int crypto4xx_encrypt_noiv_block(struct skcipher_request *req);
-+int crypto4xx_decrypt_noiv_block(struct skcipher_request *req);
- int crypto4xx_rfc3686_encrypt(struct skcipher_request *req);
- int crypto4xx_rfc3686_decrypt(struct skcipher_request *req);
- int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm);
diff --git a/target/linux/apm821xx/patches-4.19/140-GPIO-add-named-gpio-exports.patch b/target/linux/apm821xx/patches-4.19/140-GPIO-add-named-gpio-exports.patch
deleted file mode 100644 (file)
index 8e3060d..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-From cc809a441d8f2924f785eb863dfa6aef47a25b0b Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Tue, 12 Aug 2014 20:49:27 +0200
-Subject: [PATCH 30/36] GPIO: add named gpio exports
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- drivers/gpio/gpiolib-of.c     |   68 +++++++++++++++++++++++++++++++++++++++++
- drivers/gpio/gpiolib.c        |   11 +++++--
- include/asm-generic/gpio.h    |    5 +++
- include/linux/gpio/consumer.h |    8 +++++
- 4 files changed, 90 insertions(+), 2 deletions(-)
-
---- a/drivers/gpio/gpiolib-of.c
-+++ b/drivers/gpio/gpiolib-of.c
-@@ -23,6 +23,8 @@
- #include <linux/pinctrl/pinctrl.h>
- #include <linux/slab.h>
- #include <linux/gpio/machine.h>
-+#include <linux/init.h>
-+#include <linux/platform_device.h>
- #include "gpiolib.h"
-@@ -660,3 +662,72 @@ void of_gpiochip_remove(struct gpio_chip
-       gpiochip_remove_pin_ranges(chip);
-       of_node_put(chip->of_node);
- }
-+
-+#ifdef CONFIG_GPIO_SYSFS
-+
-+static struct of_device_id gpio_export_ids[] = {
-+      { .compatible = "gpio-export" },
-+      { /* sentinel */ }
-+};
-+
-+static int of_gpio_export_probe(struct platform_device *pdev)
-+{
-+      struct device_node *np = pdev->dev.of_node;
-+      struct device_node *cnp;
-+      u32 val;
-+      int nb = 0;
-+
-+      for_each_child_of_node(np, cnp) {
-+              const char *name = NULL;
-+              int gpio;
-+              bool dmc;
-+              int max_gpio = 1;
-+              int i;
-+
-+              of_property_read_string(cnp, "gpio-export,name", &name);
-+
-+              if (!name)
-+                      max_gpio = of_gpio_count(cnp);
-+
-+              for (i = 0; i < max_gpio; i++) {
-+                      unsigned flags = 0;
-+                      enum of_gpio_flags of_flags;
-+
-+                      gpio = of_get_gpio_flags(cnp, i, &of_flags);
-+                      if (!gpio_is_valid(gpio))
-+                              return gpio;
-+
-+                      if (of_flags == OF_GPIO_ACTIVE_LOW)
-+                              flags |= GPIOF_ACTIVE_LOW;
-+
-+                      if (!of_property_read_u32(cnp, "gpio-export,output", &val))
-+                              flags |= val ? GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW;
-+                      else
-+                              flags |= GPIOF_IN;
-+
-+                      if (devm_gpio_request_one(&pdev->dev, gpio, flags, name ? name : of_node_full_name(np)))
-+                              continue;
-+
-+                      dmc = of_property_read_bool(cnp, "gpio-export,direction_may_change");
-+                      gpio_export_with_name(gpio, dmc, name);
-+                      nb++;
-+              }
-+      }
-+
-+      dev_info(&pdev->dev, "%d gpio(s) exported\n", nb);
-+
-+      return 0;
-+}
-+
-+static struct platform_driver gpio_export_driver = {
-+      .driver         = {
-+              .name           = "gpio-export",
-+              .owner  = THIS_MODULE,
-+              .of_match_table = of_match_ptr(gpio_export_ids),
-+      },
-+      .probe          = of_gpio_export_probe,
-+};
-+
-+module_platform_driver(gpio_export_driver);
-+
-+#endif
---- a/include/asm-generic/gpio.h
-+++ b/include/asm-generic/gpio.h
-@@ -127,6 +127,12 @@ static inline int gpio_export(unsigned g
-       return gpiod_export(gpio_to_desc(gpio), direction_may_change);
- }
-+int __gpiod_export(struct gpio_desc *desc, bool direction_may_change, const char *name);
-+static inline int gpio_export_with_name(unsigned gpio, bool direction_may_change, const char *name)
-+{
-+      return __gpiod_export(gpio_to_desc(gpio), direction_may_change, name);
-+}
-+
- static inline int gpio_export_link(struct device *dev, const char *name,
-                                  unsigned gpio)
- {
---- a/include/linux/gpio/consumer.h
-+++ b/include/linux/gpio/consumer.h
-@@ -533,6 +533,7 @@ struct gpio_desc *devm_fwnode_get_gpiod_
- #if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_GPIO_SYSFS)
-+int _gpiod_export(struct gpio_desc *desc, bool direction_may_change, const char *name);
- int gpiod_export(struct gpio_desc *desc, bool direction_may_change);
- int gpiod_export_link(struct device *dev, const char *name,
-                     struct gpio_desc *desc);
-@@ -540,6 +541,13 @@ void gpiod_unexport(struct gpio_desc *de
- #else  /* CONFIG_GPIOLIB && CONFIG_GPIO_SYSFS */
-+static inline int _gpiod_export(struct gpio_desc *desc,
-+                             bool direction_may_change,
-+                             const char *name)
-+{
-+      return -ENOSYS;
-+}
-+
- static inline int gpiod_export(struct gpio_desc *desc,
-                              bool direction_may_change)
- {
---- a/drivers/gpio/gpiolib-sysfs.c
-+++ b/drivers/gpio/gpiolib-sysfs.c
-@@ -568,7 +568,7 @@ static struct class gpio_class = {
-  *
-  * Returns zero on success, else an error.
-  */
--int gpiod_export(struct gpio_desc *desc, bool direction_may_change)
-+int __gpiod_export(struct gpio_desc *desc, bool direction_may_change, const char *name)
- {
-       struct gpio_chip        *chip;
-       struct gpio_device      *gdev;
-@@ -630,6 +630,8 @@ int gpiod_export(struct gpio_desc *desc,
-       offset = gpio_chip_hwgpio(desc);
-       if (chip->names && chip->names[offset])
-               ioname = chip->names[offset];
-+      if (name)
-+              ioname = name;
-       dev = device_create_with_groups(&gpio_class, &gdev->dev,
-                                       MKDEV(0, 0), data, gpio_groups,
-@@ -651,6 +653,12 @@ err_unlock:
-       gpiod_dbg(desc, "%s: status %d\n", __func__, status);
-       return status;
- }
-+EXPORT_SYMBOL_GPL(__gpiod_export);
-+
-+int gpiod_export(struct gpio_desc *desc, bool direction_may_change)
-+{
-+      return __gpiod_export(desc, direction_may_change, NULL);
-+}
- EXPORT_SYMBOL_GPL(gpiod_export);
- static int match_export(struct device *dev, const void *desc)
diff --git a/target/linux/apm821xx/patches-4.19/201-add-amcc-apollo3g-support.patch b/target/linux/apm821xx/patches-4.19/201-add-amcc-apollo3g-support.patch
deleted file mode 100644 (file)
index 18f4c72..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/arch/powerpc/platforms/44x/Kconfig
-+++ b/arch/powerpc/platforms/44x/Kconfig
-@@ -131,6 +131,17 @@ config CANYONLANDS
-       help
-         This option enables support for the AMCC PPC460EX evaluation board.
-+config APOLLO3G
-+      bool "Apollo3G"
-+      depends on 44x
-+      default n
-+      select PPC44x_SIMPLE
-+      select APM821xx
-+      select IBM_EMAC_RGMII
-+      select 460EX
-+      help
-+        This option enables support for the AMCC Apollo 3G board.
-+
- config GLACIER
-       bool "Glacier"
-       depends on 44x
---- a/arch/powerpc/platforms/44x/ppc44x_simple.c
-+++ b/arch/powerpc/platforms/44x/ppc44x_simple.c
-@@ -50,6 +50,7 @@ machine_device_initcall(ppc44x_simple, p
-  * board.c file for it rather than adding it to this list.
-  */
- static char *board[] __initdata = {
-+      "amcc,apollo3g",
-       "amcc,arches",
-       "amcc,bamboo",
-       "apm,bluestone",
diff --git a/target/linux/apm821xx/patches-4.19/202-add-netgear-wndr4700-support.patch b/target/linux/apm821xx/patches-4.19/202-add-netgear-wndr4700-support.patch
deleted file mode 100644 (file)
index 536a74e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/arch/powerpc/platforms/44x/Makefile
-+++ b/arch/powerpc/platforms/44x/Makefile
-@@ -4,6 +4,7 @@ ifneq ($(CONFIG_PPC4xx_CPM),y)
- obj-y += idle.o
- endif
- obj-$(CONFIG_PPC44x_SIMPLE) += ppc44x_simple.o
-+obj-$(CONFIG_WNDR4700) += wndr4700.o
- obj-$(CONFIG_EBONY)   += ebony.o
- obj-$(CONFIG_SAM440EP)        += sam440ep.o
- obj-$(CONFIG_WARP)    += warp.o
---- a/arch/powerpc/platforms/44x/Kconfig
-+++ b/arch/powerpc/platforms/44x/Kconfig
-@@ -260,6 +260,19 @@ config ICON
-       help
-         This option enables support for the AMCC PPC440SPe evaluation board.
-+config WNDR4700
-+      bool "WNDR4700"
-+      depends on 44x
-+      default n
-+      select APM821xx
-+      select PCI_MSI
-+      select PPC4xx_MSI
-+      select PPC4xx_PCI_EXPRESS
-+      select IBM_EMAC_RGMII
-+      select 460EX
-+      help
-+        This option enables support for the Netgear WNDR4700/WNDR4720 board.
-+
- config XILINX_VIRTEX440_GENERIC_BOARD
-       bool "Generic Xilinx Virtex 5 FXT board support"
-       depends on 44x
diff --git a/target/linux/apm821xx/patches-4.19/300-fix-atheros-nics-on-apm82181.patch b/target/linux/apm821xx/patches-4.19/300-fix-atheros-nics-on-apm82181.patch
deleted file mode 100644 (file)
index 110726d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
---- a/arch/powerpc/platforms/4xx/pci.c
-+++ b/arch/powerpc/platforms/4xx/pci.c
-@@ -1060,15 +1060,24 @@ static int __init apm821xx_pciex_init_po
-       u32 val;
-       /*
--       * Do a software reset on PCIe ports.
--       * This code is to fix the issue that pci drivers doesn't re-assign
--       * bus number for PCIE devices after Uboot
--       * scanned and configured all the buses (eg. PCIE NIC IntelPro/1000
--       * PT quad port, SAS LSI 1064E)
-+       * Only reset the PHY when no link is currently established.
-+       * This is for the Atheros PCIe board which has problems to establish
-+       * the link (again) after this PHY reset. All other currently tested
-+       * PCIe boards don't show this problem.
-        */
--
--      mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x0);
--      mdelay(10);
-+      val = mfdcri(SDR0, port->sdr_base + PESDRn_LOOP);
-+      if (!(val & 0x00001000)) {
-+              /*
-+               * Do a software reset on PCIe ports.
-+               * This code is to fix the issue that pci drivers doesn't re-assign
-+               * bus number for PCIE devices after Uboot
-+               * scanned and configured all the buses (eg. PCIE NIC IntelPro/1000
-+               * PT quad port, SAS LSI 1064E)
-+               */
-+
-+              mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x0);
-+              mdelay(10);
-+      }
-       if (port->endpoint)
-               val = PTYPE_LEGACY_ENDPOINT << 20;
-@@ -1085,9 +1094,12 @@ static int __init apm821xx_pciex_init_po
-       mtdcri(SDR0, PESDR0_460EX_L0DRV, 0x00000130);
-       mtdcri(SDR0, PESDR0_460EX_L0CLK, 0x00000006);
--      mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x10000000);
--      mdelay(50);
--      mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x30000000);
-+      val = mfdcri(SDR0, port->sdr_base + PESDRn_LOOP);
-+      if (!(val & 0x00001000)) {
-+              mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x10000000);
-+              mdelay(50);
-+              mtdcri(SDR0, PESDR0_460EX_PHY_CTL_RST, 0x30000000);
-+      }
-       mtdcri(SDR0, port->sdr_base + PESDRn_RCSSET,
-               mfdcri(SDR0, port->sdr_base + PESDRn_RCSSET) |
diff --git a/target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch b/target/linux/apm821xx/patches-4.19/301-fix-memory-map-wndr4700.patch
deleted file mode 100644 (file)
index 6eb04b2..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/arch/powerpc/platforms/4xx/pci.c
-+++ b/arch/powerpc/platforms/4xx/pci.c
-@@ -1905,9 +1905,9 @@ static void __init ppc4xx_configure_pcie
-                * if it works
-                */
-               out_le32(mbase + PECFG_PIM0LAL, 0x00000000);
--              out_le32(mbase + PECFG_PIM0LAH, 0x00000000);
-+              out_le32(mbase + PECFG_PIM0LAH, 0x00000008);
-               out_le32(mbase + PECFG_PIM1LAL, 0x00000000);
--              out_le32(mbase + PECFG_PIM1LAH, 0x00000000);
-+              out_le32(mbase + PECFG_PIM1LAH, 0x0000000c);
-               out_le32(mbase + PECFG_PIM01SAH, 0xffff0000);
-               out_le32(mbase + PECFG_PIM01SAL, 0x00000000);
diff --git a/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch b/target/linux/apm821xx/patches-4.19/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
deleted file mode 100644 (file)
index 6db2f2e..0000000
+++ /dev/null
@@ -1,545 +0,0 @@
-From 419992bae5aaa4e06402e0b7c79fcf7bcb6b4764 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@googlemail.com>
-Date: Thu, 2 Jun 2016 00:48:46 +0200
-Subject: [PATCH] usb: xhci: add firmware loader for uPD720201 and uPD720202
- w/o ROM
-
-This patch adds a firmware loader for the uPD720201K8-711-BAC-A
-and uPD720202K8-711-BAA-A variant. Both of these chips are listed
-in Renesas' R19UH0078EJ0500 Rev.5.00 "User's Manual: Hardware" as
-devices which need the firmware loader on page 2 in order to
-work as they "do not support the External ROM".
-
-The "Firmware Download Sequence" is describe in chapter
-"7.1 FW Download Interface" R19UH0078EJ0500 Rev.5.00 page 131.
-
-The firmware "K2013080.mem" is available from a USB3.0 Host to
-PCIe Adapter (PP2U-E card) "Firmware download" archive. An
-alternative version can be sourced from Netgear's WNDR4700 GPL
-archives.
-
-The release notes of the PP2U-E's "Firmware Download" ver 2.0.1.3
-(2012-06-15) state that the firmware is for the following devices:
- - uPD720201 ES 2.0 sample whose revision ID is 2.
- - uPD720201 ES 2.1 sample & CS sample & Mass product, ID is 3.
- - uPD720202 ES 2.0 sample & CS sample & Mass product, ID is 2.
-
-If someone from Renesas is listening: It would be great, if these
-firmwares could be added to linux-firmware.git.
-
-Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
-Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
----
- drivers/usb/host/xhci-pci.c | 492 ++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 492 insertions(+)
-
---- a/drivers/usb/host/xhci-pci.c
-+++ b/drivers/usb/host/xhci-pci.c
-@@ -12,6 +12,8 @@
- #include <linux/slab.h>
- #include <linux/module.h>
- #include <linux/acpi.h>
-+#include <linux/firmware.h>
-+#include <asm/unaligned.h>
- #include "xhci.h"
- #include "xhci-trace.h"
-@@ -262,6 +264,458 @@ static void xhci_pme_acpi_rtd3_enable(st
- static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
- #endif /* CONFIG_ACPI */
-+static const struct renesas_fw_entry {
-+      const char *firmware_name;
-+      u16 device;
-+      u8 revision;
-+      u16 expected_version;
-+} renesas_fw_table[] = {
-+      /*
-+       * Only the uPD720201K8-711-BAC-A or uPD720202K8-711-BAA-A
-+       * are listed in R19UH0078EJ0500 Rev.5.00 as devices which
-+       * need the software loader.
-+       *
-+       * PP2U/ReleaseNote_USB3-201-202-FW.txt:
-+       *
-+       * Note: This firmware is for the following devices.
-+       *  - uPD720201 ES 2.0 sample whose revision ID is 2.
-+       *  - uPD720201 ES 2.1 sample & CS sample & Mass product, ID is 3.
-+       *  - uPD720202 ES 2.0 sample & CS sample & Mass product, ID is 2.
-+       */
-+      { "K2013080.mem", 0x0014, 0x02, 0x2013 },
-+      { "K2013080.mem", 0x0014, 0x03, 0x2013 },
-+      { "K2013080.mem", 0x0015, 0x02, 0x2013 },
-+};
-+
-+static const struct renesas_fw_entry *renesas_needs_fw_dl(struct pci_dev *dev)
-+{
-+      const struct renesas_fw_entry *entry;
-+      size_t i;
-+
-+      /* This loader will only work with a RENESAS device. */
-+      if (!(dev->vendor == PCI_VENDOR_ID_RENESAS))
-+              return NULL;
-+
-+      for (i = 0; i < ARRAY_SIZE(renesas_fw_table); i++) {
-+              entry = &renesas_fw_table[i];
-+              if (entry->device == dev->device &&
-+                  entry->revision == dev->revision)
-+                      return entry;
-+      }
-+
-+      return NULL;
-+}
-+
-+static int renesas_fw_download_image(struct pci_dev *dev,
-+                                   const u32 *fw,
-+                                   size_t step)
-+{
-+      size_t i;
-+      int err;
-+      u8 fw_status;
-+      bool data0_or_data1;
-+
-+      /*
-+       * The hardware does alternate between two 32-bit pages.
-+       * (This is because each row of the firmware is 8 bytes).
-+       *
-+       * for even steps we use DATA0, for odd steps DATA1.
-+       */
-+      data0_or_data1 = (step & 1) == 1;
-+
-+      /* step+1. Read "Set DATAX" and confirm it is cleared. */
-+      for (i = 0; i < 10000; i++) {
-+              err = pci_read_config_byte(dev, 0xF5, &fw_status);
-+              if (err)
-+                      return pcibios_err_to_errno(err);
-+              if (!(fw_status & BIT(data0_or_data1)))
-+                      break;
-+
-+              udelay(1);
-+      }
-+      if (i == 10000)
-+              return -ETIMEDOUT;
-+
-+      /*
-+       * step+2. Write FW data to "DATAX".
-+       * "LSB is left" => force little endian
-+       */
-+      err = pci_write_config_dword(dev, data0_or_data1 ? 0xFC : 0xF8,
-+                                   (__force u32) cpu_to_le32(fw[step]));
-+      if (err)
-+              return pcibios_err_to_errno(err);
-+
-+      udelay(100);
-+
-+      /* step+3. Set "Set DATAX". */
-+      err = pci_write_config_byte(dev, 0xF5, BIT(data0_or_data1));
-+      if (err)
-+              return pcibios_err_to_errno(err);
-+
-+      return 0;
-+}
-+
-+static int renesas_fw_verify(struct pci_dev *dev,
-+                           const void *fw_data,
-+                           size_t length)
-+{
-+      const struct renesas_fw_entry *entry = renesas_needs_fw_dl(dev);
-+      u16 fw_version_pointer;
-+      u16 fw_version;
-+
-+      if (!entry)
-+              return -EINVAL;
-+
-+      /*
-+       * The Firmware's Data Format is describe in
-+       * "6.3 Data Format" R19UH0078EJ0500 Rev.5.00 page 124
-+       */
-+
-+      /* "Each row is 8 bytes". => firmware size must be a multiple of 8. */
-+      if (length % 8 != 0) {
-+              dev_err(&dev->dev, "firmware size is not a multipe of 8.");
-+              return -EINVAL;
-+      }
-+
-+      /*
-+       * The bootrom chips of the big brother have sizes up to 64k, let's
-+       * assume that's the biggest the firmware can get.
-+       */
-+      if (length < 0x1000 || length >= 0x10000) {
-+              dev_err(&dev->dev, "firmware is size %zd is not (4k - 64k).",
-+                      length);
-+              return -EINVAL;
-+      }
-+
-+      /* The First 2 bytes are fixed value (55aa). "LSB on Left" */
-+      if (get_unaligned_le16(fw_data) != 0x55aa) {
-+              dev_err(&dev->dev, "no valid firmware header found.");
-+              return -EINVAL;
-+      }
-+
-+      /* verify the firmware version position and print it. */
-+      fw_version_pointer = get_unaligned_le16(fw_data + 4);
-+      if (fw_version_pointer + 2 >= length) {
-+              dev_err(&dev->dev, "firmware version pointer is outside of the firmware image.");
-+              return -EINVAL;
-+      }
-+
-+      fw_version = get_unaligned_le16(fw_data + fw_version_pointer);
-+      dev_dbg(&dev->dev, "got firmware version: %02x.", fw_version);
-+
-+      if (fw_version != entry->expected_version) {
-+              dev_err(&dev->dev, "firmware version mismatch, expected version: %02x.",
-+                       entry->expected_version);
-+              return -EINVAL;
-+      }
-+
-+      return 0;
-+}
-+
-+static int renesas_fw_check_running(struct pci_dev *pdev)
-+{
-+      int err;
-+      u8 fw_state;
-+
-+      /*
-+       * Test if the device is actually needing the firmware. As most
-+       * BIOSes will initialize the device for us. If the device is
-+       * initialized.
-+       */
-+      err = pci_read_config_byte(pdev, 0xF4, &fw_state);
-+      if (err)
-+              return pcibios_err_to_errno(err);
-+
-+      /*
-+       * Check if "FW Download Lock" is locked. If it is and the FW is
-+       * ready we can simply continue. If the FW is not ready, we have
-+       * to give up.
-+       */
-+      if (fw_state & BIT(1)) {
-+              dev_dbg(&pdev->dev, "FW Download Lock is engaged.");
-+
-+              if (fw_state & BIT(4))
-+                      return 0;
-+
-+              dev_err(&pdev->dev, "FW Download Lock is set and FW is not ready. Giving Up.");
-+              return -EIO;
-+      }
-+
-+      /*
-+       * Check if "FW Download Enable" is set. If someone (us?) tampered
-+       * with it and it can't be resetted, we have to give up too... and
-+       * ask for a forgiveness and a reboot.
-+       */
-+      if (fw_state & BIT(0)) {
-+              dev_err(&pdev->dev, "FW Download Enable is stale. Giving Up (poweroff/reboot needed).");
-+              return -EIO;
-+      }
-+
-+      /* Otherwise, Check the "Result Code" Bits (6:4) and act accordingly */
-+      switch ((fw_state & 0x70)) {
-+      case 0: /* No result yet */
-+              dev_dbg(&pdev->dev, "FW is not ready/loaded yet.");
-+
-+              /* tell the caller, that this device needs the firmware. */
-+              return 1;
-+
-+      case BIT(4): /* Success, device should be working. */
-+              dev_dbg(&pdev->dev, "FW is ready.");
-+              return 0;
-+
-+      case BIT(5): /* Error State */
-+              dev_err(&pdev->dev, "hardware is in an error state. Giving up (poweroff/reboot needed).");
-+              return -ENODEV;
-+
-+      default: /* All other states are marked as "Reserved states" */
-+              dev_err(&pdev->dev, "hardware is in an invalid state %x. Giving up (poweroff/reboot needed).",
-+                      (fw_state & 0x70) >> 4);
-+              return -EINVAL;
-+      }
-+}
-+
-+static int renesas_hw_check_run_stop_busy(struct pci_dev *pdev)
-+{
-+#if 0
-+      u32 val;
-+
-+      /*
-+       * 7.1.3 Note 3: "... must not set 'FW Download Enable' when
-+       * 'RUN/STOP' of USBCMD Register is set"
-+       */
-+      val = readl(hcd->regs + 0x20);
-+      if (val & BIT(0)) {
-+              dev_err(&pdev->dev, "hardware is busy and can't receive a FW.");
-+              return -EBUSY;
-+      }
-+#endif
-+      return 0;
-+}
-+
-+static int renesas_fw_download(struct pci_dev *pdev,
-+      const struct firmware *fw, unsigned int retry_counter)
-+{
-+      const u32 *fw_data = (const u32 *) fw->data;
-+      size_t i;
-+      int err;
-+      u8 fw_status;
-+
-+      /*
-+       * For more information and the big picture: please look at the
-+       * "Firmware Download Sequence" in "7.1 FW Download Interface"
-+       * of R19UH0078EJ0500 Rev.5.00 page 131
-+       */
-+      err = renesas_hw_check_run_stop_busy(pdev);
-+      if (err)
-+              return err;
-+
-+      /*
-+       * 0. Set "FW Download Enable" bit in the
-+       * "FW Download Control & Status Register" at 0xF4
-+       */
-+      err = pci_write_config_byte(pdev, 0xF4, BIT(0));
-+      if (err)
-+              return pcibios_err_to_errno(err);
-+
-+      /* 1 - 10 follow one step after the other. */
-+      for (i = 0; i < fw->size / 4; i++) {
-+              err = renesas_fw_download_image(pdev, fw_data, i);
-+              if (err) {
-+                      dev_err(&pdev->dev, "Firmware Download Step %zd failed at position %zd bytes with (%d).",
-+                               i, i * 4, err);
-+                      return err;
-+              }
-+      }
-+
-+      /*
-+       * This sequence continues until the last data is written to
-+       * "DATA0" or "DATA1". Naturally, we wait until "SET DATA0/1"
-+       * is cleared by the hardware beforehand.
-+       */
-+      for (i = 0; i < 10000; i++) {
-+              err = pci_read_config_byte(pdev, 0xF5, &fw_status);
-+              if (err)
-+                      return pcibios_err_to_errno(err);
-+              if (!(fw_status & (BIT(0) | BIT(1))))
-+                      break;
-+
-+              udelay(1);
-+      }
-+      if (i == 10000)
-+              dev_warn(&pdev->dev, "Final Firmware Download step timed out.");
-+
-+      /*
-+       * 11. After finishing writing the last data of FW, the
-+       * System Software must clear "FW Download Enable"
-+       */
-+      err = pci_write_config_byte(pdev, 0xF4, 0);
-+      if (err)
-+              return pcibios_err_to_errno(err);
-+
-+      /* 12. Read "Result Code" and confirm it is good. */
-+      for (i = 0; i < 10000; i++) {
-+              err = pci_read_config_byte(pdev, 0xF4, &fw_status);
-+              if (err)
-+                      return pcibios_err_to_errno(err);
-+              if (fw_status & BIT(4))
-+                      break;
-+
-+              udelay(1);
-+      }
-+      if (i == 10000) {
-+              /* Timed out / Error - let's see if we can fix this */
-+              err = renesas_fw_check_running(pdev);
-+              switch (err) {
-+              case 0: /*
-+                       * we shouldn't end up here.
-+                       * maybe it took a little bit longer.
-+                       * But all should be well?
-+                       */
-+                      break;
-+
-+              case 1: /* (No result yet? - we can try to retry) */
-+                      if (retry_counter < 10) {
-+                              retry_counter++;
-+                              dev_warn(&pdev->dev, "Retry Firmware download: %d try.",
-+                                        retry_counter);
-+                              return renesas_fw_download(pdev, fw,
-+                                                         retry_counter);
-+                      }
-+                      return -ETIMEDOUT;
-+
-+              default:
-+                      return err;
-+              }
-+      }
-+      /*
-+       * Optional last step: Engage Firmware Lock
-+       *
-+       * err = pci_write_config_byte(pdev, 0xF4, BIT(2));
-+       * if (err)
-+       *      return pcibios_err_to_errno(err);
-+       */
-+
-+      return 0;
-+}
-+
-+struct renesas_fw_ctx {
-+      struct pci_dev *pdev;
-+      const struct pci_device_id *id;
-+      bool resume;
-+};
-+
-+static int xhci_pci_probe(struct pci_dev *pdev,
-+                        const struct pci_device_id *id);
-+
-+static void renesas_fw_callback(const struct firmware *fw,
-+                              void *context)
-+{
-+      struct renesas_fw_ctx *ctx = context;
-+      struct pci_dev *pdev = ctx->pdev;
-+      struct device *parent = pdev->dev.parent;
-+      int err = -ENOENT;
-+
-+      if (fw) {
-+              err = renesas_fw_verify(pdev, fw->data, fw->size);
-+              if (!err) {
-+                      err = renesas_fw_download(pdev, fw, 0);
-+                      release_firmware(fw);
-+                      if (!err) {
-+                              if (ctx->resume)
-+                                      return;
-+
-+                              err = xhci_pci_probe(pdev, ctx->id);
-+                              if (!err) {
-+                                      /* everything worked */
-+                                      devm_kfree(&pdev->dev, ctx);
-+                                      return;
-+                              }
-+
-+                              /* in case of an error - fall through */
-+                      } else {
-+                              dev_err(&pdev->dev, "firmware failed to download (%d).",
-+                                      err);
-+                      }
-+              }
-+      } else {
-+              dev_err(&pdev->dev, "firmware failed to load (%d).", err);
-+      }
-+
-+      dev_info(&pdev->dev, "Unloading driver");
-+
-+      if (parent)
-+              device_lock(parent);
-+
-+      device_release_driver(&pdev->dev);
-+
-+      if (parent)
-+              device_unlock(parent);
-+
-+      pci_dev_put(pdev);
-+}
-+
-+static int renesas_fw_alive_check(struct pci_dev *pdev)
-+{
-+      const struct renesas_fw_entry *entry;
-+      int err;
-+
-+      /* check if we have a eligible RENESAS' uPD720201/2 w/o FW. */
-+      entry = renesas_needs_fw_dl(pdev);
-+      if (!entry)
-+              return 0;
-+
-+      err = renesas_fw_check_running(pdev);
-+      /* Also go ahead, if the firmware is running */
-+      if (err == 0)
-+              return 0;
-+
-+      /* At this point, we can be sure that the FW isn't ready. */
-+      return err;
-+}
-+
-+static int renesas_fw_download_to_hw(struct pci_dev *pdev,
-+                                   const struct pci_device_id *id,
-+                                   bool do_resume)
-+{
-+      const struct renesas_fw_entry *entry;
-+      struct renesas_fw_ctx *ctx;
-+      int err;
-+
-+      /* check if we have a eligible RENESAS' uPD720201/2 w/o FW. */
-+      entry = renesas_needs_fw_dl(pdev);
-+      if (!entry)
-+              return 0;
-+
-+      err = renesas_fw_check_running(pdev);
-+      /* Continue ahead, if the firmware is already running. */
-+      if (err == 0)
-+              return 0;
-+
-+      if (err != 1)
-+              return err;
-+
-+      ctx = devm_kzalloc(&pdev->dev, sizeof(*ctx), GFP_KERNEL);
-+      if (!ctx)
-+              return -ENOMEM;
-+      ctx->pdev = pdev;
-+      ctx->resume = do_resume;
-+      ctx->id = id;
-+
-+      pci_dev_get(pdev);
-+      err = request_firmware_nowait(THIS_MODULE, 1, entry->firmware_name,
-+              &pdev->dev, GFP_KERNEL, ctx, renesas_fw_callback);
-+      if (err) {
-+              pci_dev_put(pdev);
-+              return err;
-+      }
-+
-+      /*
-+       * The renesas_fw_callback() callback will continue the probe
-+       * process, once it aquires the firmware.
-+       */
-+      return 1;
-+}
-+
- /* called during probe() after chip reset completes */
- static int xhci_pci_setup(struct usb_hcd *hcd)
- {
-@@ -300,6 +754,22 @@ static int xhci_pci_probe(struct pci_dev
-       struct hc_driver *driver;
-       struct usb_hcd *hcd;
-+      /*
-+       * Check if this device is a RENESAS uPD720201/2 device.
-+       * Otherwise, we can continue with xhci_pci_probe as usual.
-+       */
-+      retval = renesas_fw_download_to_hw(dev, id, false);
-+      switch (retval) {
-+      case 0:
-+              break;
-+
-+      case 1: /* let it load the firmware and recontinue the probe. */
-+              return 0;
-+
-+      default:
-+              return retval;
-+      }
-+
-       driver = (struct hc_driver *)id->driver_data;
-       /* Prevent runtime suspending between USB-2 and USB-3 initialization */
-@@ -361,6 +831,16 @@ static void xhci_pci_remove(struct pci_d
- {
-       struct xhci_hcd *xhci;
-+      if (renesas_fw_alive_check(dev)) {
-+              /*
-+               * bail out early, if this was a renesas device w/o FW.
-+               * Else we might hit the NMI watchdog in xhci_handsake
-+               * during xhci_reset as part of the driver's unloading.
-+               * which we forced in the renesas_fw_callback().
-+               */
-+              return;
-+      }
-+
-       xhci = hcd_to_xhci(pci_get_drvdata(dev));
-       xhci->xhc_state |= XHCI_STATE_REMOVING;
-       if (xhci->shared_hcd) {
diff --git a/target/linux/apm821xx/patches-4.19/802-usb-xhci-force-msi-renesas-xhci.patch b/target/linux/apm821xx/patches-4.19/802-usb-xhci-force-msi-renesas-xhci.patch
deleted file mode 100644 (file)
index fc4553d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-From a0dc613140bab907a3d5787a7ae7b0638bf674d0 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Thu, 23 Jun 2016 20:28:20 +0200
-Subject: [PATCH] usb: xhci: force MSI for uPD720201 and
- uPD720202
-
-The APM82181 does not support MSI-X. When probed, it will
-produce a noisy warning.
-
----
- drivers/usb/host/pci-quirks.c | 362 ++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 362 insertions(+)
-
---- a/drivers/usb/host/xhci-pci.c
-+++ b/drivers/usb/host/xhci-pci.c
-@@ -215,6 +215,7 @@ static void xhci_pci_quirks(struct devic
-           pdev->device == 0x0015) {
-               xhci->quirks |= XHCI_RESET_ON_RESUME;
-               xhci->quirks |= XHCI_ZERO_64B_REGS;
-+              xhci->quirks |= XHCI_FORCE_MSI;
-       }
-       if (pdev->vendor == PCI_VENDOR_ID_VIA)
-               xhci->quirks |= XHCI_RESET_ON_RESUME;
---- a/drivers/usb/host/xhci.c
-+++ b/drivers/usb/host/xhci.c
-@@ -424,10 +424,14 @@ static int xhci_try_enable_msi(struct us
-               free_irq(hcd->irq, hcd);
-       hcd->irq = 0;
--      ret = xhci_setup_msix(xhci);
--      if (ret)
--              /* fall back to msi*/
-+      if (xhci->quirks & XHCI_FORCE_MSI) {
-               ret = xhci_setup_msi(xhci);
-+      } else {
-+              ret = xhci_setup_msix(xhci);
-+              if (ret)
-+                      /* fall back to msi*/
-+                      ret = xhci_setup_msi(xhci);
-+      }
-       if (!ret) {
-               hcd->msi_enabled = 1;
---- a/drivers/usb/host/xhci.h
-+++ b/drivers/usb/host/xhci.h
-@@ -1867,6 +1867,7 @@ struct xhci_hcd {
-       /* support xHCI 0.96 spec USB2 software LPM */
-       unsigned                sw_lpm_support:1;
-       /* support xHCI 1.0 spec USB2 hardware LPM */
-+#define XHCI_FORCE_MSI                (1 << 24)
-       unsigned                hw_lpm_support:1;
-       /* Broken Suspend flag for SNPS Suspend resume issue */
-       unsigned                broken_suspend:1;
diff --git a/target/linux/apm821xx/patches-4.19/803-hwmon-tc654-add-detection-routine.patch b/target/linux/apm821xx/patches-4.19/803-hwmon-tc654-add-detection-routine.patch
deleted file mode 100644 (file)
index f8b30ae..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-From 694f9bfb8efaef8a33e8992015ff9d0866faf4a2 Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sun, 17 Dec 2017 17:27:15 +0100
-Subject: [PATCH 1/2] hwmon: tc654 add detection routine
-
-This patch adds a detection routine for the TC654/TC655
-chips.  Both IDs are listed in the Datasheet.
-
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
----
- drivers/hwmon/tc654.c | 29 +++++++++++++++++++++++++++++
- 1 file changed, 29 insertions(+)
-
---- a/drivers/hwmon/tc654.c
-+++ b/drivers/hwmon/tc654.c
-@@ -64,6 +64,11 @@ enum tc654_regs {
- /* Register data is read (and cached) at most once per second. */
- #define TC654_UPDATE_INTERVAL         HZ
-+/* Manufacturer and Version Identification Register Values */
-+#define TC654_MFR_ID_MICROCHIP                0x84
-+#define TC654_VER_ID                  0x00
-+#define TC655_VER_ID                  0x01
-+
- struct tc654_data {
-       struct i2c_client *client;
-@@ -497,6 +502,29 @@ static const struct i2c_device_id tc654_
-       {}
- };
-+static int
-+tc654_detect(struct i2c_client *new_client, struct i2c_board_info *info)
-+{
-+      struct i2c_adapter *adapter = new_client->adapter;
-+      int manufacturer, product;
-+
-+      if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
-+              return -ENODEV;
-+
-+      manufacturer = i2c_smbus_read_byte_data(new_client, TC654_REG_MFR_ID);
-+      if (manufacturer != TC654_MFR_ID_MICROCHIP)
-+              return -ENODEV;
-+
-+      product = i2c_smbus_read_byte_data(new_client, TC654_REG_VER_ID);
-+      if (!((product == TC654_VER_ID) || (product == TC655_VER_ID)))
-+              return -ENODEV;
-+
-+      strlcpy(info->type, product == TC654_VER_ID ? "tc654" : "tc655",
-+              I2C_NAME_SIZE);
-+      return 0;
-+}
-+
-+
- MODULE_DEVICE_TABLE(i2c, tc654_id);
- static struct i2c_driver tc654_driver = {
-@@ -505,6 +533,7 @@ static struct i2c_driver tc654_driver =
-                  },
-       .probe = tc654_probe,
-       .id_table = tc654_id,
-+      .detect = tc654_detect,
- };
- module_i2c_driver(tc654_driver);
diff --git a/target/linux/apm821xx/patches-4.19/804-hwmon-tc654-add-thermal_cooling-device.patch b/target/linux/apm821xx/patches-4.19/804-hwmon-tc654-add-thermal_cooling-device.patch
deleted file mode 100644 (file)
index 18ed8ae..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-From 15ae701189744d321d3a1264ff46f8871e8765ee Mon Sep 17 00:00:00 2001
-From: Christian Lamparter <chunkeey@gmail.com>
-Date: Sun, 17 Dec 2017 17:29:13 +0100
-Subject: [PATCH] hwmon: tc654: add thermal_cooling device
-
-This patch adds a thermaL_cooling device to the tc654 driver.
-This allows the chip to be used for DT-based cooling.
-
-Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
----
- drivers/hwmon/tc654.c | 103 +++++++++++++++++++++++++++++++++++++++++---------
- 1 file changed, 86 insertions(+), 17 deletions(-)
-
---- a/drivers/hwmon/tc654.c
-+++ b/drivers/hwmon/tc654.c
-@@ -24,6 +24,7 @@
- #include <linux/module.h>
- #include <linux/mutex.h>
- #include <linux/slab.h>
-+#include <linux/thermal.h>
- #include <linux/util_macros.h>
- enum tc654_regs {
-@@ -141,6 +142,9 @@ struct tc654_data {
-                        * writable register used to control the duty
-                        * cycle of the V OUT output.
-                        */
-+
-+      /* optional cooling device */
-+      struct thermal_cooling_device *cdev;
- };
- /* helper to grab and cache data, at most one time per second */
-@@ -376,36 +380,30 @@ static ssize_t set_pwm_mode(struct devic
- static const int tc654_pwm_map[16] = { 77,  88, 102, 112, 124, 136, 148, 160,
-                                     172, 184, 196, 207, 219, 231, 243, 255};
-+static int get_pwm(struct tc654_data *data)
-+{
-+      if (data->config & TC654_REG_CONFIG_SDM)
-+              return 0;
-+      else
-+              return tc654_pwm_map[data->duty_cycle];
-+}
-+
- static ssize_t show_pwm(struct device *dev, struct device_attribute *da,
-                       char *buf)
- {
-       struct tc654_data *data = tc654_update_client(dev);
--      int pwm;
-       if (IS_ERR(data))
-               return PTR_ERR(data);
--      if (data->config & TC654_REG_CONFIG_SDM)
--              pwm = 0;
--      else
--              pwm = tc654_pwm_map[data->duty_cycle];
--
--      return sprintf(buf, "%d\n", pwm);
-+      return sprintf(buf, "%d\n", get_pwm(data));
- }
--static ssize_t set_pwm(struct device *dev, struct device_attribute *da,
--                     const char *buf, size_t count)
-+static int _set_pwm(struct tc654_data *data, unsigned long val)
- {
--      struct tc654_data *data = dev_get_drvdata(dev);
-       struct i2c_client *client = data->client;
--      unsigned long val;
-       int ret;
--      if (kstrtoul(buf, 10, &val))
--              return -EINVAL;
--      if (val > 255)
--              return -EINVAL;
--
-       mutex_lock(&data->update_lock);
-       if (val == 0)
-@@ -425,6 +423,22 @@ static ssize_t set_pwm(struct device *de
- out:
-       mutex_unlock(&data->update_lock);
-+      return ret;
-+}
-+
-+static ssize_t set_pwm(struct device *dev, struct device_attribute *da,
-+                     const char *buf, size_t count)
-+{
-+      struct tc654_data *data = dev_get_drvdata(dev);
-+      unsigned long val;
-+      int ret;
-+
-+      if (kstrtoul(buf, 10, &val))
-+              return -EINVAL;
-+      if (val > 255)
-+              return -EINVAL;
-+
-+      ret = _set_pwm(data, val);
-       return ret < 0 ? ret : count;
- }
-@@ -462,6 +476,47 @@ static struct attribute *tc654_attrs[] =
- ATTRIBUTE_GROUPS(tc654);
-+/* cooling device */
-+
-+static int tc654_get_max_state(struct thermal_cooling_device *cdev,
-+                             unsigned long *state)
-+{
-+      *state = 255;
-+      return 0;
-+}
-+
-+static int tc654_get_cur_state(struct thermal_cooling_device *cdev,
-+                              unsigned long *state)
-+{
-+      struct tc654_data *data = tc654_update_client(cdev->devdata);
-+
-+      if (IS_ERR(data))
-+              return PTR_ERR(data);
-+
-+      *state = get_pwm(data);
-+      return 0;
-+}
-+
-+static int tc654_set_cur_state(struct thermal_cooling_device *cdev,
-+                             unsigned long state)
-+{
-+      struct tc654_data *data = tc654_update_client(cdev->devdata);
-+
-+      if (IS_ERR(data))
-+              return PTR_ERR(data);
-+
-+      if (state > 255)
-+              return -EINVAL;
-+
-+      return _set_pwm(data, state);
-+}
-+
-+static const struct thermal_cooling_device_ops tc654_fan_cool_ops = {
-+      .get_max_state = tc654_get_max_state,
-+      .get_cur_state = tc654_get_cur_state,
-+      .set_cur_state = tc654_set_cur_state,
-+};
-+
- /*
-  * device probe and removal
-  */
-@@ -493,7 +548,21 @@ static int tc654_probe(struct i2c_client
-       hwmon_dev =
-           devm_hwmon_device_register_with_groups(dev, client->name, data,
-                                                  tc654_groups);
--      return PTR_ERR_OR_ZERO(hwmon_dev);
-+      if (IS_ERR(hwmon_dev))
-+              return PTR_ERR(hwmon_dev);
-+
-+#if IS_ENABLED(CONFIG_OF)
-+      /* Optional cooling device register for Device tree platforms */
-+      data->cdev = thermal_of_cooling_device_register(client->dev.of_node,
-+                                                      "tc654", hwmon_dev,
-+                                                      &tc654_fan_cool_ops);
-+#else /* CONFIG_OF */
-+      /* Optional cooling device register for non Device tree platforms */
-+      data->cdev = thermal_cooling_device_register("tc654", hwmon_dev,
-+                                                   &tc654_fan_cool_ops);
-+#endif /* CONFIG_OF */
-+
-+      return PTR_ERR_OR_ZERO(data->cdev);
- }
- static const struct i2c_device_id tc654_id[] = {
diff --git a/target/linux/ar7/Makefile b/target/linux/ar7/Makefile
deleted file mode 100644 (file)
index 1f789ca..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright (C) 2006-2011 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-include $(TOPDIR)/rules.mk
-
-ARCH:=mipsel
-BOARD:=ar7
-BOARDNAME:=TI AR7
-FEATURES:=squashfs atm low_mem
-MAINTAINER:=Florian Fainelli <florian@openwrt.org>
-SUBTARGETS:=generic ac49x
-
-KERNEL_PATCHVER:=4.9
-
-define Target/Description
-       Build firmware images for TI AR7 based routers.
-endef
-
-include $(INCLUDE_DIR)/target.mk
-
-DEFAULT_PACKAGES+= swconfig
-
-$(eval $(call BuildTarget))
diff --git a/target/linux/ar7/ac49x/config-default b/target/linux/ar7/ac49x/config-default
deleted file mode 100644 (file)
index d56df86..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-CONFIG_AR7_AC49X=y
-CONFIG_AR7_TYPE_AC49X=y
-# CONFIG_AR7_TYPE_TI is not set
-CONFIG_MTD_AC49X_PARTS=y
diff --git a/target/linux/ar7/ac49x/profiles/210-None.mk b/target/linux/ar7/ac49x/profiles/210-None.mk
deleted file mode 100644 (file)
index 2fcfacd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/None
-  NAME:=No WiFi
-  PACKAGES:=
-endef
-
-define Profile/None/Description
-       Package set without WiFi support
-endef
-$(eval $(call Profile,None))
-
diff --git a/target/linux/ar7/ac49x/target.mk b/target/linux/ar7/ac49x/target.mk
deleted file mode 100644 (file)
index 47f3ab2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Copyright (C) 2012 OpenWrt.org
-#
-
-SUBTARGET:=ac49x
-BOARDNAME:=AudioCodes AC49x
-
-define Target/Description
-       Build firmware images for AudioCodes AC49x based routers.
-endef
diff --git a/target/linux/ar7/base-files.mk b/target/linux/ar7/base-files.mk
deleted file mode 100644 (file)
index f21a604..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-define Build/Compile
-       $(call Build/Compile/Default)
-       $(TARGET_CC) -o $(PKG_BUILD_DIR)/adam2patcher $(PLATFORM_DIR)/src/adam2patcher.c
-endef
-
-define Package/base-files/install-target
-       mkdir -p $(1)/sbin
-       $(CP) $(PKG_BUILD_DIR)/adam2patcher $(1)/sbin
-endef
-
-
diff --git a/target/linux/ar7/base-files/etc/board.d/02_network b/target/linux/ar7/base-files/etc/board.d/02_network
deleted file mode 100755 (executable)
index c1c2dc4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-. /lib/functions/uci-defaults.sh
-
-board_config_update
-
-if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175A/1:00" -o \
-     -e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/1:00" ] && \
-   [ -x /sbin/swconfig ];
-then
-       ucidef_add_switch "eth0" \
-               "0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0"
-
-elif [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/1:00" -o \
-       -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/1:10" ];
-then
-       ucidef_set_interface_lan "eth0.1"
-
-elif [ -d "/sys/class/net/eth1" ]; then
-       ucidef_set_interface_lan "eth0 eth1"
-
-else
-       ucidef_set_interface_lan "eth0"
-fi
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/ar7/base-files/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh
deleted file mode 100644 (file)
index f9aa809..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2007-2013 OpenWrt.org
-
-. /lib/functions/leds.sh
-
-get_status_led() {
-       [ -d "/sys/class/leds/status" ] && status_led="status"
-       [ -d "/sys/class/leds/power:green" ] && status_led="power:green"
-}
-
-set_state() {
-       get_status_led
-
-       case "$1" in
-       preinit)
-               status_led_blink_preinit
-               ;;
-       failsafe)
-               status_led_blink_failsafe
-               ;;
-       preinit_regular)
-               status_led_blink_preinit_regular
-               ;;
-       done)
-               status_led_on
-
-               [ "$status_led" = "power:green" ] && {
-                       led_off "power:red"
-               }
-               ;;
-       esac
-}
diff --git a/target/linux/ar7/base-files/etc/init.d/adam2 b/target/linux/ar7/base-files/etc/init.d/adam2
deleted file mode 100755 (executable)
index 6b78627..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh /etc/rc.common
-# ADAM2 patcher for Netgear DG834 and compatible
-# Copyright (C) 2006 OpenWrt.org
-
-START=00
-start() {
-       MD5="$(md5sum /dev/mtdblock0  | awk '{print $1}')"
-       [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && {
-               mtd unlock adam2
-               /sbin/adam2patcher /dev/mtdblock0
-       }
-       rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&-
-}
diff --git a/target/linux/ar7/config-4.9 b/target/linux/ar7/config-4.9
deleted file mode 100644 (file)
index 95a5375..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-CONFIG_ADM6996_PHY=y
-CONFIG_AR7=y
-CONFIG_AR7_TI=y
-# CONFIG_AR7_TYPE_AC49X is not set
-CONFIG_AR7_TYPE_TI=y
-CONFIG_AR7_WDT=y
-CONFIG_ARCH_BINFMT_ELF_STATE=y
-CONFIG_ARCH_CLOCKSOURCE_DATA=y
-CONFIG_ARCH_DISCARD_MEMBLOCK=y
-CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
-# CONFIG_ARCH_HAS_GCOV_PROFILE_ALL is not set
-# CONFIG_ARCH_HAS_SG_CHAIN is not set
-CONFIG_ARCH_HIBERNATION_POSSIBLE=y
-CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
-CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
-CONFIG_ARCH_SUPPORTS_UPROBES=y
-CONFIG_ARCH_SUSPEND_POSSIBLE=y
-CONFIG_ARCH_USE_BUILTIN_BSWAP=y
-CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
-CONFIG_BOOT_ELF32=y
-CONFIG_CEVT_R4K=y
-CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
-CONFIG_CMDLINE_BOOL=y
-# CONFIG_CMDLINE_OVERRIDE is not set
-CONFIG_CPMAC=y
-CONFIG_CPU_GENERIC_DUMP_TLB=y
-CONFIG_CPU_HAS_PREFETCH=y
-CONFIG_CPU_HAS_SYNC=y
-CONFIG_CPU_LITTLE_ENDIAN=y
-CONFIG_CPU_MIPS32=y
-CONFIG_CPU_MIPS32_R1=y
-CONFIG_CPU_MIPSR1=y
-CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y
-CONFIG_CPU_R4K_CACHE_TLB=y
-CONFIG_CPU_R4K_FPU=y
-CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
-CONFIG_CPU_SUPPORTS_HIGHMEM=y
-CONFIG_CRYPTO_RNG2=y
-CONFIG_CRYPTO_WORKQUEUE=y
-CONFIG_CSRC_R4K=y
-CONFIG_DMA_NONCOHERENT=y
-CONFIG_EARLY_PRINTK=y
-CONFIG_ETHERNET_PACKET_MANGLE=y
-CONFIG_FIXED_PHY=y
-CONFIG_GENERIC_ATOMIC64=y
-CONFIG_GENERIC_CLOCKEVENTS=y
-CONFIG_GENERIC_CMOS_UPDATE=y
-CONFIG_GENERIC_IO=y
-CONFIG_GENERIC_IRQ_CHIP=y
-CONFIG_GENERIC_IRQ_SHOW=y
-CONFIG_GENERIC_PCI_IOMAP=y
-CONFIG_GENERIC_SCHED_CLOCK=y
-CONFIG_GENERIC_SMP_IDLE_THREAD=y
-CONFIG_GENERIC_TIME_VSYSCALL=y
-CONFIG_GPIOLIB=y
-CONFIG_HANDLE_DOMAIN_IRQ=y
-CONFIG_HARDWARE_WATCHPOINTS=y
-CONFIG_HAS_DMA=y
-CONFIG_HAS_IOMEM=y
-CONFIG_HAS_IOPORT_MAP=y
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
-# CONFIG_HAVE_ARCH_BITREVERSE is not set
-CONFIG_HAVE_ARCH_JUMP_LABEL=y
-CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
-CONFIG_HAVE_ARCH_TRACEHOOK=y
-# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
-CONFIG_HAVE_CBPF_JIT=y
-CONFIG_HAVE_CC_STACKPROTECTOR=y
-CONFIG_HAVE_CLK=y
-CONFIG_HAVE_CONTEXT_TRACKING=y
-CONFIG_HAVE_C_RECORDMCOUNT=y
-CONFIG_HAVE_DEBUG_KMEMLEAK=y
-CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
-CONFIG_HAVE_DMA_API_DEBUG=y
-CONFIG_HAVE_DMA_CONTIGUOUS=y
-CONFIG_HAVE_DYNAMIC_FTRACE=y
-CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
-CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
-CONFIG_HAVE_FUNCTION_TRACER=y
-CONFIG_HAVE_GENERIC_DMA_COHERENT=y
-CONFIG_HAVE_IDE=y
-CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
-CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
-CONFIG_HAVE_LATENCYTOP_SUPPORT=y
-CONFIG_HAVE_MEMBLOCK=y
-CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
-CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
-CONFIG_HAVE_NET_DSA=y
-CONFIG_HAVE_OPROFILE=y
-CONFIG_HAVE_PERF_EVENTS=y
-CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
-CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
-CONFIG_HW_RANDOM=y
-CONFIG_HZ_PERIODIC=y
-CONFIG_INITRAMFS_SOURCE=""
-CONFIG_IP17XX_PHY=y
-CONFIG_IRQ_DOMAIN=y
-CONFIG_IRQ_FORCED_THREADING=y
-CONFIG_IRQ_MIPS_CPU=y
-CONFIG_IRQ_WORK=y
-CONFIG_KALLSYMS=y
-CONFIG_LEDS_GPIO=y
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-CONFIG_MDIO_BOARDINFO=y
-CONFIG_MIPS=y
-CONFIG_MIPS_ASID_BITS=8
-CONFIG_MIPS_ASID_SHIFT=0
-CONFIG_MIPS_CLOCK_VSYSCALL=y
-# CONFIG_MIPS_CMDLINE_BUILTIN_EXTEND is not set
-CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y
-# CONFIG_MIPS_HUGE_TLB_SUPPORT is not set
-CONFIG_MIPS_L1_CACHE_SHIFT=5
-# CONFIG_MIPS_MACHINE is not set
-CONFIG_MODULES_USE_ELF_REL=y
-# CONFIG_MTD_AC49X_PARTS is not set
-CONFIG_MTD_CFI_STAA=y
-CONFIG_MTD_PHYSMAP=y
-CONFIG_MVSWITCH_PHY=y
-CONFIG_NEED_DMA_MAP_STATE=y
-CONFIG_NEED_PER_CPU_KM=y
-CONFIG_NO_EXCEPT_FILL=y
-CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
-# CONFIG_NO_IOPORT_MAP is not set
-# CONFIG_OF is not set
-CONFIG_PCI_DRIVERS_LEGACY=y
-CONFIG_PERF_USE_VMALLOC=y
-CONFIG_PGTABLE_LEVELS=2
-CONFIG_PHYLIB=y
-# CONFIG_RCU_STALL_COMMON is not set
-# CONFIG_SCHED_INFO is not set
-# CONFIG_SCSI_DMA is not set
-# CONFIG_SERIAL_8250_FSL is not set
-CONFIG_SRCU=y
-CONFIG_SWAP_IO_SPACE=y
-CONFIG_SWCONFIG=y
-CONFIG_SWPHY=y
-CONFIG_SYSCTL_EXCEPTION_TRACE=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_LITTLE_ENDIAN=y
-CONFIG_SYS_SUPPORTS_MIPS16=y
-CONFIG_SYS_SUPPORTS_ZBOOT=y
-CONFIG_SYS_SUPPORTS_ZBOOT_UART16550=y
-CONFIG_TICK_CPU_ACCOUNTING=y
-CONFIG_VLYNQ=y
-# CONFIG_VLYNQ_DEBUG is not set
diff --git a/target/linux/ar7/files/drivers/mtd/ac49xpart.c b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
deleted file mode 100644 (file)
index 4f8a9c1..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-/*
- * AudioCodes AC49x PSPBoot-based flash partition table
- * Copyright 2012 Daniel Golle <daniel.golle@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
- */
-
-#include <linux/kernel.h>
-#include <linux/slab.h>
-
-#include <linux/mtd/mtd.h>
-#include <linux/mtd/partitions.h>
-#include <linux/bootmem.h>
-#include <linux/magic.h>
-#include <linux/module.h>
-
-#include <asm/mach-ar7/prom.h>
-
-#define AC49X_MAXENVPARTS      8
-
-#define AC49X_PARTTYPE_LOADER  0
-#define AC49X_PARTTYPE_BOOTENV 1
-#define AC49X_PARTTYPE_LINUX   2
-#define AC49X_PARTTYPE_ROOTFS  3
-#define AC49X_PARTTYPE_UNKNOWN 4
-#define AC49X_NUM_PARTTYPES    5
-
-#define AC49X_FLASH_ADDRMASK   0x00FFFFFF
-
-#define AC49X_LOADER_MAGIC     0x40809000
-#define AC49X_LINUX_MAGIC      0x464c457f /*  ELF */
-#define AC49X_BOOTENV_MAGIC    0x4578614d /* MaxE */
-
-#define ROOTFS_MIN_OFFSET      0xC0000
-
-int parse_partvar(const unsigned char *partvar, struct mtd_partition *part)
-{
-       unsigned int partstart, partend;
-       unsigned int pnum;
-
-       pnum = sscanf(partvar, "0x%x,0x%x", &partstart, &partend);
-       if (pnum != 2)
-               return 1;
-
-       part->offset = partstart & AC49X_FLASH_ADDRMASK;
-       part->size = partend - partstart;
-
-       return 0;
-}
-
-int detect_parttype(struct mtd_info *master, struct mtd_partition part)
-{
-       unsigned int magic;
-       size_t len;
-
-       if (part.size < 4)
-               return -1;
-
-       mtd_read(master, part.offset, sizeof(magic), &len,
-                (uint8_t *)&magic);
-
-       if (len != sizeof(magic))
-               return -1;
-
-       switch (magic) {
-       case AC49X_LOADER_MAGIC:
-               return AC49X_PARTTYPE_LOADER;
-       case AC49X_LINUX_MAGIC:
-               return AC49X_PARTTYPE_LINUX;
-       case SQUASHFS_MAGIC:
-       case CRAMFS_MAGIC:
-       case CRAMFS_MAGIC_WEND:
-               return AC49X_PARTTYPE_ROOTFS;
-       case AC49X_BOOTENV_MAGIC:
-               return AC49X_PARTTYPE_BOOTENV;
-       default:
-               switch (magic & 0xFF) {
-               case JFFS2_SUPER_MAGIC:
-                       return AC49X_PARTTYPE_ROOTFS;
-               }
-               switch (magic >> 8) {
-               case JFFS2_SUPER_MAGIC:
-                       return AC49X_PARTTYPE_ROOTFS;
-               }
-               return AC49X_PARTTYPE_UNKNOWN;
-       }
-}
-
-const char *partnames[] = {
-       "loader",
-       "config",
-       "linux",
-       "rootfs",
-       "data"
-};
-
-void gen_partname(unsigned int type,
-                 unsigned int *typenumeration,
-                 struct mtd_partition *part)
-{
-       char *s  = kzalloc(sizeof(char) * 8, GFP_KERNEL);
-
-       (typenumeration[type])++;
-       if (typenumeration[type] == 1)
-               sprintf(s, "%s", partnames[type]);
-       else
-               sprintf(s, "%s%d", partnames[type], typenumeration[type]);
-
-       part->name = s;
-}
-
-static int create_mtd_partitions(struct mtd_info *master,
-                                const struct mtd_partition **pparts,
-                                struct mtd_part_parser_data *data)
-{
-       unsigned int envpartnum = 0, linuxpartnum = 0;
-       unsigned int typenumeration[5] = { 0, 0, 0, 0, 0 };
-       unsigned char evn[5];
-       const unsigned char *partvar = NULL;
-
-       struct mtd_partition *ac49x_parts;
-
-       ac49x_parts = kzalloc(sizeof(*ac49x_parts) * AC49X_MAXENVPARTS,
-                               GFP_KERNEL);
-
-       if (!ac49x_parts)
-               return -ENOMEM;
-
-       linuxpartnum = 0;
-       for (envpartnum = 0; envpartnum < AC49X_MAXENVPARTS; envpartnum++) {
-               struct mtd_partition parsepart;
-               unsigned int offset, size, type;
-               int err;
-               sprintf(evn, "mtd%d", envpartnum);
-               partvar = prom_getenv(evn);
-               if (!partvar)
-                       continue;
-               err = parse_partvar(partvar, &parsepart);
-               if (err)
-                       continue;
-               offset = parsepart.offset;
-               size = parsepart.size;
-               type = detect_parttype(master, parsepart);
-               gen_partname(type, typenumeration, &parsepart);
-               /* protect loader */
-               if (type == AC49X_PARTTYPE_LOADER)
-                       parsepart.mask_flags = MTD_WRITEABLE;
-               else
-                       parsepart.mask_flags = 0;
-
-               memcpy(&(ac49x_parts[linuxpartnum]), &parsepart,
-                       sizeof(struct mtd_partition));
-
-               /* scan for contained rootfs */
-               if (type == AC49X_PARTTYPE_LINUX) {
-                       parsepart.offset += ROOTFS_MIN_OFFSET &
-                                               ~(master->erasesize - 1);
-                       parsepart.size -= ROOTFS_MIN_OFFSET &
-                                               ~(master->erasesize - 1);
-                       do {
-                               unsigned int size, offset;
-                               size = parsepart.size;
-                               offset = parsepart.offset;
-
-                               type = detect_parttype(master, parsepart);
-                               if (type == AC49X_PARTTYPE_ROOTFS) {
-                                       gen_partname(type, typenumeration,
-                                                       &parsepart);
-                                       printk(KERN_INFO
-                                               "%s %s: 0x%08x@0x%08x\n",
-                                               "detected sub-partition",
-                                               parsepart.name,
-                                               (unsigned int)parsepart.size,
-                                               (unsigned int)parsepart.offset);
-                                       linuxpartnum++;
-                                       memcpy(&(ac49x_parts[linuxpartnum]),
-                                               &parsepart,
-                                               sizeof(struct mtd_partition));
-                                       break;
-                               }
-                               parsepart.offset += master->erasesize;
-                               parsepart.size -= master->erasesize;
-                       } while (parsepart.size >= master->erasesize);
-               }
-               linuxpartnum++;
-       }
-
-       *pparts = ac49x_parts;
-       return linuxpartnum;
-}
-
-static struct mtd_part_parser ac49x_parser = {
-       .owner = THIS_MODULE,
-       .parse_fn = create_mtd_partitions,
-       .name = "ac49xpart",
-};
-
-static int __init ac49x_parser_init(void)
-{
-       register_mtd_parser(&ac49x_parser);
-       return 0;
-}
-
-module_init(ac49x_parser_init);
-
-MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Daniel Golle <daniel.golle@gmail.com>");
-MODULE_DESCRIPTION("MTD partitioning for AudioCodes AC49x");
diff --git a/target/linux/ar7/files/drivers/mtd/titanpart.c b/target/linux/ar7/files/drivers/mtd/titanpart.c
deleted file mode 100644 (file)
index a6403f6..0000000
+++ /dev/null
@@ -1,234 +0,0 @@
-#include <linux/kernel.h>
-#include <linux/slab.h>
-
-#include <linux/mtd/mtd.h>
-#include <linux/mtd/partitions.h>
-#include <linux/bootmem.h>
-#include <linux/magic.h>
-#include <asm/mach-ar7/prom.h>
-
-#define IMAGE_A_SIZE 0X3c0000
-#define WRTP_PARTS     14
-#define NSP_IMG_MAGIC_NUMBER           le32_to_cpu(0x4D544443)
-#define NSP_IMG_SECTION_TYPE_KERNEL            (0x01)
-#define NSP_IMG_SECTION_TYPE_FILESYSTEM_ROOT   (0x02)
-#define NSP_IMG_SECTION_TYPE_FILESYSTEM                (0x03)
-#define MAX_NUM_PARTITIONS 14
-
-static int part_count=0;
-static struct mtd_partition titan_parts[WRTP_PARTS];
-
-
-struct nsp_img_hdr_head
-{
-       unsigned int    magic;          /* Magic number to identify this image header */
-       unsigned int    boot_offset;    /* Offset from start of header to kernel code. */
-       unsigned int    flags;          /* Image flags. */
-       unsigned int    hdr_version;    /* Version of this header. */
-       unsigned int    hdr_size;       /* The complete size of all portions of the header */
-       unsigned int    prod_id;        /* This product id */
-       unsigned int    rel_id;         /* Which release this is */
-       unsigned int    version;        /* name-MMM.nnn.ooo-rxx => 0xMMnnooxx. See comment
-                                          below */
-       unsigned int    image_size;     /* Image size (including header) */
-       unsigned int    info_offset;    /* Offset from start of header to info block */
-       unsigned int    sect_info_offset;       /* Offset from start of header to section desc */
-       unsigned int    chksum_offset;  /* Offset from start of header to chksum block */
-       unsigned int    pad1;
-};
-
-struct nsp_img_hdr_section_info
-{
-       unsigned int    num_sects;      /* Number of section (and section desc blocks) in this image */
-       unsigned int    sect_size;      /* Size of a SINGLE section_desc block */
-       unsigned int    sections_offset;        /* Offset to from start of header to the start of the section blocks */
-};
-
-/* There will be one of more of the following stuctures in the image header. Each
-   section will have one of these blocks. */
-struct nsp_img_hdr_sections
-{
-       unsigned int    offset;         /* Offset of section from start of NSP_IMG_HDR_HEAD */
-       unsigned int    total_size;     /* Size of section (including pad size.) */
-       unsigned int    raw_size;       /* Size of section only */
-       unsigned int    flags;          /* Section flags */
-       unsigned int    chksum;         /* Section checksum */
-       unsigned int    type;           /* Section type. What kind of info does this section describe */
-       char            name[16];       /* Reference name for this section. */
-};
-
-
-
-
-
-static int     titan_parse_env_address(char *env_name, unsigned int *flash_base,
-                               unsigned int *flash_end)
-{
-       char    image_name[30];
-       char    *env_ptr;
-       char    *base_ptr;
-       char    *end_ptr;
-       char * string_ptr;
-       /* Get the image variable */
-       env_ptr = prom_getenv(env_name);
-       if(!env_ptr){
-               printk("titan: invalid env name, %s.\n", env_name);
-               return -1;      /* Error, no image variable */
-       }
-       strncpy(image_name, env_ptr, 30);
-       image_name[29]=0;
-       string_ptr = image_name;
-       /* Extract the start and stop addresses of the partition */
-       base_ptr = strsep(&string_ptr, ",");
-       end_ptr = strsep(&string_ptr, ",");
-       if ((base_ptr == NULL) || (end_ptr == NULL)) {  
-               printk("titan: Couldn't tokenize %s start,end.\n", image_name);
-               return -1;
-       }
-
-       *flash_base = (unsigned int) simple_strtol(base_ptr, NULL, 0);
-       *flash_end = (unsigned int) simple_strtol(end_ptr, NULL, 0);
-       if((!*flash_base) || (!*flash_end)) {
-               printk("titan: Unable to convert :%s: :%s: into start,end values.\n",
-                               env_name, image_name);
-               return -1;
-       }
-       *flash_base &= 0x0fffffff;
-       *flash_end &= 0x0fffffff;
-       return 0;
-}
-
-
-
-static int     titan_get_single_image(char *bootcfg_name, unsigned int *flash_base,
-                               unsigned int *flash_end)
-{
-       char    *env_ptr;
-       char    *base_ptr;
-       char    *end_ptr;
-       char    image_name[30];
-       char * string_ptr;
-
-       if(!bootcfg_name || !flash_base || !flash_end)
-               return -1;
-
-       env_ptr = prom_getenv(bootcfg_name);
-       if(!env_ptr){
-               printk("titan: %s variable not found.\n", bootcfg_name);
-               return -1;      /* Error, no bootcfg variable */
-       }
-
-       string_ptr = image_name;
-       /* Save off the image name */
-       strncpy(image_name, env_ptr, 30);
-       image_name[29]=0;
-
-       end_ptr=strsep(&string_ptr, "\"");
-       base_ptr=strsep(&string_ptr, "\"");             /* Loose the last " */
-       if(!end_ptr || !base_ptr){
-               printk("titan: invalid bootcfg format, %s.\n", image_name);
-               return -1;      /* Error, invalid bootcfg variable */
-       }
-
-       /* Now, parse the addresses */
-       return titan_parse_env_address(base_ptr, flash_base, flash_end);
-}
-
-
-
-static void titan_add_partition(char * env_name, unsigned int flash_base, unsigned int flash_end)
-{
-               titan_parts[part_count].name = env_name;
-               titan_parts[part_count].offset = flash_base;
-               titan_parts[part_count].size = flash_end-flash_base;
-               titan_parts[part_count].mask_flags = (strcmp(env_name, "bootloader")==0|| 
-                       strcmp(env_name, "boot_env")==0 ||
-                       strcmp(env_name, "full_image")==0 )?MTD_WRITEABLE:0;
-               part_count++;
-
-}
-int create_titan_partitions(struct mtd_info *master,
-       struct mtd_partition **pparts,
-       unsigned long origin)
-{
-       struct nsp_img_hdr_head         hdr;
-       struct nsp_img_hdr_section_info sect_info;
-       struct nsp_img_hdr_sections     section;
-       unsigned int                    flash_base, flash_end;
-       unsigned int                    start, end;
-       char                            *name;
-       int     i;
-       int     total_sects=0;
-       size_t len;
-
-       /* Get the bootcfg env variable first */
-       if(titan_get_single_image("BOOTCFG", &flash_base, &flash_end)) {
-               /* Error, fallback */
-               return -1;
-       }
-
-       /* Get access to the header, and do some validation checks */
-       //hdr=(struct nsp_img_hdr_head*)flash_base;
-       mtd_read(master, flash_base, sizeof(struct nsp_img_hdr_head), &len, (uint8_t *)&hdr);
-       if(hdr.magic != NSP_IMG_MAGIC_NUMBER)
-               return -1;      /* Not a single image */
-
-       mtd_read(master, flash_base + hdr.sect_info_offset, sizeof(struct nsp_img_hdr_section_info), &len, (uint8_t *)&sect_info);
-
-       /* Look for the root fs, and add it first. This way we KNOW where the rootfs is */
-       for(i=0; i< sect_info.num_sects && i<MAX_NUM_PARTITIONS; i++){
-               mtd_read(master, flash_base + sect_info.sections_offset + (i * sect_info.sect_size) , sizeof(struct nsp_img_hdr_sections), &len, (uint8_t *)&section);
-               /* Add only the root partition */
-               if(section.type != NSP_IMG_SECTION_TYPE_FILESYSTEM_ROOT){
-                       continue;
-               }
-               start=flash_base + section.offset;
-               end=start + section.total_size;
-               titan_add_partition("root", start, end);
-               total_sects++;
-               
-       }
-
-       for(i=0; i< sect_info.num_sects && i<MAX_NUM_PARTITIONS; i++){
-
-               mtd_read(master, flash_base + sect_info.sections_offset + (i * sect_info.sect_size) , sizeof(struct nsp_img_hdr_sections), &len, (uint8_t *)&section);
-
-               name=section.name;
-               if(section.type == NSP_IMG_SECTION_TYPE_FILESYSTEM_ROOT)
-               {
-                       name = "rootfs";
-                       start=flash_base + section.offset;
-                       end=flash_end;
-                       titan_add_partition(name, start, end);
-                       total_sects++;
-               }
-               else if(section.type == NSP_IMG_SECTION_TYPE_KERNEL)
-               {
-                       name = "kernel";
-                       start=flash_base + section.offset;
-                       end=start + section.total_size;
-                       titan_add_partition(name, start, end);
-                       total_sects++;
-               }
-
-       }
-
-       /* Next, lets add the single image */
-       titan_add_partition("primary_image", flash_base, flash_end);
-       total_sects++;
-
-
-       titan_add_partition("full_image", 0,  master->size);
-       total_sects++;
-
-       if (!titan_parse_env_address("BOOTLOADER", &start, &end)){
-               titan_add_partition("bootloader", start, end);
-               total_sects++;
-       }
-       if (!titan_parse_env_address("boot_env", &start, &end)){
-               titan_add_partition("boot_env", start, end);
-               total_sects++;
-       }
-       *pparts = titan_parts;
-       return total_sects;
-}
diff --git a/target/linux/ar7/generic/config-default b/target/linux/ar7/generic/config-default
deleted file mode 100644 (file)
index 10d46e9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-CONFIG_AR7_TI=y
-# CONFIG_AR7_TYPE_AC49X is not set
-CONFIG_AR7_TYPE_TI=y
-# CONFIG_MTD_AC49X_PARTS is not set
-CONFIG_MTD_AR7_PARTS=y
diff --git a/target/linux/ar7/generic/profiles/100-Annex-A.mk b/target/linux/ar7/generic/profiles/100-Annex-A.mk
deleted file mode 100644 (file)
index d8e549e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Annex-A
-  NAME:=Annex-A DSL firmware (default)
-  PACKAGES:=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl \
-           kmod-sangam-atm-annex-a
-endef
-
-define Profile/Annex-A/Description
-       Package set compatible with Annex-A DSL lines (most countries).
-endef
-$(eval $(call Profile,Annex-A))
-
diff --git a/target/linux/ar7/generic/profiles/110-Annex-B.mk b/target/linux/ar7/generic/profiles/110-Annex-B.mk
deleted file mode 100644 (file)
index 55de1fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Annex-B
-  NAME:=Annex-B DSL firmware
-  PACKAGES:=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl \
-           kmod-sangam-atm-annex-b
-endef
-
-define Profile/Annex-B/Description
-       Package set compatible with Annex-B DSL lines (Germany).
-endef
-$(eval $(call Profile,Annex-B))
-
diff --git a/target/linux/ar7/generic/profiles/200-Texas.mk b/target/linux/ar7/generic/profiles/200-Texas.mk
deleted file mode 100644 (file)
index 7d868bd..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2006-2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Texas
-  NAME:=Texas Instruments WiFi (mac80211)
-  PACKAGES:=kmod-acx-mac80211
-endef
-
-define Profile/Texas/Description
-       Package set compatible with hardware using Texas Instruments WiFi cards
-       using the mac80211 driver.
-endef
-$(eval $(call Profile,Texas))
-
diff --git a/target/linux/ar7/generic/profiles/210-None.mk b/target/linux/ar7/generic/profiles/210-None.mk
deleted file mode 100644 (file)
index 2fcfacd..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/None
-  NAME:=No WiFi
-  PACKAGES:=
-endef
-
-define Profile/None/Description
-       Package set without WiFi support
-endef
-$(eval $(call Profile,None))
-
diff --git a/target/linux/ar7/generic/target.mk b/target/linux/ar7/generic/target.mk
deleted file mode 100644 (file)
index b40d2a4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# Copyright (C) 2012 OpenWrt.org
-#
-
-SUBTARGET:=generic
-BOARDNAME:=Texas Instruments AR7 boards
-
-DEFAULT_PACKAGES+= kmod-mac80211 kmod-acx-mac80211 wpad-basic
-
-define Target/Description
-       Build firmware images for TI AR7 based routers.
-endef
diff --git a/target/linux/ar7/image/Makefile b/target/linux/ar7/image/Makefile
deleted file mode 100644 (file)
index d20de27..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-#
-# Copyright (C) 2006-2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/image.mk
-
-DROP_SECTIONS:=.reginfo .mdebug .comment .note .pdr .options .MIPS.options
-OBJCOPY_SREC:=$(TARGET_CROSS)objcopy -S -O srec $(addprefix --remove-section=,$(DROP_SECTIONS))
-
-LOADADDR:=0x94600000
-KERNEL_ENTRY:=0x94100000
-RAMSTART:=0x94000000
-RAMSIZE:=0x00100000
-
-EVA_LOADADDR := 0x94100000
-
-LOADER_MAKEOPTS= \
-       KDIR=$(KDIR) \
-       LOADADDR=$(LOADADDR) \
-       KERNEL_ENTRY=$(KERNEL_ENTRY) \
-       RAMSTART=$(RAMSTART) \
-       RAMSIZE=$(RAMSIZE)
-
-CFLAGS := -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
-       -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic \
-       -pipe -mlong-calls -fno-common \
-       -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap \
-       -DLOADADDR=$(LOADADDR)
-
-define Build/Clean
-       $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader $(LOADER_MAKEOPTS) clean
-endef
-
-define Image/Prepare
-       cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
-       $(STAGING_DIR_HOST)/bin/lzma2eva $(EVA_LOADADDR) 0x$${shell $(TARGET_CROSS)nm $(KDIR)/vmlinux | grep -w kernel_entry | cut -d' ' -f1} $(KDIR)/vmlinux.lzma $(KDIR)/loader.eva
-
-       $(MAKE) -C $(GENERIC_PLATFORM_DIR)/image/lzma-loader \
-               $(LOADER_MAKEOPTS) \
-               clean compile
-       $(OBJCOPY_SREC) $(KDIR)/loader.elf $(KDIR)/loader.srec
-       $(OBJCOPY_SREC) $(KDIR)/vmlinux.elf $(KDIR)/vmlinux.srec
-       srec2bin $(KDIR)/loader.srec $(KDIR)/loader.bin
-       srec2bin $(KDIR)/vmlinux.srec $(KDIR)/vmlinux.bin
-ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
-       $(OBJCOPY_SREC) $(KDIR)/vmlinux-initramfs.elf \
-               $(KDIR)/vmlinux-initramfs.srec
-       srec2bin $(KDIR)/vmlinux-initramfs.srec $(KDIR)/vmlinux-initramfs.bin
-endif
-endef
-
-define align/jffs2-64k
-bs=65536 conv=sync
-endef
-
-define align/jffs2-128k
-bs=131072 conv=sync
-endef
-
-define align/squashfs
-endef
-
-define Image/Build/CyberTAN
-       (dd if=/dev/zero bs=16 count=1; cat $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin) | \
-               $(STAGING_DIR_HOST)/bin/addpattern -p $(3) -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(4)-code.bin
-endef
-
-define Image/Build/Titan
-       $(STAGING_DIR_HOST)/bin/mktitanimg -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(4)-code.bin -i $(KDIR)/loader.bin $(KDIR)/root.$(1) -a 0x10000 0x10000 -h 2  -p 0x4C575943 -s 0x0b010000
-       $(STAGING_DIR_HOST)/bin/mktitanimg -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-na-$(4)-code.bin -i $(KDIR)/loader.bin $(KDIR)/root.$(1) -a 0x10000 0x10000 -h 2  -p 0x4D575943 -s 0x0b010000
-endef
-
-define Image/Build/AudioCodes
-       ( dd if=$(KDIR)/vmlinux.elf bs=64k conv=sync ; dd if=$(KDIR)/root.$(1) ) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).bin
-endef
-
-#define Image/Build/sErCoMm
-#      cat sercomm/adam2.bin "$(BIN_DIR)/$(IMG_PREFIX)-$(1).bin" > "$(KDIR)/dgfw.tmp"
-#      dd if=sercomm/$(2) of="$(KDIR)/dgfw.tmp" bs=$$$$((0x3e0000 - 80)) seek=1 conv=notrunc
-#      $(STAGING_DIR_HOST)/bin/dgfirmware -f -w "$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(3).img" "$(KDIR)/dgfw.tmp"
-#      rm -f "$(KDIR)/dgfw.tmp"
-#endef
-
-define Image/Build/EVA
-       dd if=$(KDIR)/loader.eva $(call align/$(1)) > $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(KERNEL)-$(1).bin
-       cat $(KDIR)/root.$(1) >> $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(KERNEL)-$(1).bin
-       $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(KERNEL)-$(1).bin)
-endef
-
-define Image/Build/Initramfs
-       $(CP) $(KDIR)/vmlinux-initramfs.bin $(BIN_DIR)/$(IMG_PREFIX)-initramfs.bin
-endef
-
-ifeq ($(CONFIG_AR7_TI),y)
-define Image/Build
-       dd if=$(KDIR)/loader.bin $(call align/$(1)) > $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
-       cat $(KDIR)/root.$(1) >> $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
-       $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-$(1).bin)
-       $(call Image/Build/CyberTAN,$(1),AG1B,AG1B,$(1))
-       $(call Image/Build/CyberTAN,$(1),AG1A,AG1A,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA21,WA21,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA22,WA22,$(1))
-       $(call Image/Build/CyberTAN,$(1),WAG2,WAG2,$(1))
-       $(call Image/Build/CyberTAN,$(1),AG310,AV2A -b -r 1.0,$(1))
-       $(call Image/Build/CyberTAN,$(1),AG241v2,AG3A -b -r 2.0,$(1))
-       $(call Image/Build/CyberTAN,$(1),AG241v2b,AG3B -b -r 2.0,$(1))
-       $(call Image/Build/CyberTAN,$(1),AG241v1,AG3A -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WAG54GP2v1,ATWL -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WAG54GP2v2,CTWL -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA31,WA31 -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA32,WA32 -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA7A,WA7A -b,$(1))
-       $(call Image/Build/CyberTAN,$(1),WA7B,WA7B -b,$(1))
-#      $(call Image/Build/sErCoMm,$(1),dg834,$(1))
-#      $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1))
-       $(call Image/Build/EVA,$(1),EVA)
-       $(call Image/Build/Titan,$(1),Titan,Titan,$(1))
-ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
-       $(call Image/Build/Initramfs)
-endif
-endef
-endif
-
-ifeq ($(CONFIG_AR7_AC49X),y)
<