diff --git a/configs/demo9s12ne64/src/demo9s12ne64.h b/configs/demo9s12ne64/src/demo9s12ne64.h index 95f3dcab610..1602af3194c 100644 --- a/configs/demo9s12ne64/src/demo9s12ne64.h +++ b/configs/demo9s12ne64/src/demo9s12ne64.h @@ -64,14 +64,14 @@ ************************************************************************************/ /************************************************************************************ - * Name: hcs12_spiinitialize + * Name: hcs12_spidev_initialize * * Description: * Called to configure SPI chip select GPIO pins for the STM3210E-EVAL board. * ************************************************************************************/ -void weak_function hcs12_spiinitialize(void); +void weak_function hcs12_spidev_initialize(void); #endif /* __ASSEMBLY__ */ #endif /* __CONFIGS_DEMO9S12NE64_SRC_DEMO9S12NE64_H */ diff --git a/configs/demo9s12ne64/src/m9s12_boot.c b/configs/demo9s12ne64/src/m9s12_boot.c index d262109a829..ab6c3b6467c 100644 --- a/configs/demo9s12ne64/src/m9s12_boot.c +++ b/configs/demo9s12ne64/src/m9s12_boot.c @@ -71,13 +71,13 @@ void hcs12_boardinitialize(void) { /* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function - * hcs12_spiinitialize() has been brought into the link. + * hcs12_spidev_initialize() has been brought into the link. */ #if defined(CONFIG_INCLUDE_HCS12_ARCH_SPI) - if (hcs12_spiinitialize) + if (hcs12_spidev_initialize) { - hcs12_spiinitialize(); + hcs12_spidev_initialize(); } #endif diff --git a/configs/demo9s12ne64/src/m9s12_spi.c b/configs/demo9s12ne64/src/m9s12_spi.c index 1f3ab577067..b418635021f 100644 --- a/configs/demo9s12ne64/src/m9s12_spi.c +++ b/configs/demo9s12ne64/src/m9s12_spi.c @@ -81,14 +81,14 @@ ************************************************************************************/ /************************************************************************************ - * Name: hcs12_spiinitialize + * Name: hcs12_spidev_initialize * * Description: * Called to configure SPI chip select GPIO pins for the DEMO9S12NE64 board. * ************************************************************************************/ -void weak_function hcs12_spiinitialize(void) +void weak_function hcs12_spidev_initialize(void) { } @@ -99,7 +99,7 @@ void weak_function hcs12_spiinitialize(void) * The external functions, hcs12_spiselect and hcs12_spistatus must be * 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 up_spiinitialize()) + * 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 * board: * @@ -108,9 +108,9 @@ void weak_function hcs12_spiinitialize(void) * 2. Provide hcs12_spiselect() and hcs12_spistatus() functions in your * 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 up_spiinitialize() in your low level application + * 3. Add a calls to hcs12_spibus_initialize() in your low level application * initialization logic - * 4. The handle returned by up_spiinitialize() may then be used to bind the + * 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 * the SPI MMC/SD driver). diff --git a/configs/ne64badge/src/m9s12_boot.c b/configs/ne64badge/src/m9s12_boot.c index ce1acc7c1b1..e3783feed4c 100644 --- a/configs/ne64badge/src/m9s12_boot.c +++ b/configs/ne64badge/src/m9s12_boot.c @@ -71,13 +71,13 @@ void hcs12_boardinitialize(void) { /* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function - * hcs12_spiinitialize() has been brought into the link. + * hcs12_spidev_initialize() has been brought into the link. */ #if defined(CONFIG_INCLUDE_HCS12_ARCH_SPI) - if (hcs12_spiinitialize) + if (hcs12_spidev_initialize) { - hcs12_spiinitialize(); + hcs12_spidev_initialize(); } #endif diff --git a/configs/ne64badge/src/m9s12_spi.c b/configs/ne64badge/src/m9s12_spi.c index df45c8e89a3..bb4e3bc6967 100644 --- a/configs/ne64badge/src/m9s12_spi.c +++ b/configs/ne64badge/src/m9s12_spi.c @@ -81,14 +81,14 @@ ************************************************************************************/ /************************************************************************************ - * Name: hcs12_spiinitialize + * Name: hcs12_spidev_initialize * * Description: * Called to configure SPI chip select GPIO pins for the NE64 Badge board. * ************************************************************************************/ -void weak_function hcs12_spiinitialize(void) +void weak_function hcs12_spidev_initialize(void) { } @@ -99,7 +99,7 @@ void weak_function hcs12_spiinitialize(void) * The external functions, hcs12_spiselect and hcs12_spistatus must be * 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 up_spiinitialize()) + * 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 * board: * @@ -108,9 +108,9 @@ void weak_function hcs12_spiinitialize(void) * 2. Provide hcs12_spiselect() and hcs12_spistatus() functions in your * 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 up_spiinitialize() in your low level application + * 3. Add a calls to hcs12_spibus_initialize() in your low level application * initialization logic - * 4. The handle returned by up_spiinitialize() may then be used to bind the + * 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 * the SPI MMC/SD driver). diff --git a/configs/ne64badge/src/ne64badge.h b/configs/ne64badge/src/ne64badge.h index 750cc986923..103a7cd46f8 100644 --- a/configs/ne64badge/src/ne64badge.h +++ b/configs/ne64badge/src/ne64badge.h @@ -178,14 +178,14 @@ ************************************************************************************/ /************************************************************************************ - * Name: hcs12_spiinitialize + * Name: hcs12_spidev_initialize * * Description: * Called to configure SPI chip select GPIO pins for the STM3210E-EVAL board. * ************************************************************************************/ -void weak_function hcs12_spiinitialize(void); +void weak_function hcs12_spidev_initialize(void); #endif /* __ASSEMBLY__ */ #endif /* __CONFIGS_NE64BADGE_SRC_NE64BADGE_H */