]> git.sur5r.net Git - u-boot/commit
sunxi: add initial clock setup for sun9i for SPL
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 28 Oct 2016 10:21:31 +0000 (18:21 +0800)
committerHans de Goede <hdegoede@redhat.com>
Sun, 30 Oct 2016 10:38:04 +0000 (11:38 +0100)
commit7962a8d5a4e39909ffb5f3c314457644b2ba5ed6
treeb88842c17c35fffd744c9a52abe5daf50e8e098a
parentf28bad13b4d9687a6220ab918895944ec24df53f
sunxi: add initial clock setup for sun9i for SPL

This is a cleaned up version set_pll() from Allwinner's boot0 source
(bootloader/basic_loader/bsp/bsp_for_a80/common/common.c).

[wens@csie.org: Added commit message; style cleanup]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/include/asm/arch-sunxi/clock_sun9i.h
arch/arm/mach-sunxi/clock_sun9i.c