summaryrefslogtreecommitdiff
path: root/lib/tiny-printf.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2017-01-02 11:48:25 +0000
committerJagan Teki <[email protected]>2017-01-04 16:37:40 +0100
commit2865433a465755d45a2bdd83762fb373d60b9f20 (patch)
tree53522112924c4c5d518d5954c2d314957c1b3cdd /lib/tiny-printf.c
parenta64893614305b544715bb6b22c10b68b9f9b1b96 (diff)
sun6i: Restrict some register initialization to Allwinner A31 SoC
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 the requirement for setting up the PRCM PLL_CTLR1 register to provide the proper voltage seems to be a property of older SoCs only as well. Restrict the MBUS initialization to this SoC only to avoid writing bogus values to (undefined) registers in other chips. I can only verify that the PLL voltage setup is not needed for H3 and A64, so for now we only spare those two SoCs. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Alexander Graf <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions