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

Adam Ford aford173 at gmail.com
Sun Oct 7 14:58:25 UTC 2018


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 at 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).
-- 
2.17.1



More information about the U-Boot mailing list