diff options
author | Jes B. Klinke <jbk@chromium.org> | 2023-02-01 19:56:37 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-05 00:31:43 +0000 |
commit | c0dcdcab925104614a2e813d2bfd4d1a66e71090 (patch) | |
tree | 46a7c78ff565ad70814140aa490dcbb3381966b2 /chip | |
parent | e6773d6f376b3aaf4d4d57e2efb7798f6ebf4618 (diff) | |
download | chrome-ec-c0dcdcab925104614a2e813d2bfd4d1a66e71090.tar.gz |
chip/stm32/clock-stm32l4: Fixed clock cmd documentation
Looking at the code, it is apparent that the "pll" parameter to the
"clock" console command is valid whether STM32_HSE_CLOCK is defined or
not (though the effect may be slightly different).
This CL updates the documentation to list "pll" as a valid option also
when STM32_HSE_CLOCK is not defined.
BUG=none
TEST=make BOARD=hyperdebug
Change-Id: I7da89c15b44fbc3dad2a5fe129b0e361d7f50714
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4216263
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Jes Klinke <jbk@chromium.org>
Tested-by: Jes Klinke <jbk@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/stm32/clock-stm32l4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/clock-stm32l4.c b/chip/stm32/clock-stm32l4.c index 6d10fbf79e..9ade941812 100644 --- a/chip/stm32/clock-stm32l4.c +++ b/chip/stm32/clock-stm32l4.c @@ -647,9 +647,9 @@ static int command_clock(int argc, const char **argv) DECLARE_CONSOLE_COMMAND(clock, command_clock, "hsi | msi" #ifdef STM32_HSE_CLOCK - " | hse | pll" + " | hse" #endif - , + " | pll", "Set clock frequency"); uint32_t rtcss_to_us(uint32_t rtcss) |