Hi Albert, On Fri, Mar 14, 2014 at 02:02:29PM +0100, Albert ARIBAUD wrote: > Hi Ian, > > On Fri, 14 Mar 2014 10:33:32 +0000, Ian Campbell <i...@hellion.org.uk> > wrote: > > > Hi, > > > > This is my first cut at an upstreamable series based upon the > > https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The > > intention is to present a minimal starting point for upstreaming to > > which support for other processors, peripherals, boards etc can be > > added in the future. Therefore this has been stripped right back and > > currently supports only sun7i processors and the cubietruck > > board. Supported peripherals are UART, MMC and Ethernet. > > I am not familiar with all of AllWinner's CPUs, so please forgive me if > I'm saying something stupid. Does sun7i support mean that A31 might be > supported as well? From what I understand, UART and Eth should be > somewhat common between A20 and A31, but MMC won't. > > In any case, I am willing to try and add Mele A1000G U-Boot support > based on your series if that makes any sense. :)
Actually, between A20 and A31, a lot are common, but some IPs that are of particular interest to u-boot aren't. Most notably, the A20 and A31 share the same CPUs, interrupt controller (GIC), timers (that are also shared with all the other Allwinner SoCs), UART (designware's), ethernet (designware's GMAC IP). MMC should be common too. However, the A31 introduces a new RAM controller, a new DMA controller, a new bus to interact with the PMIC, most notably. So while we will be able to reuse some of that code, the A31 needs a significant additional effort. The good news is that the newer Allwinner SoCs seem to drop the old (and by old I mean A10/A10s/A13/A20) IPs in favour of the one introduced in the A31. So it's definitely worth doing this effort. -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot