sunxi: Select SUN8I_RSB more carefully
authorSamuel Holland <samuel@sholland.org>
Fri, 8 Oct 2021 05:17:18 +0000 (00:17 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 12 Oct 2021 08:50:21 +0000 (09:50 +0100)
commitabd2e783f15ce372e275eb66f732c4edbaf0c0b6
tree0324fbb1e1d3a6b78f79eed99b546f9e4dd88bad
parentea261fdeb23d54ee17a5e5a95cf35f97180deb76
sunxi: Select SUN8I_RSB more carefully

SUN8I_RSB should not be selected by MACH_SUN8I, because the hardware
is not present in half of those SoCs (H3/H5, R40, and V3s). Move the
selection to the SoCs where the hardware actually exists.
As it currently stands, selecting that option also requires using it in
some way, which is not the case for one A80 board. Since we have only
three A80 boards in total, we select it their via their defconfigs.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
[Andre: fixing up Sunchip_CX-A99 build]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/mach-sunxi/Kconfig
configs/Cubieboard4_defconfig
configs/Merrii_A80_Optimus_defconfig