For NUC1xx MCUs, rename up_spiinitialize to nuc_spibus_initialize

This commit is contained in:
Gregory Nutt
2016-01-27 08:42:25 -06:00
parent 59ba5719dd
commit 3dc852166f
2 changed files with 5 additions and 5 deletions
@@ -72,13 +72,13 @@
void nuc_boardinitialize(void) void nuc_boardinitialize(void)
{ {
/* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function /* Configure SPI chip selects if 1) SPI is not disabled, and 2) the weak function
* nuc_spiinitialize() has been brought into the link. * nuc_spidev_initialize() has been brought into the link.
*/ */
#if defined(CONFIG_NUC1XX_SPI1) || defined(CONFIG_NUC1XX_SPI2) || defined(CONFIG_NUC1XX_SPI3) #if defined(CONFIG_NUC1XX_SPI1) || defined(CONFIG_NUC1XX_SPI2) || defined(CONFIG_NUC1XX_SPI3)
if (nuc_spiinitialize) if (nuc_spidev_initialize)
{ {
nuc_spiinitialize(); nuc_spidev_initialize();
} }
#endif #endif
+2 -2
View File
@@ -91,14 +91,14 @@
****************************************************************************************************/ ****************************************************************************************************/
/**************************************************************************************************** /****************************************************************************************************
* Name: nuc_spiinitialize * Name: nuc_spidev_initialize
* *
* Description: * Description:
* Called to configure SPI chip select GPIO pins for the NuTiny-EVB-120 board. * Called to configure SPI chip select GPIO pins for the NuTiny-EVB-120 board.
* *
****************************************************************************************************/ ****************************************************************************************************/
void weak_function nuc_spiinitialize(void); void weak_function nuc_spidev_initialize(void);
/**************************************************************************************************** /****************************************************************************************************
* Name: nuc_usbinitialize * Name: nuc_usbinitialize