Skip to content

Commit

Permalink
Fix typos in comments and documentation (#750)
Browse files Browse the repository at this point in the history
* Fix typos in comments and documentation
  • Loading branch information
hartmannathan authored Apr 8, 2020
1 parent 9c7841a commit bfc153c
Show file tree
Hide file tree
Showing 54 changed files with 133 additions and 134 deletions.
26 changes: 13 additions & 13 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12927,9 +12927,9 @@
* arch/arm/src/stm32f7: otgdev fixed typo. From David Sidrane
(2016-10-28).
* arch/xtensa: Basic architectural support for Xtensa processors and
the Expressif. ESP32 added. Totally untested on initial release
the Espressif. ESP32 added. Totally untested on initial release
(2016-10-31).
* configs/esp32-core: Basic support for Expressif ESP32 Core v2 board
* configs/esp32-core: Basic support for Espressif ESP32 Core v2 board
added. The initial release includes an NSH and an SMP test
configuration. Totally untested on initial relesae (2016-10-31).
* configs/bambino-200e: Add basic support to Micromint Bambino 200E
Expand Down Expand Up @@ -13441,7 +13441,7 @@
(2016-12-20).
* Xtensa ESP32: Missing prologue/epilogue macros on C callable function
(2016-12-20).
* Xtensa ESP32: Update APP CPU startup logic to match current Expressif
* Xtensa ESP32: Update APP CPU startup logic to match current Espressif
example code. Fix errors APP CPU startup (2016-12-20).
* fs/procfs: Fix procfs status for SMP case (2016-12-20).
* Xtensa ESP32: Clock frequency is different if running from IRAM or is
Expand Down Expand Up @@ -13986,7 +13986,7 @@
BOARD_SIM_CLKDIV2_USBFRAC to the kinetis_clockconfig. From David
Sidrane (2017-02-27).
* Kinetis: Use BOARD_xxxx to drive system clocking: (1) Shifted the clock
speed of MK20DX128VLH5 to 48 Mhz to be able to uses USB. (2) Set
speed of MK20DX128VLH5 to 48 MHz to be able to uses USB. (2) Set
BOARD_OUTDIV3 to 0 - there is no BOARD_OUTDIV3 on a MK20DX128VLH5 or
K20DX256VLH7, (3) Added BOARD_SOPT2_PLLFLLSEL and BOARD_SOPT2_FREQ along
with settings for BOARD_SIM_CLKDIV2_USBFRAC and BOARD_SIM_CLKDIV2_USBDIV
Expand Down Expand Up @@ -14589,10 +14589,10 @@
From Juha Niskanen (2017-04-05).
* STM32: stm32l15xxx_rcc: configure medium performance voltage range
and zero wait-state when allowed by SYSCLK setting. Zero wait-state
for flash can be configured when: (1) Range 1 and SYSCLK <= 16 Mhz,
(2) Range 2 and SYSCLK <= 8 Mhz, or (3) Range 3 and SYSCLK <= 4.2
Mhz. Medium performance voltage range (1.5V) can be configured when
SYSCLK is up to 16 Mhz and PLLVCO up to 48 Mhz. From Juha Niskanen
for flash can be configured when: (1) Range 1 and SYSCLK <= 16 MHz,
(2) Range 2 and SYSCLK <= 8 MHz, or (3) Range 3 and SYSCLK <= 4.2
MHz. Medium performance voltage range (1.5V) can be configured when
SYSCLK is up to 16 MHz and PLLVCO up to 48 MHz. From Juha Niskanen
(2017-04-05).
* wireless/ieee802154: Initial MAC char driver write functionality.
From Anthony Merlino (2017-04-05).
Expand Down Expand Up @@ -15395,8 +15395,8 @@
* Fix ELF loader up_checkarch on ARM arch. From Cristian Condurache
(2017-05-09).
* Kinetis: Disable MPU when not in protected mode. The hardware reset
state of the the MPU precludes any bus masters other then DMA access
to memory. Unfortunately USB and SDHC have there own DMA and will not
state of the the MPU precludes any bus masters other than DMA access
to memory. Unfortunately USB and SDHC have their own DMA and will not
have access to memory in the default reset state. This change
disabled the MPU if present on system startup. From David Sidrane
(2017-06-02).
Expand Down Expand Up @@ -15694,7 +15694,7 @@
6LoWPAN compatible port numbers (2017-06-20).
* mac802154_req_data() can return without releasing the exclsem
(2017-06-20).
* STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need
* STM32: Allow clock frequencies > 168 MHz on stm32f427/429. We need
to enable the power overdrive for this case. This patch allows the
required bits to be set in proper sequence. It also modifies the
local register access operations to allow more than 16-bit registers.
Expand Down Expand Up @@ -17633,7 +17633,7 @@
mode' flag and STM32F7's I2C driver is in more 'ready to use' state.

Commit ports the STM32F7 I2C driver to STM32L4. The I2C clock
configuration is kept the same as before (I2CCLK = PCLK1 80 Mhz)
configuration is kept the same as before (I2CCLK = PCLK1 80 MHz)
instead of switching to STM32F7 arch default that is I2CCLK=HSI.
Further work would be to add configuration option for choosing I2C
clock source instead of current hard-coded default. From Jussi
Expand Down Expand Up @@ -27085,7 +27085,7 @@
* Add DMA support for STM32L4+ series
- Add DMA support for STM32L4+
- stm32l4xrxx_rcc: enable "Range 1 boost" mode if any PLL freq above
80 Mhz
80 MHz
From Jussi Kivilinna (2019-10-25).
* stm32l4_otgfs: enable OTGFS for STM32L4+ series. The OTGFS peripheral
on stm32l4x6 and stm32l4rxxx reference manual is exactly the same.
Expand Down
8 changes: 4 additions & 4 deletions Documentation/NuttX.html
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ <h2><a name="changelogs"><b>Release Notes and Change Logs</b>:</a></h2>
<li><a href="#bcm2708">BCM2708</a> <small>(ARM1176JZ)</small></li>
</ul>
</li>
<li>Expressif
<li>Espressif
<ul>
<li><a href="#esp32">ESP32</a> <small>(Dual Xtensa LX6)</small></li>
</ul>
Expand Down Expand Up @@ -6819,12 +6819,12 @@ <h2><a name="changelogs"><b>Release Notes and Change Logs</b>:</a></h2>
<td>
<p>
<b>Xtensa LX6 ESP32 Architectural Support</b>.
Basic architectural support for Xtensa LX6 processors and the port for the Expressif ESP32 were added in NuttX-7.19.
Basic architectural support for Xtensa LX6 processors and the port for the Espressif ESP32 were added in NuttX-7.19.
The basic ESP32 port is function in both single CPU and dual CPU SMP configurations.
</p>
<p>
<b>Expressif ESP32 Core v2 Board</b>
The NuttX release includes support for Expressif ESP32 Core v2 board.
<b>Espressif ESP32 Core v2 Board</b>
The NuttX release includes support for Espressif ESP32 Core v2 board.
There is an NSH configuration for each CPU configuration and an OS test configuration for verificatin of the port.
</p>
<p>
Expand Down
26 changes: 13 additions & 13 deletions ReleaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -12528,7 +12528,7 @@ Additional new features and extended functionality:
* Xtensa/ESP32

- Xtensa ESP32: Basic architectural support for Xtensa processors and
the Expressif. ESP32 added.
the Espressif. ESP32 added.
- Xtensa ESP32: Add EXPERIMENTAL hooks to support lazy Xtensa
co-processor state restore in the future.
- Xtensa ESP32: Basic port is function in both single CPU and dual CPU
Expand All @@ -12540,7 +12540,7 @@ Additional new features and extended functionality:

* Xtensa/ESP32 Boards:

- ESP32 Core v2: Basic support for Expressif ESP32 Core v2 board
- ESP32 Core v2: Basic support for Espressif ESP32 Core v2 board
added. The initial release includes an NSH and an SMP test
configuration.
- ESP32 Core v2: Add configuration to support linking NuttX for
Expand Down Expand Up @@ -13769,10 +13769,10 @@ Additional new features and extended functionality:
- STM32 L1: stm32l15xxx_rcc: configure medium performance voltage
range and zero wait-state when allowed by SYSCLK setting. Zero
wait-state for flash can be configured when: (1) Range 1 and
SYSCLK <= 16 Mhz, (2) Range 2 and SYSCLK <= 8 Mhz, or (3) Range 3
and SYSCLK <= 4.2 Mhz. Medium performance voltage range (1.5V)
can be configured when SYSCLK is up to 16 Mhz and PLLVCO up to
48 Mhz. From Juha Niskanen.
SYSCLK <= 16 MHz, (2) Range 2 and SYSCLK <= 8 MHz, or (3) Range 3
and SYSCLK <= 4.2 MHz. Medium performance voltage range (1.5V)
can be configured when SYSCLK is up to 16 MHz and PLLVCO up to
48 MHz. From Juha Niskanen.
- STM32 F0: Add basic support for STM32F0. From Alan Carvalho de
Assis.
- STM32 F0: Add basic support for STM32F07x family.
Expand Down Expand Up @@ -14778,7 +14778,7 @@ Additional new features and extended functionality:

- STM32 L4: Add support for the STM32L475 family.
- STM32 L4 RCC: Enable ADC clock source. From Juha Niskanen.
- STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need
- STM32: Allow clock frequencies > 168 MHz on stm32f427/429. We need
to enable the power overdrive for this case. This change allows the
required bits to be set in proper sequence. It also modifies the
local register access operations to allow more than 16-bit registers.
Expand Down Expand Up @@ -15297,7 +15297,7 @@ detailed bugfix information):
has not caused problems in the past, but seeing it set in the PC is
unnerving.

