CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/01/30 18:04:24

Modified files:
        sys/arch/armv7/armv7: armv7_machdep.c 

Log message:
Leonardo Guardati discovered a u-boot built with "Enable workarounds for
booting old kernels" was required to boot sunxi kernels with newer
versions of u-boot.

Unless built with OLD_SUNXI_KERNEL_COMPAT u-boot now uses the top four
bits of the board id for a 'compatibility revision'.  This was
supposedly for different handling of the pll5 dram clock, but we don't
touch that currently.  Mask these bits away so the kernel will boot from
a u-boot that doesn't have the option set.

Tested by Patrick Wildt on a Banana Pi R1 with current u-boot sources.

Reply via email to