common: Add new clk command
Command provides just dump subcommand for showing clock frequencies in a soc. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
6
include/clk.h
Normal file
6
include/clk.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef _CLK_H_
|
||||
#define _CLK_H_
|
||||
|
||||
int soc_clk_dump(void);
|
||||
|
||||
#endif /* _CLK_H_ */
|
||||
@@ -23,6 +23,7 @@
|
||||
#define CONFIG_CMD_BSP /* Board Specific functions */
|
||||
#define CONFIG_CMD_CACHE /* icache, dcache */
|
||||
#define CONFIG_CMD_CDP /* Cisco Discovery Protocol */
|
||||
#define CONFIG_CMD_CLK /* Clock support */
|
||||
#define CONFIG_CMD_CONSOLE /* coninfo */
|
||||
#define CONFIG_CMD_DATE /* support for RTC, date/time...*/
|
||||
#define CONFIG_CMD_DHCP /* DHCP Support */
|
||||
|
||||
Reference in New Issue
Block a user