
Le lundi 23 mars 2015 à 17:26 +0100, Hans de Goede a écrit :
Hi,
p.s.
On 22-03-15 18:12, Paul Kocialkowski wrote:
This series goes on top of my previous series that concludes with Ainol AW1 support.
Also, if you're interested by the idea of using sunxi_name_to_gpio_bank, this could be extended for UART as well, where *many* different pin mux setups are possible. We are just lucky that hardware designers usually use the ports that U-Boot selects, but there is no fundamental reason for that.
I'm not really interested in making the #ifdeffery for the uart setup even more complicated, eventually we should get all this info, including all the pinmux stuff from a dtb (shared with the kernel) appended to the u-boot binary, and then this will use standard devicetree pinmux stuff, until we get there I would like to keep this as simple as possible.
Understood. There was a real need for mmc as the previous setups were just wrong for platforms != (sun4i || sun7i), but in the case of UART, it just remains minimalistic, which is fine.