arm: virt: Support the ranchu machine name as a virt board
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 29 Oct 2014 14:55:19 +0000 (15:55 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 13 Dec 2014 15:13:46 +0000 (16:13 +0100)
commit0f298a2ba35c2390fcd734fa6e020a196db7fc23
treee4fe8e32cebd0c920759049440921982a1454282
parent0babc1b9894f7c8e92e67488cb01f26ed3d0e387
arm: virt: Support the ranchu machine name as a virt board

The QEMU ranchu board is a variant of the virt board, it is completely
device-tree driven, but should be matched by the virt board.  It
contains a pl011 serial port for console output, but the virt board
doesn't currently initialize the of clock framework, which is required
for this device to be probed, so add this logic to the virt board as
well.

Note that for newer kernels, this has all been reworked to not have a
board file for mach-virt, so it should not be neccessary in that context
and this patch should not be carried foward into newer kernels, but it
is useful for Linux v3.10-based Android kernels.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/mach-virt/Kconfig
arch/arm/mach-virt/virt.c