]> git.sur5r.net Git - u-boot/commit
sunxi: Move clock_get_pllX / clock_set_pllX protos to mach specific headers
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 18:17:15 +0000 (19:17 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:55 +0000 (12:34 +0100)
commitcc67a0b6e5eb0a96743d2513ab6037bd13d183d5
tree206620d09b5e6980385fbc0a62dbc77bb8a4d38d
parent22b618346acb95dae8fddf151202829b6f78667f
sunxi: Move clock_get_pllX / clock_set_pllX protos to mach specific headers

Which pll-s are available depends on the machine type, move the
clock_get_pllX / clock_set_pllX prototypes to the clock_sun?i.h header files
so that we only declare what is actually available. e.g. clock_get_pll5p()
is not available on sun6i / sun8i, and with sun9i we get a completely
different set of plls.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/clock.h
arch/arm/include/asm/arch-sunxi/clock_sun4i.h
arch/arm/include/asm/arch-sunxi/clock_sun6i.h