]> git.sur5r.net Git - u-boot/commit
sunxi: Add CONFIG_OLD_SUNXI_KERNEL_COMPAT Kconfig option
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Oct 2014 12:56:36 +0000 (14:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:37:26 +0000 (09:37 +0200)
commitaccc9e446be6c3bd129315a0c5830bddccfa16da
tree2a32f4bf120830503a6eb65033071b1414e31dcf
parentd0dbc286036a4e4e01ca056e40d952a081162a8c
sunxi: Add CONFIG_OLD_SUNXI_KERNEL_COMPAT Kconfig option

Add a Kconfig option which users can select when they want to boot older
kernels, e.g. the linux-sunxi 3.4 kernels. For now this just forces the pll5
"p" value to 1 (divide by 2) as that is what those kernels are hardcoded too,
in the future this may enable further workarounds.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tom Rini <trini@ti.com>
--
Changes in v2:
-s/CONFIG_OLD_KERNEL_COMPAT/CONFIG_OLD_SUNXI_KERNEL_COMPAT.
-Move the code block setting P(1) for old kernels to where P gets cleared
arch/arm/cpu/armv7/sunxi/dram.c
board/sunxi/Kconfig