* Expressif ESP32:
* Espressif ESP32:

- Fix ESP32 gpio enable reg and default UART pin. Modify default UART
pin for ESP-WROOM-32. Fix gpio enable reg. From Sungki Kim.
Expand Down Expand Up @@ -15349,8 +15349,8 @@ detailed bugfix information):
* NXP/Freescale Kinetis:

- Kinetis MPU: Disable MPU when not in protected mode. The hardware
reset state of the the MPU precludes any bus masters other then DMA
access to memory. Unfortunately USB and SDHC have there own DMA and
reset state of the the MPU precludes any bus masters other than DMA
access to memory. Unfortunately USB and SDHC have their own DMA and
will not have access to memory in the default reset state. This change
disabled the MPU if present on system startup. From David Sidrane.
- Kinetis MPU: Fixed warning for kinetis_mpudisable. Missing header
Expand Down Expand Up @@ -15957,7 +15957,7 @@ Additional new features and extended functionality:
drivers. The peripheral on STM32F7 and STM32L4 are identical except
for L4's 'wakeup from stop mode' flag and STM32F7's I2C driver is in
more 'ready to use' state. The I2C clock configuration is kept the
same as before (I2CCLK = PCLK1 80 Mhz) instead of switching to
same as before (I2CCLK = PCLK1 80 MHz) instead of switching to
STM32F7 arch default that is I2CCLK=HSI. Further work would be to
add configuration option for choosing I2C clock source instead of
current hard-coded default. From Jussi Kivilinna.
Expand Down Expand Up @@ -22578,7 +22578,7 @@ detailed bugfix information):
Raised DEBUGASSERT in armv7-m/up_ramvec_initialize.c line: 144.
From Mateusz Szafoni.

* Expressif ESP32 Drivers:
* Espressif ESP32 Drivers:

- ESP32 Timer ISR: Fix backward comparison. From Gregory Nutt.
- ESP32 Serial: Fix some backward arguments. Correct 2-stop bit
Expand Down Expand Up @@ -25894,7 +25894,7 @@ Additional new features and extended functionality:
- STM32 L4+ DMA: Add DMA support for STM32L4+ series. From Jussi
Kivilinna.
- STM32 L4 Clocking: Enable "Range 1 boost" mode if any PLL freq
above 80 Mhz. From Jussi Kivilinna.
above 80 MHz. From Jussi Kivilinna.
- STM32 L4 LPTIM: Add support for LPTIM timers on the STM32L4 as PWM
outputs. From Matias N.
- STM32 H7 Progmem: Add FLASH progmem support. From David Sidrane.
Expand Down
2 changes: 1 addition & 1 deletion arch/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ arch/xtensa
LX6 DPU support:
arch/xtensa/include/lx6 and arch/xtensa/xtensa/lx6

Expressif ESP32 implementation of the LX6 DPU:
Espressif ESP32 implementation of the LX6 DPU:
arch/xtensa/include/esp32 and arch/xtensa/xtensa/esp32

arch/z16 - ZiLOG 16-bit processors
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/imxrt/imxrt_clockconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ void imxrt_clockconfig(void)
reg |= IMXRT_LPI2C_CLK_SELECT;
putreg32(reg, IMXRT_CCM_CSCDR2);

/* Set LPI2C divider to 5 for 12 Mhz */
/* Set LPI2C divider to 5 for 12 MHz */

reg = getreg32(IMXRT_CCM_CSCDR2);
reg &= ~CCM_CSCDR2_LPI2C_CLK_PODF_MASK;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/lpc17xx_40xx/hardware/lpc176x_syscon.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
# define SYSCON_FLASHCFG_TIM_3 (2 << SYSCON_FLASHCFG_TIM_SHIFT) /* 3 CPU clock <= 60 MHz CPU clock */
# define SYSCON_FLASHCFG_TIM_4 (3 << SYSCON_FLASHCFG_TIM_SHIFT) /* 4 CPU clock <= 80 MHz CPU clock */
# define SYSCON_FLASHCFG_TIM_5 (4 << SYSCON_FLASHCFG_TIM_SHIFT) /* 5 CPU clock <= 100 MHz CPU clock
* (Up to 120 Mhz for LPC1759/69 only */
* (Up to 120 MHz for LPC1759/69 only */
# define SYSCON_FLASHCFG_TIM_6 (5 << SYSCON_FLASHCFG_TIM_SHIFT) /* "safe" setting for any conditions */
/* Bits 16-31: Reserved */

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/lpc17xx_40xx/hardware/lpc178x_40xx_syscon.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
# define SYSCON_FLASHCFG_TIM_2 (2 << SYSCON_FLASHCFG_TIM_SHIFT) /* 3 CPU clock <= 60 MHz CPU clock */
# define SYSCON_FLASHCFG_TIM_3 (3 << SYSCON_FLASHCFG_TIM_SHIFT) /* 4 CPU clock <= 80 MHz CPU clock */
# define SYSCON_FLASHCFG_TIM_4 (4 << SYSCON_FLASHCFG_TIM_SHIFT) /* 5 CPU clock <= 100 MHz CPU clock
* (Up to 120 Mhz for LPC1788x) */
* (Up to 120 MHz for LPC1788x) */
# define SYSCON_FLASHCFG_TIM_5 (5 << SYSCON_FLASHCFG_TIM_SHIFT) /* "safe" setting for any conditions */
/* Bits 16-31: Reserved */
/* Memory Mapping Control register (MEMMAP - 0x400F C040) */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/lpc31xx/lpc31_cgu.h
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ Nandflash Controller */

#define CGU_HPFINSEL_SHIFT (0) /* Bits 0-3: Select input to high HPPLL0 */
#define CGU_HPFINSEL_MASK (15 << CGU_HPFINSEL_SHIFT)
# define CGU_HPFINSEL_FFAST (CGU_FREQIN_FFAST << CGU_HPFINSEL_SHIFT) /* ffast (12 Mhz) */
# define CGU_HPFINSEL_FFAST (CGU_FREQIN_FFAST << CGU_HPFINSEL_SHIFT) /* ffast (12 MHz) */
# define CGU_HPFINSEL_I2SRXBCK0 (CGU_FREQIN_I2SRXBCK0 << CGU_HPFINSEL_SHIFT) /* I2SRX_BCK0 */
# define CGU_HPFINSEL_I2SRXWS0 (CGU_FREQIN_I2SRXWS0 << CGU_HPFINSEL_SHIFT) /* I2SRX_WS0 */
# define CGU_HPFINSEL_I2SRXBCK1 (CGU_FREQIN_I2SRXBCK1 << CGU_HPFINSEL_SHIFT) /* I2SRX_BCK1 */
Expand Down
10 changes: 5 additions & 5 deletions arch/arm/src/lpc43xx/spifi/inc/spifilib_dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,11 @@ typedef struct SPIFI_DEVICE_DATA {
uint16_t subBlkSize; /**< size of sub-block */
uint16_t pageSize; /**< page size */
uint32_t maxReadSize; /**< max read allowed in one operation */
uint8_t maxClkRate; /**< (in Mhz) maximum clock rate (max common speed) */
uint8_t maxReadRate; /**< (in Mhz) max clock rate for read (driver may utilize fast read) */
uint8_t maxHSReadRate; /**< (in Mhz) max clock rate for quad / dual read */
uint8_t maxProgramRate; /**< (in Mhz) max clock rate for program */
uint8_t maxHSProgramRate; /**< (in Mhz) max clock rate for quad program */
uint8_t maxClkRate; /**< (in MHz) maximum clock rate (max common speed) */
uint8_t maxReadRate; /**< (in MHz) max clock rate for read (driver may utilize fast read) */
uint8_t maxHSReadRate; /**< (in MHz) max clock rate for quad / dual read */
uint8_t maxProgramRate; /**< (in MHz) max clock rate for program */
uint8_t maxHSProgramRate; /**< (in MHz) max clock rate for quad program */
uint8_t initDeInitFxId; /**< init/DeInit fx_id */
uint8_t clearStatusFxId; /**< clearStatus fx_id */
uint8_t getStatusFxId; /**< getStatus fx_id */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/lpc43xx/spifi/src/spifilib_fam_standard_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ SPIFI_FAM_NODE_T *spifi_REG_FAMILY_CommonCommandSet(void)
0x1000, /* sub-block size */
0x100, /* page size */
MAX_SINGLE_READ, /* max single read bytes */
104, /* max clock rate in Mhz */
104, /* max clock rate in MHz */
104, /* max read clock rate in MHz */
104, /* max high speed read clock rate in MHz */
104, /* max program clock rate in MHz */
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/s32k1xx/s32k1xx_clockconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ enum scg_sosc_gain_e

enum scg_sosc_range_e
{
SCG_SOSC_RANGE_MID = 2, /* Medium frequency range selected for the crystal OSC (4 Mhz to 8 Mhz). */
SCG_SOSC_RANGE_HIGH = 3, /* High frequency range selected for the crystal OSC (8 Mhz to 40 Mhz). */
SCG_SOSC_RANGE_MID = 2, /* Medium frequency range selected for the crystal OSC (4 MHz to 8 MHz). */
SCG_SOSC_RANGE_HIGH = 3, /* High frequency range selected for the crystal OSC (8 MHz to 40 MHz). */
};

struct scg_sosc_config_s
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/sama5/sam_pmecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ int pmecc_configure(struct sam_nandcs_s *priv, bool protected)
* case, the ECC computation takes into account the whole spare area
* minus the ECC area in the ECC computation operation
*
* NOTE: At 133 Mhz, the clkctrl field must be programmed with 2,
* NOTE: At 133 MHz, the clkctrl field must be programmed with 2,
* indicating that the setup time is 3 clock cycles.
*/

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/samv7/sam_clockconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ static inline void sam_pmcsetup(void)

if ((getreg32(SAM_PMC_MCKR) & PMC_MCKR_PLLADIV2) != 0)
{
/* Divider = 480 Mhz / 2 / 48 Mhz = 5 */
/* Divider = 480 MHz / 2 / 48 MHz = 5 */

regval |= PMC_USB_USBDIV(4);
}
else
{
/* Divider = 480 Mhz / 1 / 48 Mhz = 10 */
/* Divider = 480 MHz / 1 / 48 MHz = 10 */

regval |= PMC_USB_USBDIV(9);
}
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/stm32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9488,7 +9488,7 @@ config STM32_USB_ITRMP
The legacy USB in the F1 series shared interrupt lines with USB
device and CAN1. In the F3 series, a hardware options was added to
either retain the legacy F1 behavior or to map the USB interrupts to
there own dedicated vectors. The option is available only for the
their own dedicated vectors. The option is available only for the
F3 family and selects the use of the dedicated USB interrupts.

menu "CAN driver configuration"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/src/stm32/stm32f40xxx_rcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ static void stm32_stdclockconfig(void)
#if defined(CONFIG_STM32_STM32F429) || defined(CONFIG_STM32_STM32F446) || \
defined(CONFIG_STM32_STM32F469)

/* Enable the Over-drive to extend the clock frequency to 180 Mhz */
/* Enable the Over-drive to extend the clock frequency to 180 MHz */

regval = getreg32(STM32_PWR_CR);
regval |= PWR_CR_ODEN;
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/src/stm32f7/stm32f72xx73xx_rcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ static void stm32_stdclockconfig(void)

/* Over-drive is needed if
* - Voltage output scale 1 mode is selected and SYSCLK frequency is
* over 180 Mhz.
* over 180 MHz.
* - Voltage output scale 2 mode is selected and SYSCLK frequence is
* over 168 Mhz.
* over 168 MHz.
*/

if ((STM32_PWR_VOS_SCALE == PWR_CR1_VOS_SCALE_1 &&
Expand All @@ -817,7 +817,7 @@ static void stm32_stdclockconfig(void)
STM32_SYSCLK_FREQUENCY > 168000000))
{
/* Enable the Over-drive to extend the clock frequency up to
* 216 Mhz.
* 216 MHz.
*/

regval = getreg32(STM32_PWR_CR1);
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,9 +803,9 @@ static void stm32_stdclockconfig(void)

/* Over-drive is needed if
* - Voltage output scale 1 mode is selected and SYSCLK frequency is
* over 180 Mhz.
* over 180 MHz.
* - Voltage output scale 2 mode is selected and SYSCLK frequence is
* over 168 Mhz.
* over 168 MHz.
*/

if ((STM32_PWR_VOS_SCALE == PWR_CR1_VOS_SCALE_1 &&
Expand All @@ -814,7 +814,7 @@ static void stm32_stdclockconfig(void)
STM32_SYSCLK_FREQUENCY > 168000000))
{
/* Enable the Over-drive to extend the clock frequency up to
* 216 Mhz.
* 216 MHz.
*/

regval = getreg32(STM32_PWR_CR1);
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,9 +820,9 @@ static void stm32_stdclockconfig(void)

/* Over-drive is needed if
* - Voltage output scale 1 mode is selected and SYSCLK frequency is
* over 180 Mhz.
* over 180 MHz.
* - Voltage output scale 2 mode is selected and SYSCLK frequence is
* over 168 Mhz.
* over 168 MHz.
*/

if ((STM32_PWR_VOS_SCALE == PWR_CR1_VOS_SCALE_1 &&
Expand All @@ -831,7 +831,7 @@ static void stm32_stdclockconfig(void)
STM32_SYSCLK_FREQUENCY > 168000000))
{
/* Enable the Over-drive to extend the clock frequency up to
* 216 Mhz.
* 216 MHz.
*/

regval = getreg32(STM32_PWR_CR1);
Expand Down
Loading

0 comments on commit bfc153c

Please sign in to comment.