[U-Boot] [RFC PATCH 01/10] sun6i: Restrict some register initialization to Allwinner A31 SoC

Alexander Graf agraf at suse.de
Thu Nov 3 09:52:24 CET 2016


On 11/03/2016 02:36 AM, Andre Przywara wrote:
> These days many Allwinner SoCs use clock_sun6i.c, although out of them
> only the (original sun6i) A31 has a second MBUS clock register.
> Also setting up the PRCM PLL_CTLR1 register to provide the proper voltage
> seems to be an A31-only feature as well.
> So restrict the initialization to this SoC only to avoid writing bogus
> values to (undefined) registers in other chips.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Reviewed-by: Alexander Graf <agraf at suse.de>

(However I haven't counter-checked with specs)


Alex



More information about the U-Boot mailing list