mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
boards: mips: nxstyle fixes
Fixes to pass CI Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
9ced5cae84
commit
b5ea69ee78
@@ -43,9 +43,9 @@
|
||||
/* PLL Settings
|
||||
*
|
||||
* SYNR register controls the multiplication factor of the PLL.
|
||||
* If the PLL is on, the count in the loop divider (SYNR) register effectively
|
||||
* multiplies up the PLL clock (PLLCLK) from the reference frequency by 2 x
|
||||
* (SYNR+1).
|
||||
* If the PLL is on, the count in the loop divider (SYNR) register
|
||||
* effectively multiplies up the PLL clock (PLLCLK) from the reference
|
||||
* frequency by 2 x(SYNR+1).
|
||||
* PLLCLK will not be below the minimum VCO frequency (fSCM).
|
||||
*
|
||||
* The REFDV register provides a finer granularity for the PLL multiplier
|
||||
|
||||
@@ -45,14 +45,15 @@
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
* Public Functions Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: hcs12_spidev_initialize
|
||||
*
|
||||
* Description:
|
||||
* Called to configure SPI chip select GPIO pins for the STM3210E-EVAL board.
|
||||
* Called to configure SPI chip select GPIO pins for the STM3210E-EVAL
|
||||
* board.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ void weak_function hcs12_spidev_initialize(void)
|
||||
*
|
||||
* Description:
|
||||
* The external functions, hcs12_spiselect and hcs12_spistatus must be
|
||||
* provided by board-specific logic. They are implementations of the select
|
||||
* provided by board-specific logic. They are implementations of the select
|
||||
* and status methods of the SPI interface defined by struct spi_ops_s (see
|
||||
* include/nuttx/spi/spi.h).
|
||||
* All other methods (including hcs12_spibus_initialize()) are provided by
|
||||
@@ -66,10 +66,10 @@ void weak_function hcs12_spidev_initialize(void)
|
||||
* 1. Provide logic in hcs12_boardinitialize() to configure SPI chip select
|
||||
* pins.
|
||||
* 2. Provide hcs12_spiselect() and hcs12_spistatus() functions in your
|
||||
* board-specific logic. These functions will perform chip selection and
|
||||
* board-specific logic. These functions will perform chip selection and
|
||||
* status operations using GPIOs in the way your board is configured.
|
||||
* 3. Add a calls to hcs12_spibus_initialize() in your low level application
|
||||
* initialization logic
|
||||
* 3. Add a calls to hcs12_spibus_initialize() in your low level
|
||||
* application initialization logic
|
||||
* 4. The handle returned by hcs12_spibus_initialize() may then be used to
|
||||
* bind the SPI driver to higher level logic (e.g., calling
|
||||
* mmcsd_spislotinitialize(), for example, will bind the SPI driver to
|
||||
@@ -77,7 +77,8 @@ void weak_function hcs12_spidev_initialize(void)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void hcs12_spiselect(FAR struct spi_dev_s *dev, uint32_t devid, bool selected)
|
||||
void hcs12_spiselect(FAR struct spi_dev_s *dev,
|
||||
uint32_t devid, bool selected)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
*
|
||||
* Description:
|
||||
* All HCS12 architectures must provide the following entry point.
|
||||
* This entry point is called early in the initialization - after all memory
|
||||
* has been configured and mapped but before any devices have been
|
||||
* This entry point is called early in the initialization - after all
|
||||
* memory has been configured and mapped but before any devices have been
|
||||
* initialized.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -56,20 +56,20 @@ void weak_function hcs12_spidev_initialize(void)
|
||||
*
|
||||
* Description:
|
||||
* The external functions, hcs12_spiselect and hcs12_spistatus must be
|
||||
* provided by board-specific logic. They are implementations of the select
|
||||
* provided by board-specific logic. They are implementations of the select
|
||||
* and status methods of the SPI interface defined by struct spi_ops_s (see
|
||||
* include/nuttx/spi/spi.h).
|
||||
* All other methods (including hcs12_spibus_initialize())
|
||||
* are provided by common HCS12 logic. To use this common SPI logic on your
|
||||
* are provided by common HCS12 logic. To use this common SPI logic on your
|
||||
* board:
|
||||
*
|
||||
* 1. Provide logic in hcs12_boardinitialize() to configure SPI chip select
|
||||
* pins.
|
||||
* 2. Provide hcs12_spiselect() and hcs12_spistatus() functions in your
|
||||
* board-specific logic. These functions will perform chip selection and
|
||||
* board-specific logic. These functions will perform chip selection and
|
||||
* status operations using GPIOs in the way your board is configured.
|
||||
* 3. Add a calls to hcs12_spibus_initialize() in your low level application
|
||||
* initialization logic
|
||||
* 3. Add a calls to hcs12_spibus_initialize() in your low level
|
||||
* application initialization logic
|
||||
* 4. The handle returned by hcs12_spibus_initialize() may then be used to
|
||||
* bind the SPI driver to higher level logic (e.g., calling
|
||||
* mmcsd_spislotinitialize(), for example, will bind the SPI driver to
|
||||
@@ -77,7 +77,8 @@ void weak_function hcs12_spidev_initialize(void)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void hcs12_spiselect(FAR struct spi_dev_s *dev, uint32_t devid, bool selected)
|
||||
void hcs12_spiselect(FAR struct spi_dev_s *dev,
|
||||
uint32_t devid, bool selected)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -160,14 +160,15 @@
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
* Public Functions Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: hcs12_spidev_initialize
|
||||
*
|
||||
* Description:
|
||||
* Called to configure SPI chip select GPIO pins for the STM3210E-EVAL board.
|
||||
* Called to configure SPI chip select GPIO pins for the STM3210E-EVAL
|
||||
* board.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user