openwrtv3/target/linux/brcm63xx/patches-4.4
Jonas Gorski 74aca7d913 brcm63xx: fix platform gpio lookups for gpios < 32
Overwriting static strings is never a good idea, especially expecting
identical strings to be stored in different memory locations.

This caused the lookups to always return the second chip's name. Fix
this by just initializing the lookup with the right values, so we
don't need to modify the strings at all.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48303
2016-01-18 10:46:50 +00:00
..
100-MIPS-BCM63XX-add-USB-host-clock-enable-delay.patch
101-MIPS-BCM63XX-add-USB-device-clock-enable-delay-to-cl.patch
102-MIPS-BCM63XX-move-code-touching-the-USB-private-regi.patch
103-MIPS-BCM63XX-add-OHCI-EHCI-configuration-bits-to-com.patch
104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch
105-MIPS-BCM63XX-add-support-for-the-on-chip-OHCI-contro.patch
106-MIPS-BCM63XX-register-OHCI-controller-if-board-enabl.patch
107-MIPS-BCM63XX-introduce-BCM63XX_EHCI-configuration-sy.patch
108-MIPS-BCM63XX-add-support-for-the-on-chip-EHCI-contro.patch
109-MIPS-BCM63XX-register-EHCI-controller-if-board-enabl.patch
110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch
201-SPI-Allow-specifying-the-parsers-for-SPI-flash.patch
202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch
203-MTD-DEVICES-m25p80-add-support-for-limiting-reads.patch
206-USB-EHCI-allow-limiting-ports-for-ehci-platform.patch
207-MIPS-BCM63XX-move-device-registration-code-into-its-.patch
208-MIPS-BCM63XX-pass-a-mac-addresss-allocator-to-board-.patch
302-extended-platform-devices.patch
303-spi-board-info.patch
309-cfe_version_mod.patch
310-cfe_simplify_detection.patch
311-bcm63xxpart_use_cfedetection.patch
320-irqchip-add-support-for-bcm6345-style-periphery-irq-.patch
321-irqchip-add-support-for-bcm6345-style-external-inter.patch
322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch
323-MIPS-BCM63XX-wire-up-BCM6358-s-external-interrupts-4.patch
330-MIPS-BCM63XX-add-a-new-cpu-variant-helper.patch
331-MIPS-BCM63XX-define-variant-id-field.patch
332-MIPS-BCM63XX-detect-BCM6328-variants.patch
333-MIPS-BCM63XX-detect-BCM6362-variants.patch
334-MIPS-BCM63XX-detect-BCM6368-variants.patch
335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch
336-MIPS-BCM63XX-dynamically-set-the-pcie-memory-windows.patch
337-MIPS-BCM63XX-widen-cpuid-field.patch
338-MIPS-BCM63XX-increase-number-of-IRQs.patch
339-MIPS-BCM63XX-add-support-for-BCM63268.patch
340-MIPS-BCM63XX-add-pcie-support-for-BCM63268.patch
341-MIPS-BCM63XX-add-support-for-BCM6318.patch
342-MIPS-BCM63XX-split-PCIe-reset-signals.patch
343-MIPS-BCM63XX-add-PCIe-support-for-BCM6318.patch
344-MIPS-BCM63XX-detect-flash-type-early-and-store-the-r.patch
345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch
346-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch
347-MIPS-BCM6318-USB-support.patch
348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
349-MIPS-BCM63XX-add-BCM63268-USB-support.patch
350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch
351-set-board-usbh-ports.patch
354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch
355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch
356-MIPS-BCM63XX-move-fallback-sprom-support-into-its-ow.patch
357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch
358-MIPS-BCM63XX-make-fallback-sprom-optional.patch
359-MIPS-BCM63XX-allow-different-types-of-sprom.patch
360-MIPS-BCM63XX-add-support-for-raw-sproms.patch
361-MIPS-BCM63XX-add-raw-fallback-sproms-for-most-common.patch
362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch
363-MIPS-BCM63XX-add-BCMA-based-sprom-templates.patch
364-MIPS-BCM63XX-allow-board-files-to-provide-sprom-fixu.patch
365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch
367-MIPS-BCM63XX-add-support-for-loading-DTB.patch
368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch
369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
371_add_of_node_available_by_alias.patch
372_dont_register_pflash_when_available_in_dtb.patch
373-MIPS-BCM63XX-register-interrupt-controllers-through-.patch
374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch
375-MIPS-BCM63XX-switch-to-new-gpio-driver.patch
376-net-bcm63xx_enet-use-named-gpio-for-ephy-reset-gpio.patch
377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch brcm63xx: fix platform gpio lookups for gpios < 32 2016-01-18 10:46:50 +00:00
378-MIPS-BCM63XX-do-not-register-gpio-controller-if-pres.patch brcm63xx: fix platform gpio lookups for gpios < 32 2016-01-18 10:46:50 +00:00
379-MIPS-BCM63XX-provide-a-gpio-lookup-for-the-pcmcia-re.patch
380-pcmcia-bcm63xx_pmcia-use-the-new-named-gpio.patch
400-bcm963xx_flashmap.patch
401-bcm963xx_real_rootfs_length.patch
402_bcm63xx_enet_vlan_incoming_fixed.patch
403-6358-enet1-external-mii-clk.patch
404-NET-bcm63xx_enet-move-phy_-dis-connect-into-probe-re.patch
408-bcm63xx_enet-enable-rgmii-clock-on-external-ports.patch
411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch
412-MTD-physmap-allow-passing-pp_data.patch
413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
414-MTD-m25p80-allow-passing-pp_data.patch
415-MIPS-BCM63XX-export-the-attached-flash-type.patch
416-BCM63XX-add-a-fixup-for-ath9k-devices.patch
417-MTD-bcm63xxpart-allow-passing-a-caldata-offset.patch
418-MIPS-BCM63XX-pass-caldata-info-to-flash.patch
420-BCM63XX-add-endian-check-for-ath9k.patch
421-BCM63XX-add-led-pin-for-ath9k.patch
422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch
423-bcm63xx_enet_add_b53_support.patch
424-bcm63xx_enet_no_request_mem_region.patch
425-bcm63xxpart_parse_paritions_from_dt.patch
427-boards_probe_switch.patch
499-allow_better_context_for_board_patches.patch
500-board-D4PW.patch
501-board-NB4.patch
502-board-96338W2_E7T.patch
503-board-CPVA642.patch
504-board_dsl_274xb_rev_c.patch
505-board_spw500v.patch
506-board_gw6200_gw6000.patch
507-board-MAGIC.patch
508-board_hw553.patch
509-board_rta1320_16m.patch
510-board_spw303v.patch
511-board_V2500V.patch
512-board_BTV2110.patch
513-MIPS-BCM63XX-add-inventel-Livebox-support.patch
514-board_ct536_ct5621.patch
515-board_DWV-S0_fixes.patch
516-board_96348A-122.patch
517-RTA1205W_16_uart_fixes.patch
519_board_CPVA502plus.patch
520-bcm63xx-add-support-for-96368MVWG-board.patch
521-bcm63xx-add-support-for-96368MVNgr-board.patch
522-MIPS-BCM63XX-add-96328avng-reference-board.patch
523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
524-board_dsl_274xb_rev_f.patch
525-board_96348w3.patch
526-board_CT6373-1.patch
527-board_dva-g3810bn-tl-1.patch
528-board_nb6.patch
529-board_fast2604.patch
530-board_A4001N1.patch
531-board_AR-5387un.patch
532-board_AR-5381u.patch
533-board_rta770bw.patch
534-board_hw556.patch
535-board_rta770w.patch
536-board_fast2704.patch
537-board_fast2504n.patch
550-MIPS-BCM63XX-remove-leds-and-buttons.patch
555-board_96318ref.patch
556-board_96318ref_p300.patch
557-board_bcm963269bhr.patch
558-board_AR1004G.patch
559-board_vw6339gu.patch
560-board_963268gu_p300.patch
561-board_WAP-5813n.patch
562-board_VR-3025u.patch
563-board_VR-3025un.patch
564-board_P870HW-51a_v2.patch
565-board_hw520.patch
566-board_A4001N.patch
567-board_dsl-2751b_e1.patch
568-board_DGND3700v1_3800B.patch
569-board_homehub2a.patch
570-board_HG655b.patch
571-board_fast2704n.patch
572-board_VR-3026e.patch
573-board_R5010UNv2.patch
800-wl_exports.patch
801-ssb_export_fallback_sprom.patch
802-rtl8367r_fix_RGMII_support.patch
803-jffs2-work-around-unaligned-accesses-failing-on-bcm6.patch
804-bcm63xx_enet_63268_rgmii_ports.patch