For NUC1xx MCUs, rename up_spiinitialize to nuc_spibus_initialize
This commit is contained in:
parent
59ba5719dd
commit
3dc852166f
@ -72,13 +72,13 @@
|
||||
void nuc_boardinitialize(void)
|
||||
{
|
||||
/* 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 (nuc_spiinitialize)
|
||||
if (nuc_spidev_initialize)
|
||||
{
|
||||
nuc_spiinitialize();
|
||||
nuc_spidev_initialize();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -91,14 +91,14 @@
|
||||
****************************************************************************************************/
|
||||
|
||||
/****************************************************************************************************
|
||||
* Name: nuc_spiinitialize
|
||||
* Name: nuc_spidev_initialize
|
||||
*
|
||||
* Description:
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user