mx6: clock: Only show CSPI clock if CSPI is enabled
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 16 Nov 2012 01:30:10 +0000 (01:30 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 19 Nov 2012 07:49:00 +0000 (08:49 +0100)
commitcc446726de6032688227548ef9d4b2eff331df83
tree910fdda71080ea8e8a417709179c746507ccaa7a
parent3cea335c3410f71524b50263b8af0e7eb69ebbe4
mx6: clock: Only show CSPI clock if CSPI is enabled

If a board does not enable CSPI, there is no need to show the CSPI clock
frequency as part of the 'clock' command.

Reported-by: Dirk Behme <dirk.behme@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Dirk Behme <dirk.behme@gmail.com>
arch/arm/cpu/armv7/mx6/clock.c