soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 14:38:55 +0000 (15:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 12 Jul 2021 11:29:09 +0000 (13:29 +0200)
commit2a1c55d4762dd34a8b0f2e36fb01b7b16b60735b
tree9fb47ad3aef88bfb2b1ff398044c31286bacbb15
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally

Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, restrict the automatic enabling of ROCKCHIP_GRF to
ARCH_ROCKCHIP, and ask the user in case of compile-testing.

Fixes: 4c58063d4258f6be ("soc: rockchip: add driver handling grf setup")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210208143855.418374-1-geert+renesas@glider.be
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/Kconfig