Skip to content
Snippets Groups Projects
  1. Apr 26, 2021
    • André Przywara's avatar
      net: sun8i-emac: Fix pinmux setup for Allwinner H5 · 4e26bc63
      André Przywara authored
      
      Commit eb5a2b67 ("net: sun8i-emac: Determine pinmux based on SoC,
      not EMAC type") switched the pinmux setup over to look at
      CONFIG_MACH_SUN* symbols, to find the appropriate mux value.
      Unfortunately this patch missed to check for the H5, which is
      pin-compatible to the H3, but uses a different Kconfig symbol (because
      it has ARMv8 vs. ARMv7 cores).
      
      Replace the pure SUN8I_H3 symbol with the joint SUNXI_H3_H5 one, which is
      there to cover the peripherals common to both SoCs.
      Also explicitly list each supported SoC, and have an error message in the
      fallback case, to avoid those problems in the future.
      
      This fixes Ethernet support on all H5 boards.
      
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Tested-by: Samuel Holland <samuel@sholland.org> # Orange Pi PC2
      Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
      4e26bc63
  2. Apr 24, 2021
  3. Apr 23, 2021
Loading