[U-Boot] [PATCH] ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX

This value is unly used in arch/arm/mach-omap2/am33xx/ clock_am33xx.c, so let's make it dependent on AM33XX since that is the only way this file gets compiled into the code according to the Makefile.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 76a19064c9..d494356d00 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -136,6 +136,7 @@ endchoice
config SYS_MPUCLK int "MPU CLK speed" + depends on CONFIG_AM33XX default 500 help Defines the MPU clock speed (in MHz).

On Sun, Oct 07, 2018 at 09:58:25AM -0500, Adam Ford wrote:
This value is unly used in arch/arm/mach-omap2/am33xx/ clock_am33xx.c, so let's make it dependent on AM33XX since that is the only way this file gets compiled into the code according to the Makefile.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 76a19064c9..d494356d00 100644
Reviewed-by: Tom Rini trini@konsulko.com

On Sun, Oct 07, 2018 at 09:58:25AM -0500, Adam Ford wrote:
This value is unly used in arch/arm/mach-omap2/am33xx/ clock_am33xx.c, so let's make it dependent on AM33XX since that is the only way this file gets compiled into the code according to the Makefile.
Signed-off-by: Adam Ford aford173@gmail.com Reviewed-by: Tom Rini trini@konsulko.com
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 76a19064c9..d494356d00 100644
Applied to u-boot/master, thanks!
participants (2)
-
Adam Ford
-
Tom Rini