public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX
@ 2018-10-07 14:58 Adam Ford
  2018-10-08  1:40 ` Tom Rini
  2018-10-20 19:11 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Ford @ 2018-10-07 14:58 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-20 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-07 14:58 [U-Boot] [PATCH] ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX Adam Ford
2018-10-08  1:40 ` Tom Rini
2018-10-20 19:11 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox