arch: Fix typo in "register" word

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-07-13 15:26:33 -03:00 committed by Petro Karashchenko
parent 7d3eefbdce
commit 8a4c9c3489
7 changed files with 11 additions and 11 deletions

View File

@ -652,7 +652,7 @@ int esp32c3_partition_init(void)
ret = register_mtddriver(path, mtd_part, 0777, NULL);
if (ret < 0)
{
ferr("ERROR: Failed to regitser MTD @ %s\n", path);
ferr("ERROR: Failed to register MTD @ %s\n", path);
kmm_free(mtd_priv);
ret = -1;
goto errout_with_mtd;

View File

@ -4394,7 +4394,7 @@ static int esp_freq_to_channel(int freq)
* Name: esp_dport_access_reg_read
*
* Description:
* Read regitser value safely in SMP
* Read register value safely in SMP
*
* Input Parameters:
* reg - Register address

View File

@ -650,7 +650,7 @@ int esp32_partition_init(void)
ret = register_mtddriver(path, mtd_part, 0777, NULL);
if (ret < 0)
{
ferr("ERROR: Failed to regitser MTD @ %s\n", path);
ferr("ERROR: Failed to register MTD @ %s\n", path);
kmm_free(mtd_priv);
ret = -1;
goto errout_with_mtd;

View File

@ -109,7 +109,7 @@ struct esp32_spislv_config_s
uint32_t rst_bit; /* I2C reset bit */
bool use_dma; /* Use DMA */
uint8_t dma_chan_s; /* DMA channel regitser shift */
uint8_t dma_chan_s; /* DMA channel register shift */
uint8_t dma_chan; /* DMA channel */
uint32_t dma_clk_bit; /* DMA clock enable bit */
uint32_t dma_rst_bit; /* DMA reset bit */
@ -789,7 +789,7 @@ static int esp32_spislv_interrupt(int irq, void *context, void *arg)
if (!priv->dma_chan)
{
/** With DMA, software should copy data from regitser
/** With DMA, software should copy data from register
* to receive buffer
*/

View File

@ -681,7 +681,7 @@ static void IRAM_ATTR esp32_set_write_opt(struct esp32_spiflash_s *priv)
* Name: esp32_read_status
*
* Description:
* Read SPI Flash status regitser value.
* Read SPI Flash status register value.
*
* Input Parameters:
* spi - ESP32 SPI Flash chip data
@ -772,7 +772,7 @@ static int IRAM_ATTR esp32_wait_idle(struct esp32_spiflash_s *priv)
* Name: esp32_read_highstatus
*
* Description:
* Read SPI Flash high status regitser value.
* Read SPI Flash high status register value.
*
* Input Parameters:
* spi - ESP32 SPI Flash chip data
@ -809,7 +809,7 @@ static int esp32_read_highstatus(struct esp32_spiflash_s *priv,
* Name: esp32_write_status
*
* Description:
* Write status value to SPI Flash status regitser.
* Write status value to SPI Flash status register.
*
* Input Parameters:
* spi - ESP32 SPI Flash chip data

View File

@ -4300,7 +4300,7 @@ static int esp_freq_to_channel(uint16_t freq)
* Name: esp_dport_access_reg_read
*
* Description:
* Read regitser value safely in SMP
* Read register value safely in SMP
*
* Input Parameters:
* reg - Register address

View File

@ -4393,11 +4393,11 @@
#define DPORT_DATE_S 0
#define DPORT_DPORT_DATE_VERSION 0x1605190
/* SPI Flash MMU table regitser base address for PRO CPU */
/* SPI Flash MMU table register base address for PRO CPU */
#define DPORT_PRO_FLASH_MMU_TABLE_REG (DR_REG_DPORT_BASE + 0x10000)
/* SPI Flash MMU table regitser base address for APP CPU */
/* SPI Flash MMU table register base address for APP CPU */
#define DPORT_APP_FLASH_MMU_TABLE_REG (DR_REG_DPORT_BASE + 0x12000)