Hi Andre, On 2 July 2017 at 18:59, Andre Przywara <andre.przyw...@arm.com> wrote: > Instead of hard-coding GPIO pins used for a certain peripheral, we > should just use the pinctrl information from the DT. > The sun8i-emac driver has some simple implementation of that, so > let's just generalize this and copy the code to a more common > location. > On the way we add support for the new, generic pinctrl binding now > used by all Allwinner SoCs. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > arch/arm/include/asm/arch-sunxi/gpio.h | 3 ++ > arch/arm/mach-sunxi/pinmux.c | 79 > ++++++++++++++++++++++++++++++++++ > 2 files changed, 82 insertions(+)
It looks like this should be done with a pinctrl driver, shouldn't it? Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot