Skip to contentSkip to conversation

ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX

PATCH In review Adam Ford 2 participants 3 messages Oct 7, 2018 – Oct 20, 2018

Subsystems (3)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 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.

arch/arm/mach-omap2/Kconfig +1 -0
index 76a19064c9..d494356d00 100644
@@ -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).
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: mach-omap2: Kconfig: Make SYS_MPUCLK dependent on AM33XX

arch/arm/mach-omap2/Kconfig

Quoted 9 lines · Adam Ford

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.

arch/arm/mach-omap2/Kconfig +0 -0
index 76a19064c9..d494356d00 100644
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181007/3e9f1839/attachment.sig>
#2 lore raw
In reply to Adam Ford

arch/arm/mach-omap2/Kconfig

Quoted 10 lines · Adam Ford

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.

arch/arm/mach-omap2/Kconfig +0 -0
index 76a19064c9..d494356d00 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181020/1829ae0a/attachment.sig>