Commit d315628edbc99572c3d35cb72fffcd32e12f859b
Committed by
Tom Rini
1 parent
3d0aeb9090
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
Convert CONFIG_CMD_CLK to Kconfig
This converts the following to Kconfig: CONFIG_CMD_CLK Signed-off-by: Simon Glass <sjg@chromium.org> [trini: imply CMD_CLK on ARCH_ZYNQ] Signed-off-by: Tom Rini <trini@konsulko.com>
Showing 8 changed files with 11 additions and 5 deletions Side-by-side Diff
README
... | ... | @@ -826,7 +826,6 @@ |
826 | 826 | CONFIG_CMD_BOOTD bootd |
827 | 827 | CONFIG_CMD_BOOTI * ARM64 Linux kernel Image support |
828 | 828 | CONFIG_CMD_CACHE * icache, dcache |
829 | - CONFIG_CMD_CLK * clock command support | |
830 | 829 | CONFIG_CMD_CONSOLE coninfo |
831 | 830 | CONFIG_CMD_CRC32 * crc32 |
832 | 831 | CONFIG_CMD_DATE * support for RTC, date/time... |
arch/arm/Kconfig
cmd/Kconfig
... | ... | @@ -387,6 +387,15 @@ |
387 | 387 | |
388 | 388 | menu "Device access commands" |
389 | 389 | |
390 | +config CMD_CLK | |
391 | + bool "clk - Show clock frequencies" | |
392 | + help | |
393 | + (deprecated) | |
394 | + Shows clock frequences by calling a sock_clk_dump() hook function. | |
395 | + This is depreated in favour of using the CLK uclass and accessing | |
396 | + clock values from associated drivers. However currently no command | |
397 | + exists for this. | |
398 | + | |
390 | 399 | config CMD_DM |
391 | 400 | bool "dm - Access to driver model information" |
392 | 401 | depends on DM |
configs/pic32mzdask_defconfig
include/config_cmd_all.h
... | ... | @@ -13,7 +13,6 @@ |
13 | 13 | * Alphabetical list of all possible commands. |
14 | 14 | */ |
15 | 15 | |
16 | -#define CONFIG_CMD_CLK /* Clock support */ | |
17 | 16 | #define CONFIG_CMD_DATE /* support for RTC, date/time...*/ |
18 | 17 | #define CONFIG_CMD_DIAG /* Diagnostics */ |
19 | 18 | #define CONFIG_CMD_DISPLAY /* Display support */ |
include/configs/pic32mzdask.h
include/configs/zynq-common.h
... | ... | @@ -236,7 +236,6 @@ |
236 | 236 | #define CONFIG_AUTO_COMPLETE |
237 | 237 | #define CONFIG_SYS_LONGHELP |
238 | 238 | #define CONFIG_CLOCKS |
239 | -#define CONFIG_CMD_CLK | |
240 | 239 | #define CONFIG_SYS_MAXARGS 32 /* max number of command args */ |
241 | 240 | #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ |
242 | 241 | #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \ |