mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
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: 4c58063d42
("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>
This commit is contained in:
parent
e73f0f0ee7
commit
2a1c55d476
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ if ARCH_ROCKCHIP || COMPILE_TEST
|
||||||
#
|
#
|
||||||
|
|
||||||
config ROCKCHIP_GRF
|
config ROCKCHIP_GRF
|
||||||
bool
|
bool "Rockchip General Register Files support" if COMPILE_TEST
|
||||||
default y
|
default y if ARCH_ROCKCHIP
|
||||||
help
|
help
|
||||||
The General Register Files are a central component providing
|
The General Register Files are a central component providing
|
||||||
special additional settings registers for a lot of soc-components.
|
special additional settings registers for a lot of soc-components.
|
||||||
|
|
Loading…
Reference in a new issue