forked from nuttx/nuttx-update
LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks
This commit is contained in:
parent
422b225401
commit
692b087d07
77 changed files with 127 additions and 205 deletions
|
@ -630,7 +630,7 @@
|
|||
wrong by 64 bytes (Kevin Franzen).
|
||||
* eZ80Acclaim!: Corrected some stack handling errors during interrupt handling
|
||||
context save and restore (Kevin Franzen).
|
||||
* eZ80Acclaim!: Corrected vector intialization logic (Kevin Franzen).
|
||||
* eZ80Acclaim!: Corrected vector initializeation logic (Kevin Franzen).
|
||||
* eZ80Acclaim!: Corrected overflow problem in the calculation of UART baud rate
|
||||
divisor, the system timer divisor, and the EMAC poll timer.
|
||||
* eZ80Acclaim!: Fixed GPIO pin configuration get serial output
|
||||
|
@ -4639,7 +4639,7 @@
|
|||
6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org>
|
||||
|
||||
* arch/arm/src/lpc17xx/lpc17_i2c.c: Interrupts were not being
|
||||
re-enabled in the I2C intialization function (2013-4-30).
|
||||
re-enabled in the I2C initializeation function (2013-4-30).
|
||||
* net/sendto.c: Added skeleton of implementation of send timeouts
|
||||
for UDP. However, this functionality really does not make
|
||||
sense, so it is disabled in the code (2013-4-30).
|
||||
|
@ -6160,4 +6160,7 @@
|
|||
* drivers/mtd/mtd_nand.c: Fix a typo in calculation of page number
|
||||
(2013-12-02).
|
||||
* drivers/mtd/README.txt: New README file (2013-12-04).
|
||||
* arch/arm/src/lm/lm_start.c: Don't initialize .data if not running
|
||||
from FLASH (2013-12-05).
|
||||
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@
|
|||
|
||||
<p>
|
||||
<sup>1</sup><small>NXMU and NXSU are interchangeable other than (1) certain start-up
|
||||
and intialization APIs (as described below), and (2) timing. With NXSU, NX APIs
|
||||
and initializeation APIs (as described below), and (2) timing. With NXSU, NX APIs
|
||||
execute immediately; with NXMU, NX APIs defer and serialize the operations and, hence,
|
||||
introduce different timing and potential race conditions that you would not experience
|
||||
with NXSU.</small>
|
||||
|
|
|
@ -2257,7 +2257,7 @@ else
|
|||
<li><code>up_rtc_time()</code>.
|
||||
Get the current time in seconds. This is similar to the standard <code>time()</code> function.
|
||||
This interface is only required if the low-resolution RTC/counter hardware implementation selected.
|
||||
It is only used by the RTOS during intialization to set up the system time when <code>CONFIG_RTC</code> is set
|
||||
It is only used by the RTOS during initializeation to set up the system time when <code>CONFIG_RTC</code> is set
|
||||
but neither <code>CONFIG_RTC_HIRES</code> nor <code>CONFIG_RTC_DATETIME</code> are set.
|
||||
</li>
|
||||
<li><code>up_rtc_gettime()</code>.
|
||||
|
@ -3511,7 +3511,7 @@ extern void up_ledoff(int led);
|
|||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
Each USB host class driver includes an intialization entry point that is called from the
|
||||
Each USB host class driver includes an initializeation entry point that is called from the
|
||||
application at initialization time.
|
||||
This driver calls <code>usbhost_registerclass()</code> during this initialization in order to makes itself available in the event the device that it supports is connected.
|
||||
</p>
|
||||
|
@ -3599,7 +3599,7 @@ extern void up_ledoff(int led);
|
|||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
Each USB device class driver includes an intialization entry point that is called from the
|
||||
Each USB device class driver includes an initializeation entry point that is called from the
|
||||
application at initialization time.
|
||||
</p>
|
||||
<p>
|
||||
|
@ -4134,7 +4134,7 @@ void pm_initialize(void);
|
|||
</pre></ul>
|
||||
<p><b>Description:</b>
|
||||
This function is called by MCU-specific one-time at power on reset in order to initialize the power management capabilities.
|
||||
This function must be called <i>very</i> early in the intialization sequence <i>before</i> any other device drivers are initialize (since they may attempt to register with the power management subsystem).
|
||||
This function must be called <i>very</i> early in the initializeation sequence <i>before</i> any other device drivers are initialize (since they may attempt to register with the power management subsystem).
|
||||
</p>
|
||||
<p><b>Input Parameters:</b>
|
||||
None
|
||||
|
|
|
@ -1000,7 +1000,7 @@ int posix_spawn_file_actions_destroy(FAR posix_spawn_file_actions_t *file_action
|
|||
</pre></ul>
|
||||
<p>
|
||||
<b>Description:</b>
|
||||
The <code>posix_spawn_file_actions_destroy()</code> function destroys the object referenced by <code>file_actions</code> which was previously intialized by <code>posix_spawn_file_actions_init()</code>, returning any resources obtained at the time of initialization to the system for subsequent reuse.
|
||||
The <code>posix_spawn_file_actions_destroy()</code> function destroys the object referenced by <code>file_actions</code> which was previously initializeed by <code>posix_spawn_file_actions_init()</code>, returning any resources obtained at the time of initialization to the system for subsequent reuse.
|
||||
A <code>posix_spawn_file_actions_t</code> may be reinitialized after having been destroyed, but must not be reused after destruction, unless it has been reinitialized.
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -106,7 +106,7 @@ void up_initial_state(FAR struct tcb_s *tcb)
|
|||
frame[FRAME_IE] = 0x80;
|
||||
|
||||
/* Save the number of bytes in the frame (which will be used
|
||||
* to intialize the stack pointer when the task is started).
|
||||
* to initialize the stack pointer when the task is started).
|
||||
*/
|
||||
|
||||
tcb->xcp.nbytes = FRAME_SIZE;
|
||||
|
|
|
@ -127,7 +127,7 @@ void up_initialize(void)
|
|||
up_irqinitialize();
|
||||
|
||||
/* Initialize the power management subsystem. This MCU-specific function
|
||||
* must be called *very* early in the intialization sequence *before* any
|
||||
* must be called *very* early in the initialization sequence *before* any
|
||||
* other device drivers are initialized (since they may attempt to register
|
||||
* with the power management subsystem).
|
||||
*/
|
||||
|
|
|
@ -100,7 +100,7 @@ void __start(void)
|
|||
*dest++ = 0;
|
||||
}
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -137,7 +137,7 @@ void __start(void)
|
|||
}
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -119,7 +119,8 @@ void __start(void)
|
|||
}
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
#ifdef CONFIG_BOOT_RUNFROMFLASH
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
@ -130,6 +131,7 @@ void __start(void)
|
|||
*dest++ = *src++;
|
||||
}
|
||||
showprogress('C');
|
||||
#endif
|
||||
|
||||
/* Perform early serial initialization */
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ void __start(void)
|
|||
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -2509,7 +2509,7 @@ static inline void lpc17_ep0init(struct lpc17_usbhost_s *priv)
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than USB host controller, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initialized. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -77,7 +77,7 @@ extern "C"
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than USB host controller, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initializeed. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -4160,7 +4160,7 @@ static int lpc31_reset(void)
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one EHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initialized. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -248,7 +248,7 @@ void lpc31_usbsuspend(FAR struct usbdev_s *dev, bool resume);
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one EHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initializeed. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -309,7 +309,7 @@ void __start(void)
|
|||
}
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -131,7 +131,7 @@ void __start(void)
|
|||
}
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -112,7 +112,7 @@ void __start(void)
|
|||
*dest++ = 0;
|
||||
}
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -4000,7 +4000,7 @@ static int sam_reset(void)
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one EHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initialized. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -213,7 +213,7 @@ void up_irqinitialize(void)
|
|||
int i;
|
||||
|
||||
/* The following operations need to be atomic, but since this function is
|
||||
* called early in the intialization sequence, we expect to have exclusive
|
||||
* called early in the initialization sequence, we expect to have exclusive
|
||||
* access to the AIC.
|
||||
*/
|
||||
|
||||
|
|
|
@ -221,11 +221,8 @@ static int nand_dma_write(struct sam_nandcs_s *priv,
|
|||
|
||||
static int nand_nfcsram_read(uintptr_t src, uint8_t *dest,
|
||||
size_t buflen);
|
||||
static int nand_smc_read8(uintptr_t src, uint8_t *dest, size_t buflen);
|
||||
static int nand_smc_read16(uintptr_t src, uint8_t *dest,
|
||||
size_t buflen);
|
||||
static int nand_read(struct sam_nandcs_s *priv, bool nfcsram,
|
||||
uint8_t *buffer, size_t buflen);
|
||||
static int nand_read(struct sam_nandcs_s *priv, uint8_t *buffer,
|
||||
uint16_t buflen, uint16_t offset);
|
||||
|
||||
#ifdef CONFIG_SAMA5_HAVE_PMECC
|
||||
static int nand_read_pmecc(struct sam_nandcs_s *priv, off_t block,
|
||||
|
@ -1480,83 +1477,26 @@ static int nand_nfcsram_read(uintptr_t src, uint8_t *dest, size_t buflen)
|
|||
return OK;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nand_smc_read8
|
||||
*
|
||||
* Description:
|
||||
* Read 8-bit data from NAND using the NAND data address (without DMA)
|
||||
*
|
||||
* Input Parameters:
|
||||
* src - NAND data source address
|
||||
* dest - Buffer that will receive the data from the read
|
||||
* buflen - The number of bytes to transfer
|
||||
*
|
||||
* Returned Value
|
||||
* OK always
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int nand_smc_read8(uintptr_t src, uint8_t *dest, size_t buflen)
|
||||
{
|
||||
volatile uint8_t *src8 = (volatile uint8_t *)src;
|
||||
|
||||
for (; buflen > 0; buflen--)
|
||||
{
|
||||
*dest++ = *src8;
|
||||
}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nand_smc_read16
|
||||
*
|
||||
* Description:
|
||||
* Read 16-bit data from NAND using the NAND data address (without DMA)
|
||||
*
|
||||
* Input Parameters:
|
||||
* src - NAND data source address
|
||||
* dest - Buffer that will receive the data from the read
|
||||
* buflen - The number of bytes to transfer
|
||||
*
|
||||
* Returned Value
|
||||
* OK always
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int nand_smc_read16(uintptr_t src, uint8_t *dest, size_t buflen)
|
||||
{
|
||||
volatile uint16_t *src16 = (volatile uint16_t *)src;
|
||||
uint16_t *dest16 = (uint16_t *)dest;
|
||||
|
||||
DEBUGASSERT(((uintptr_t)dest & 1) == 0);
|
||||
|
||||
for (; buflen > 1; buflen -= sizeof(uint16_t))
|
||||
{
|
||||
*dest16++ = *src16;
|
||||
}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nand_read
|
||||
*
|
||||
* Description:
|
||||
* Read data from NAND using the appropriate method
|
||||
* Read data from NAND using the NFC SRAM
|
||||
*
|
||||
* Input Parameters:
|
||||
* priv - Lower-half, private NAND FLASH device state
|
||||
* nfcsram - True: Use NFC Host SRAM
|
||||
* buffer - Buffer that provides the data for the write
|
||||
* buflen - The amount of data to read into the buffer
|
||||
* offset - If reading from NFC SRAM, this is the offset into
|
||||
* the SRAM.
|
||||
*
|
||||
* Returned Value
|
||||
* OK on success; a negated errno value on failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int nand_read(struct sam_nandcs_s *priv, bool nfcsram,
|
||||
uint8_t *buffer, size_t buflen)
|
||||
static int nand_read(struct sam_nandcs_s *priv, uint8_t *buffer,
|
||||
uint16_t buflen, uint16_t offset)
|
||||
{
|
||||
uintptr_t src;
|
||||
#ifdef CONFIG_SAMA5_NAND_DMA
|
||||
|
@ -1565,48 +1505,32 @@ static int nand_read(struct sam_nandcs_s *priv, bool nfcsram,
|
|||
int buswidth;
|
||||
int ret;
|
||||
|
||||
fvdbg("nfcsram=%d buffer=%p buflen=%d\n", nfcsram, buffer, (int)buflen);
|
||||
fvdbg("buffer=%p buflen=%d offset=%d\n", buffer, buflen, offset);
|
||||
|
||||
/* Get the data source: NFC SRAM (perhaps with an offset)
|
||||
* NOTE: We could use the address priv->raw.dataaddr if we want to
|
||||
* bypass NFC SRAM.
|
||||
*/
|
||||
|
||||
src = NFCSRAM_BASE + offset;
|
||||
|
||||
/* Get the buswidth */
|
||||
|
||||
buswidth = nandmodel_getbuswidth(&priv->raw.model);
|
||||
|
||||
/* Pick the data source: The NFC SRAM or the NAND data address */
|
||||
|
||||
if (nfcsram)
|
||||
{
|
||||
/* Source is NFC SRAM */
|
||||
|
||||
src = NFCSRAM_BASE;
|
||||
|
||||
#ifdef CONFIG_SAMA5_NAND_DMA
|
||||
/* Select NFC SRAM DMA */
|
||||
|
||||
dmaflags = (buswidth == 16 ? NFCSRAM_DMA_FLAGS16 : NFCSRAM_DMA_FLAGS8);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Source is NFC NAND */
|
||||
|
||||
src = priv->raw.dataaddr;
|
||||
|
||||
#ifdef CONFIG_SAMA5_NAND_DMA
|
||||
/* Select NAND DMA */
|
||||
|
||||
dmaflags = (buswidth == 16 ? NAND_DMA_FLAGS16 : NAND_DMA_FLAGS8);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SAMA5_NAND_DMA
|
||||
/* Then perform the transfer via memory-to-memory DMA or not, depending
|
||||
* on if we have a DMA channel assigned and if the transfer is
|
||||
* sufficiently large. Small DMAs (e.g., for spare data) are not peformed
|
||||
* sufficiently large. Small DMAs (e.g., for spare data) are not performed
|
||||
* because the DMA context switch can take more time that the DMA itself.
|
||||
*/
|
||||
|
||||
if (priv->dma && buflen > CONFIG_SAMA5_NAND_DMA_THRESHOLD)
|
||||
{
|
||||
/* Select NFC SRAM DMA */
|
||||
|
||||
dmaflags = (buswidth == 16 ? NFCSRAM_DMA_FLAGS16 : NFCSRAM_DMA_FLAGS8);
|
||||
|
||||
/* Transfer using DMA */
|
||||
|
||||
ret = nand_dma_read(priv, src, (uintptr_t)buffer, buflen, dmaflags);
|
||||
|
@ -1616,23 +1540,9 @@ static int nand_read(struct sam_nandcs_s *priv, bool nfcsram,
|
|||
|
||||
/* Transfer without DMA */
|
||||
|
||||
if (nfcsram)
|
||||
{
|
||||
ret = nand_nfcsram_read(src, buffer, buflen);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Check the data bus width of the NAND FLASH */
|
||||
|
||||
if (buswidth == 16)
|
||||
{
|
||||
ret = nand_smc_read16(src, buffer, buflen);
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = nand_smc_read8(src, buffer, buflen);
|
||||
}
|
||||
}
|
||||
|
||||
nand_dump("NAND Read", buffer, buflen);
|
||||
return ret;
|
||||
|
@ -1724,9 +1634,11 @@ static int nand_read_pmecc(struct sam_nandcs_s *priv, off_t block,
|
|||
regval |= HSMC_PMECCFG_AUTO_ENABLE;
|
||||
}
|
||||
|
||||
regval |= HSMC_PMECCTRL_DATA;
|
||||
nand_putreg(SAM_HSMC_PMECCFG, regval);
|
||||
|
||||
/* Start the data phase and perform the transfer */
|
||||
|
||||
nand_putreg(SAM_HSMC_PMECCTRL, HSMC_PMECCTRL_DATA);
|
||||
nand_nfc_cleale(priv,
|
||||
HSMC_ALE_COL_EN | HSMC_ALE_ROW_EN | HSMC_CLE_VCMD2_EN | HSMC_CLE_DATA_EN,
|
||||
COMMAND_READ_1, COMMAND_READ_2, 0, rowaddr);
|
||||
|
@ -1739,18 +1651,20 @@ static int nand_read_pmecc(struct sam_nandcs_s *priv, off_t block,
|
|||
|
||||
nand_putreg(SAM_HSMC_PMECCTRL, HSMC_PMECCTRL_DATA);
|
||||
|
||||
/* Read the data area */
|
||||
/* Read the data area into the caller provided buffer (pagesize bytes) */
|
||||
|
||||
ret = nand_read(priv, true, (uint8_t *)data, pagesize);
|
||||
ret = nand_read(priv, (uint8_t *)data, pagesize, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
fdbg("ERROR: nand_read for data region failed: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Read the spare area into priv->raw.spare */
|
||||
/* Read the spare area into priv->raw.spare. The data to be read lies at
|
||||
* offset pagesize in NFC SRAM.
|
||||
*/
|
||||
|
||||
ret = nand_read(priv, true, priv->raw.spare, priv->raw.model.sparesize);
|
||||
ret = nand_read(priv, priv->raw.spare, priv->raw.model.sparesize, pagesize);
|
||||
if (ret < 0)
|
||||
{
|
||||
fdbg("ERROR: nand_read for spare region failed: %d\n", ret);
|
||||
|
@ -2044,7 +1958,7 @@ static int nand_readpage_noecc(struct sam_nandcs_s *priv, off_t block,
|
|||
|
||||
if (data)
|
||||
{
|
||||
ret = nand_read(priv, true, (uint8_t *)data, pagesize);
|
||||
ret = nand_read(priv, (uint8_t *)data, pagesize, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
fdbg("ERROR: nand_read for data region failed: %d\n", ret);
|
||||
|
@ -2052,11 +1966,14 @@ static int nand_readpage_noecc(struct sam_nandcs_s *priv, off_t block,
|
|||
}
|
||||
}
|
||||
|
||||
/* Read the spare area if so requested */
|
||||
/* Read the spare area if so requested. Read NFS SRAM from offset 0 in any
|
||||
* case because the coladdr was appropiately set above for the case where
|
||||
* there is no data.
|
||||
*/
|
||||
|
||||
if (spare)
|
||||
{
|
||||
ret = nand_read(priv, true, (uint8_t *)spare, sparesize);
|
||||
ret = nand_read(priv, (uint8_t *)spare, sparesize, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
fdbg("ERROR: nand_read for spare region failed: %d\n", ret);
|
||||
|
@ -3018,7 +2935,7 @@ struct mtd_dev_s *sam_nand_initialize(int cs)
|
|||
}
|
||||
|
||||
/* Initialize the NAND hardware for this CS */
|
||||
/* Perform board-specific SMC intialization for this CS. This should include:
|
||||
/* Perform board-specific SMC initialization for this CS. This should include:
|
||||
*
|
||||
* 1. Enabling of clocking to the HSMC
|
||||
* 2. Configuration of timing for the HSMC NAND CS
|
||||
|
|
|
@ -3089,7 +3089,7 @@ static void sam_disconnect(FAR struct usbhost_driver_s *drvr)
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one OHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initialized. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -924,9 +924,9 @@ static int pmecc_pagelayout(uint16_t datasize, uint16_t eccsize)
|
|||
correctability512 = nsectors512 * g_correctability[bcherr512];
|
||||
correctability1K = nsectors1k * g_correctability[bcherr1k];
|
||||
|
||||
/* Use 1K sectors unless we can do better with 512B sectors */
|
||||
/* Use 512B sectors unless we can do better with 1K sectors */
|
||||
|
||||
if (correctability512 > correctability1K)
|
||||
if (correctability512 >= correctability1K)
|
||||
{
|
||||
g_pmecc.sector1k = false;
|
||||
g_pmecc.nsectors = nsectors512;
|
||||
|
|
|
@ -380,7 +380,7 @@ int up_rtcinitialize(void)
|
|||
* Get the current date and time from the date/time RTC. This interface
|
||||
* is only supported by the date/time RTC hardware implementation.
|
||||
* It is used to replace the system timer. It is only used by the RTOS during
|
||||
* intialization to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* initialization to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* are selected (and CONFIG_RTC_HIRES is not).
|
||||
*
|
||||
* NOTE: Some date/time RTC hardware is capability of sub-second accuracy. That
|
||||
|
|
|
@ -879,7 +879,7 @@ static void ssc_buf_free(struct sam_ssc_s *priv, struct sam_buffer_s *bfcontaine
|
|||
* None
|
||||
*
|
||||
* Assumptions:
|
||||
* Called early in SSC intialization so that there are no issues with
|
||||
* Called early in SSC initialization so that there are no issues with
|
||||
* concurrency.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -230,7 +230,7 @@ extern "C"
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one USB OHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initializeed. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
@ -274,7 +274,7 @@ int sam_ohci_tophalf(int irq, FAR void *context);
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than one EHCI interface, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initializeed. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -649,7 +649,7 @@ static int sam_ioctl(FAR struct watchdog_lowerhalf_s *lower, int cmd,
|
|||
* Name: up_wdginitialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the WDT watchdog time. The watchdog timer is intialized and
|
||||
* Initialize the WDT watchdog time. The watchdog timer is initialized and
|
||||
* registered as 'devpath. The initial state of the watchdog time is
|
||||
* disabled.
|
||||
*
|
||||
|
|
|
@ -641,7 +641,7 @@ static int stm32_settimeout(FAR struct watchdog_lowerhalf_s *lower,
|
|||
* Name: stm32_iwdginitialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the IWDG watchdog time. The watchdog timer is intialized and
|
||||
* Initialize the IWDG watchdog time. The watchdog timer is initialized and
|
||||
* registers as 'devpath. The initial state of the watchdog time is
|
||||
* disabled.
|
||||
*
|
||||
|
|
|
@ -81,7 +81,7 @@ extern "C"
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than USB host controller, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initializeed. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -4255,7 +4255,7 @@ static inline int stm32_hw_initialize(FAR struct stm32_usbhost_s *priv)
|
|||
*
|
||||
* Input Parameters:
|
||||
* controller -- If the device supports more than USB host controller, then
|
||||
* this identifies which controller is being intialized. Normally, this
|
||||
* this identifies which controller is being initialized. Normally, this
|
||||
* is just zero.
|
||||
*
|
||||
* Returned Value:
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
* Description:
|
||||
* This function is called by MCU-specific logic at power-on reset in
|
||||
* order to provide one-time initialization the power management subystem.
|
||||
* This function must be called *very* early in the intialization sequence
|
||||
* This function must be called *very* early in the initialization sequence
|
||||
* *before* any other device drivers are initialized (since they may
|
||||
* attempt to register with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -644,7 +644,7 @@ int up_rtcinitialize(void)
|
|||
* Get the current date and time from the date/time RTC. This interface
|
||||
* is only supported by the date/time RTC hardware implementation.
|
||||
* It is used to replace the system timer. It is only used by the RTOS during
|
||||
* intialization to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* initialization to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* are selected (and CONFIG_RTC_HIRES is not).
|
||||
*
|
||||
* NOTE: Some date/time RTC hardware is capability of sub-second accuracy. That
|
||||
|
|
|
@ -413,7 +413,7 @@ int up_rtcinitialize(void)
|
|||
* Get the current time in seconds. This is similar to the standard time()
|
||||
* function. This interface is only required if the low-resolution RTC/counter
|
||||
* hardware implementation selected. It is only used by the RTOS during
|
||||
* intialization to set up the system time when CONFIG_RTC is set but neither
|
||||
* initialization to set up the system time when CONFIG_RTC is set but neither
|
||||
* CONFIG_RTC_HIRES nor CONFIG_RTC_DATETIME are set.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
|
|
@ -254,7 +254,7 @@ void __start(void)
|
|||
|
||||
showprogress('B');
|
||||
|
||||
/* Move the intialized data section from his temporary holding spot in
|
||||
/* Move the initialized data section from his temporary holding spot in
|
||||
* FLASH into the correct place in SRAM. The correct place in SRAM is
|
||||
* give by _sdata and _edata. The temporary location is in FLASH at the
|
||||
* end of all of the other read-only data (.text, .rodata) at _eronly.
|
||||
|
|
|
@ -69,7 +69,7 @@ extern "C" {
|
|||
* Name: stm32_iwdginitialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the IWDG watchdog time. The watchdog timer is intialized and
|
||||
* Initialize the IWDG watchdog time. The watchdog timer is initializeed and
|
||||
* registers as 'devpath. The initial state of the watchdog time is
|
||||
* disabled.
|
||||
*
|
||||
|
@ -91,7 +91,7 @@ EXTERN void stm32_iwdginitialize(FAR const char *devpath, uint32_t lsifreq);
|
|||
* Name: stm32_wwdginitialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the WWDG watchdog time. The watchdog timer is intialized and
|
||||
* Initialize the WWDG watchdog time. The watchdog timer is initializeed and
|
||||
* registers as 'devpath. The initial state of the watchdog time is
|
||||
* disabled.
|
||||
*
|
||||
|
|
|
@ -742,7 +742,7 @@ static int stm32_ioctl(FAR struct watchdog_lowerhalf_s *lower, int cmd,
|
|||
* Name: stm32_wwdginitialize
|
||||
*
|
||||
* Description:
|
||||
* Initialize the WWDG watchdog time. The watchdog timer is intialized and
|
||||
* Initialize the WWDG watchdog time. The watchdog timer is initialized and
|
||||
* registers as 'devpath. The initial state of the watchdog time is
|
||||
* disabled.
|
||||
*
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
* up_decodeirq()
|
||||
*
|
||||
* Description:
|
||||
* Read the IRQ number from the IVR register. During intialization, the IVR
|
||||
* Read the IRQ number from the IVR register. During initialization, the IVR
|
||||
* register was set to zero. Each SIR[n] register was programmed to contain
|
||||
* the IRQ number. At IRQ processing time (when this function run), the IVR
|
||||
* should contain the desired IRQ number.
|
||||
|
|
|
@ -336,7 +336,7 @@ eicloop:
|
|||
add \irqno, \irqno, #1
|
||||
|
||||
/* Continue to loop until all of the SIR registers have been
|
||||
* intialized.
|
||||
* initializeed.
|
||||
*/
|
||||
|
||||
cmp \irqno, #STR71X_EIC_NCHANNELS
|
||||
|
|
|
@ -210,7 +210,7 @@ void usart_configure(uintptr_t usart_base, uint32_t baud, unsigned int parity,
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console
|
||||
* early in the initializeation sequence to configure the serial console
|
||||
* uart (only).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -295,7 +295,7 @@ void usart_configure(uintptr_t usart_base, uint32_t baud, unsigned int parity,
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console uart
|
||||
* early in the initialization sequence to configure the serial console uart
|
||||
* (only).
|
||||
*
|
||||
******************************************************************************/
|
||||
|
|
|
@ -115,7 +115,7 @@ EXTERN void usart1_configure(void);
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console
|
||||
* early in the initializeation sequence to configure the serial console
|
||||
* uart (only).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -254,7 +254,7 @@ void usart1_configure(void)
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console uart
|
||||
* early in the initialization sequence to configure the serial console uart
|
||||
* (only).
|
||||
*
|
||||
******************************************************************************/
|
||||
|
|
|
@ -117,7 +117,7 @@ EXTERN void usart1_configure(void);
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console
|
||||
* early in the initializeation sequence to configure the serial console
|
||||
* uart (only).
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -413,7 +413,7 @@ void usart1_configure(void)
|
|||
*
|
||||
* Description:
|
||||
* Initialize a console for debug output. This function is called very
|
||||
* early in the intialization sequence to configure the serial console uart
|
||||
* early in the initialization sequence to configure the serial console uart
|
||||
* (only).
|
||||
*
|
||||
******************************************************************************/
|
||||
|
|
|
@ -321,7 +321,7 @@ void pic32mx_uartconfigure(uintptr_t uart_base, uint32_t baudrate,
|
|||
*
|
||||
* Description:
|
||||
* Initialize a low-level console for debug output. This function is called
|
||||
* very early in the intialization sequence to configure the serial console
|
||||
* very early in the initialization sequence to configure the serial console
|
||||
* UART (only).
|
||||
*
|
||||
******************************************************************************/
|
||||
|
|
|
@ -4283,7 +4283,7 @@ void up_usbinitialize(void)
|
|||
|
||||
pic32mx_stateinit(priv);
|
||||
|
||||
/* Then perform a few one-time intialization operstions. First, initialize
|
||||
/* Then perform a few one-time initialization operstions. First, initialize
|
||||
* the watchdog timer that is used to perform a delayed queue restart
|
||||
* after recovering from a stall.
|
||||
*/
|
||||
|
|
|
@ -84,7 +84,7 @@ void up_initialize(void)
|
|||
extern void vdev_init(void);
|
||||
extern void nuttx_arch_init(void);
|
||||
|
||||
// intialize the current_task to g_idletcb
|
||||
// initialize the current_task to g_idletcb
|
||||
current_task = g_pidhash[PIDHASH(0)].tcb;
|
||||
|
||||
// OS memory alloc system is ready
|
||||
|
|
|
@ -386,7 +386,7 @@ EXTERN void i486_dmadump(DMA_HANDLE handle, const struct i486_dmaregs_s *regs,
|
|||
* Description:
|
||||
* These are the various ISR/IRQ vector address exported from
|
||||
* qemu_vectors.S. These addresses need to have global scope so that they
|
||||
* can be known to the interrupt intialization logic in qemu_irq.c.
|
||||
* can be known to the interrupt initializeation logic in qemu_irq.c.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@ _ez80_datadone:
|
|||
ldir ; Copy the code section
|
||||
_ez80_codedone:
|
||||
|
||||
; Perform board-specific intialization
|
||||
; Perform board-specific initializeation
|
||||
|
||||
call _ez80_lowinit
|
||||
|
||||
|
|
|
@ -340,7 +340,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||
#
|
||||
# Stack and heap information
|
||||
#
|
||||
CONFIG_BOOT_RUNFROMFLASH=n
|
||||
CONFIG_BOOT_RUNFROMFLASH=y
|
||||
CONFIG_BOOT_COPYTORAM=n
|
||||
CONFIG_CUSTOM_STACK=n
|
||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
|
|
|
@ -337,7 +337,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||
#
|
||||
# Stack and heap information
|
||||
#
|
||||
CONFIG_BOOT_RUNFROMFLASH=n
|
||||
CONFIG_BOOT_RUNFROMFLASH=y
|
||||
CONFIG_BOOT_COPYTORAM=n
|
||||
CONFIG_CUSTOM_STACK=n
|
||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
|
|
|
@ -339,7 +339,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||
#
|
||||
# Stack and heap information
|
||||
#
|
||||
CONFIG_BOOT_RUNFROMFLASH=n
|
||||
CONFIG_BOOT_RUNFROMFLASH=y
|
||||
CONFIG_BOOT_COPYTORAM=n
|
||||
CONFIG_CUSTOM_STACK=n
|
||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
|
|
|
@ -406,7 +406,7 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y
|
|||
#
|
||||
# Stack and heap information
|
||||
#
|
||||
CONFIG_BOOT_RUNFROMFLASH=n
|
||||
CONFIG_BOOT_RUNFROMFLASH=y
|
||||
CONFIG_BOOT_COPYTORAM=n
|
||||
CONFIG_CUSTOM_STACK=n
|
||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
|
|
|
@ -336,7 +336,7 @@ CONFIG_NSH_MMCSDMINOR=0
|
|||
#
|
||||
# Stack and heap information
|
||||
#
|
||||
CONFIG_BOOT_RUNFROMFLASH=n
|
||||
CONFIG_BOOT_RUNFROMFLASH=y
|
||||
CONFIG_BOOT_COPYTORAM=n
|
||||
CONFIG_CUSTOM_STACK=n
|
||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||
|
|
|
@ -516,7 +516,7 @@ LEDs
|
|||
- The LED is not illuminated until the LPCXpresso completes initialization.
|
||||
|
||||
If the LED is stuck in the OFF state, this means that the LPCXpresso did not
|
||||
complete intialization.
|
||||
complete initializeation.
|
||||
|
||||
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
||||
restores its previous stated upon return from the interrupt (or signal).
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
* Description:
|
||||
* This function is called by MCU-specific logic at power-on reset in
|
||||
* order to provide one-time initialization the power management subystem.
|
||||
* This function must be called *very* early in the intialization sequence
|
||||
* This function must be called *very* early in the initializeation sequence
|
||||
* *before* any other device drivers are initialized (since they may
|
||||
* attempt to register with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -585,7 +585,7 @@ Analog Input
|
|||
|
||||
When CONFIG_PIC32MX_ADC=y is defined, the Mirtoo boot up logic will
|
||||
automatically configure pin 18 (AN0) as an analog input (see configs/mirtoo/src/up_adc.c).
|
||||
To intialize and use the PGA117, you to add logic something like the
|
||||
To initializee and use the PGA117, you to add logic something like the
|
||||
following in your application code:
|
||||
|
||||
#include <nuttx/spi/spi.h>
|
||||
|
|
|
@ -2629,7 +2629,7 @@ Configurations
|
|||
in the nsh configuration:
|
||||
|
||||
4. SDRAM is supported. .data and .bss is still retained in ISRAM, but
|
||||
SDRAM is intialized and the SDRAM memory is included in the heap.
|
||||
SDRAM is initializeed and the SDRAM memory is included in the heap.
|
||||
Relevant configuration settings are provided in the paragraph entitled
|
||||
"SDRAM Support" above.
|
||||
|
||||
|
@ -2762,7 +2762,7 @@ Configurations
|
|||
However, no built-in applications are selected in the base configuration.
|
||||
|
||||
5. This configuration has support for the FAT file system built in. However,
|
||||
by default, there are no block drivers intialized. The FAT file system can
|
||||
by default, there are no block drivers initializeed. The FAT file system can
|
||||
still be used to create RAM disks.
|
||||
|
||||
6. SDRAM support can be enabled by modifying your NuttX configuration as
|
||||
|
|
|
@ -152,7 +152,7 @@ int sam_at24_automount(int minor)
|
|||
return ret;
|
||||
}
|
||||
#endif
|
||||
/* Now we are intialized */
|
||||
/* Now we are initializeed */
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ int sam_at25_automount(int minor)
|
|||
return ret;
|
||||
}
|
||||
#endif
|
||||
/* Now we are intialized */
|
||||
/* Now we are initializeed */
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ int sam_nand_automount(int minor)
|
|||
return ret;
|
||||
}
|
||||
#endif
|
||||
/* Now we are intialized */
|
||||
/* Now we are initializeed */
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
|
|
@ -1784,7 +1784,7 @@ static inline int stm32_lcdinitialize(FAR struct stm32_dev_s *priv)
|
|||
stm32_lcdoutput(priv);
|
||||
up_mdelay(10);
|
||||
|
||||
/* Intialize the LCD hardware */
|
||||
/* Initialize the LCD hardware */
|
||||
|
||||
#ifndef CONFIG_STM32_ILI9300_DISABLE
|
||||
if (id == ILI9300_ID)
|
||||
|
|
|
@ -452,7 +452,7 @@ nx11
|
|||
2. You must first up_fbinitialize() before calling up_simtouchscreen()
|
||||
or you will get a crash.
|
||||
|
||||
3. Call sim_tcuninintialize() when you are finished with the
|
||||
3. Call sim_tcunininitializee() when you are finished with the
|
||||
simulated touchscreen.
|
||||
|
||||
4. Enable CONFIG_DEBUG_INPUT=y for touchscreen debug output.
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
* Description:
|
||||
* This function is called by MCU-specific logic at power-on reset in
|
||||
* order to provide one-time initialization the power management subystem.
|
||||
* This function must be called *very* early in the intialization sequence
|
||||
* This function must be called *very* early in the initializeation sequence
|
||||
* *before* any other device drivers are initialized (since they may
|
||||
* attempt to register with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
* Description:
|
||||
* This function is called by MCU-specific logic at power-on reset in
|
||||
* order to provide one-time initialization the power management subystem.
|
||||
* This function must be called *very* early in the intialization sequence
|
||||
* This function must be called *very* early in the initializeation sequence
|
||||
* *before* any other device drivers are initialized (since they may
|
||||
* attempt to register with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -725,4 +725,4 @@ Where <subdir> is one of the following:
|
|||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : Provide NSH intialization logic
|
||||
CONFIG_NSH_ARCHINIT=y : Provide NSH initializeation logic
|
||||
|
|
|
@ -316,7 +316,7 @@ LEDs
|
|||
- The LED is not illuminated until the ZKit-ARM completes initialization.
|
||||
|
||||
If the LED is stuck in the OFF state, this means that the ZKit-ARM did not
|
||||
complete intialization.
|
||||
complete initializeation.
|
||||
|
||||
- Each time the OS enters an interrupt (or a signal) it will turn the LED OFF and
|
||||
restores its previous stated upon return from the interrupt (or signal).
|
||||
|
|
|
@ -516,7 +516,7 @@ static int max1704x_capacity(struct battery_dev_s *dev, b16_t *value)
|
|||
* frequency - The I2C frequency
|
||||
*
|
||||
* Returned Value:
|
||||
* A pointer to the intialized lower-half driver instance. A NULL pointer
|
||||
* A pointer to the initializeed lower-half driver instance. A NULL pointer
|
||||
* is returned on a failure to initialize the MAX1704x lower half.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -85,7 +85,7 @@ struct pm_global_s g_pmglobals;
|
|||
* Description:
|
||||
* This function is called by MCU-specific one-time at power on reset in
|
||||
* order to initialize the power management capabilities. This function
|
||||
* must be called *very* early in the intialization sequence *before* any
|
||||
* must be called *very* early in the initializeation sequence *before* any
|
||||
* other device drivers are initialize (since they may attempt to register
|
||||
* with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -1605,7 +1605,7 @@ static FAR struct usbmsc_cbw_s *usbhost_cbwalloc(FAR struct usbhost_state_s *pri
|
|||
|
||||
DEBUGASSERT(priv->tbuffer && priv->tbuflen >= sizeof(struct usbmsc_cbw_s))
|
||||
|
||||
/* Intialize the CBW sructure */
|
||||
/* Initialize the CBW sructure */
|
||||
|
||||
cbw = (FAR struct usbmsc_cbw_s *)priv->tbuffer;
|
||||
memset(cbw, 0, sizeof(struct usbmsc_cbw_s));
|
||||
|
|
|
@ -445,7 +445,7 @@ int syslog_putc(int ch)
|
|||
{
|
||||
/* Try again to initialize the device. We may do this repeatedly
|
||||
* because the log device might be something that was not ready
|
||||
* the first time that syslog_intialize() was called (such as a
|
||||
* the first time that syslog_initializee() was called (such as a
|
||||
* USB serial device that has not yet been connected or a file in
|
||||
* an NFS mounted file system that has not yet been mounted).
|
||||
*/
|
||||
|
|
|
@ -195,7 +195,7 @@ EXTERN int battery_register(FAR const char *devpath,
|
|||
* frequency - The I2C frequency
|
||||
*
|
||||
* Returned Value:
|
||||
* A pointer to the intialized battery driver instance. A NULL pointer
|
||||
* A pointer to the initializeed battery driver instance. A NULL pointer
|
||||
* is returned on a failure to initialize the MAX1704x lower half.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
|
|
@ -337,7 +337,7 @@ extern "C" {
|
|||
* Description:
|
||||
* This function is called by MCU-specific logic at power-on reset in
|
||||
* order to provide one-time initialization the power management subystem.
|
||||
* This function must be called *very* early in the intialization sequence
|
||||
* This function must be called *very* early in the initializeation sequence
|
||||
* *before* any other device drivers are initialized (since they may
|
||||
* attempt to register with the power management subsystem).
|
||||
*
|
||||
|
|
|
@ -159,7 +159,7 @@ EXTERN int up_rtcinitialize(void);
|
|||
* Get the current time in seconds. This is similar to the standard time()
|
||||
* function. This interface is only required if the low-resolution RTC/counter
|
||||
* hardware implementation selected. It is only used by the RTOS during
|
||||
* intialization to set up the system time when CONFIG_RTC is set but neither
|
||||
* initializeation to set up the system time when CONFIG_RTC is set but neither
|
||||
* CONFIG_RTC_HIRES nor CONFIG_RTC_DATETIME are set.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
@ -201,7 +201,7 @@ EXTERN int up_rtc_gettime(FAR struct timespec *tp);
|
|||
* Get the current date and time from the date/time RTC. This interface
|
||||
* is only supported by the date/time RTC hardware implementation.
|
||||
* It is used to replace the system timer. It is only used by the RTOS during
|
||||
* intialization to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* initializeation to set up the system time when CONFIG_RTC and CONFIG_RTC_DATETIME
|
||||
* are selected (and CONFIG_RTC_HIRES is not).
|
||||
*
|
||||
* NOTE: Some date/time RTC hardware is capability of sub-second accuracy. That
|
||||
|
|
|
@ -83,7 +83,7 @@ void weak_const_function lib_initialize(void)
|
|||
|
||||
#if CONFIG_NFILE_STREAMS > 0
|
||||
/* The following function is called when a new task is allocated. It
|
||||
* intializes the streamlist instance that is stored in the task group.
|
||||
* initializees the streamlist instance that is stored in the task group.
|
||||
*/
|
||||
|
||||
void lib_streaminit(FAR struct streamlist *list)
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
*
|
||||
* Description:
|
||||
* The posix_spawn_file_actions_destroy() function destroys the object
|
||||
* referenced by file_actions which was previously intialized by
|
||||
* referenced by file_actions which was previously initializeed by
|
||||
* posix_spawn_file_actions_init(), returning any resources obtained at the
|
||||
* time of initialization to the system for subsequent reuse. A
|
||||
* posix_spawn_file_actions_t may be reinitialized after having been
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
*
|
||||
* Parameters:
|
||||
* once_control - Determines if init_routine should be called. once_control
|
||||
* should be declared and intialized as follows:
|
||||
* should be declared and initializeed as follows:
|
||||
*
|
||||
* pthread_once_t once_control = PTHREAD_ONCE_INIT;
|
||||
*
|
||||
|
|
|
@ -159,7 +159,7 @@ extern sq_queue_t g_sigpendingirqsignal;
|
|||
|
||||
struct task_group_s;
|
||||
|
||||
/* sig_intialize.c */
|
||||
/* sig_initializee.c */
|
||||
|
||||
void weak_function sig_initialize(void);
|
||||
void sig_allocateactionblock(void);
|
||||
|
|
Loading…
Reference in a new issue