mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Remove the final vestiges of up_spiinitialize()
This commit is contained in:
@@ -11387,25 +11387,18 @@
|
|||||||
* SPI: Rename the KL up_spiinitialize() to kl_spibus_intialize() (2016-01-26).
|
* SPI: Rename the KL up_spiinitialize() to kl_spibus_intialize() (2016-01-26).
|
||||||
* SPI: Rename the Kinetis up_spiinitialize() to kinetis_spibus_intialize()
|
* SPI: Rename the Kinetis up_spiinitialize() to kinetis_spibus_intialize()
|
||||||
(2016-01-26).
|
(2016-01-26).
|
||||||
* SPI: Rename the LPC31xx up_spiinitialize() to lpc31_spibus_intialize()
|
* SPI: Rename the LPC31xx up_spiinitialize() to lpc31_spibus_intialize(),
|
||||||
|
Rename the LPC17xx lpc17_spiinitialize() to lpc31_spibus_intialize(),
|
||||||
|
Rename the LPC43xx up_spiinitialize() to lpc43_spibus_intialize()
|
||||||
(2016-01-26).
|
(2016-01-26).
|
||||||
* SPI: Rename the LPC17xx lpc17_spiinitialize() to lpc31_spibus_intialize()
|
* SPI: Rename the AVR up_spiinitialize() to avr_spibus_intialize(),
|
||||||
(2016-01-26).
|
Rename the LPC2148 up_spiinitialize() to lpc214x_spibus_intialize(),
|
||||||
* SPI: Rename the LPC43xx up_spiinitialize() to lpc43_spibus_intialize()
|
Rename the Calypso up_spiinitialize() to calypso_spibus_intialize(),
|
||||||
(2016-01-26).
|
Rename the ez80 up_spiinitialize() to ez80_spibus_intialize(),
|
||||||
* SPI: Rename the AVR up_spiinitialize() to avr_spibus_intialize()
|
Rename the STR71xx up_spiinitialize() to str71_spibus_intialize(),
|
||||||
(2016-01-27).
|
Rename the i.MX1 up_spiinitialize() to imx_spibus_intialize(),
|
||||||
* SPI: Rename the LPC2148 up_spiinitialize() to lpc214x_spibus_intialize()
|
Rename the LPC2378 up_spiinitialize() to lpc23_spibus_intialize(),
|
||||||
(2016-01-27).
|
Rename the M9S12 up_spiinitialize() to hcs12_spibus_intialize(),
|
||||||
* SPI: Rename the Calypso up_spiinitialize() to calypso_spibus_intialize()
|
Rename the x86 up_spiinitialize() to i486_spibus_intialize(),
|
||||||
(2016-01-27).
|
Rename the z16f up_spiinitialize() to z16_spibus_intialize().
|
||||||
* SPI: Rename the ez80 up_spiinitialize() to ez80_spibus_intialize()
|
up_spiinitialize() has been completely eliminated. (2016-01-27).
|
||||||
(2016-01-27).
|
|
||||||
* SPI: Rename the STR71xx up_spiinitialize() to str71_spibus_intialize()
|
|
||||||
(2016-01-27).
|
|
||||||
* SPI: Rename the i.MX1 up_spiinitialize() to imx_spibus_intialize()
|
|
||||||
(2016-01-27).
|
|
||||||
* SPI: Rename the LPC2378 up_spiinitialize() to lpc23_spibus_intialize()
|
|
||||||
(2016-01-27).
|
|
||||||
* SPI: Rename the M9S12 up_spiinitialize() to hcs12_spibus_intialize()
|
|
||||||
(2016-01-27).
|
|
||||||
|
|||||||
+1
-1
Submodule arch updated: a55bcb538a...b2139bdcb7
@@ -1903,8 +1903,9 @@ static void mmcsd_mediachanged(void *arg)
|
|||||||
* slotno - The slot number to use. This is only meaningful for
|
* slotno - The slot number to use. This is only meaningful for
|
||||||
* architectures that support multiple MMC/SD slots. This value must be
|
* architectures that support multiple MMC/SD slots. This value must be
|
||||||
* in the range {0, ..., CONFIG_MMCSD_NSLOTS}.
|
* in the range {0, ..., CONFIG_MMCSD_NSLOTS}.
|
||||||
* spi - And instance of an SPI interface obtained by called
|
* spi - And instance of an SPI interface obtained by called the
|
||||||
* up_spiinitialize() with the appropriate port number (see spi.h)
|
* approprite xyz_spibus_initialize() function for the MCU "xyz" with
|
||||||
|
* the appropriate port number.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -92,8 +92,9 @@ int mmcsd_slotinitialize(int minor, FAR struct sdio_dev_s *dev);
|
|||||||
* slotno - The slot number to use. This is only meaningful for architectures
|
* slotno - The slot number to use. This is only meaningful for architectures
|
||||||
* that support multiple MMC/SD slots. This value must be in the range
|
* that support multiple MMC/SD slots. This value must be in the range
|
||||||
* {0, ..., CONFIG_MMCSD_NSLOTS}.
|
* {0, ..., CONFIG_MMCSD_NSLOTS}.
|
||||||
* spi - And instance of an SPI interface obtained by called
|
* spi - And instance of an SPI interface obtained by called the
|
||||||
* up_spiinitialize() with the appropriate port number (see spi.h)
|
* approprite xyz_spibus_initialize() function for the MCU "xyz" with
|
||||||
|
* the appropriate port number.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|||||||
@@ -479,42 +479,6 @@ extern "C"
|
|||||||
#define EXTERN extern
|
#define EXTERN extern
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Name: up_spiinitialize
|
|
||||||
*
|
|
||||||
* Description:
|
|
||||||
* Initialize the selected SPI port in master mode.
|
|
||||||
*
|
|
||||||
* This is a generic prototype for the SPI initialize logic. Specific
|
|
||||||
* architectures may support different SPI initialization functions if,
|
|
||||||
* for example, those architectures support multiple, incompatible SPI
|
|
||||||
* implementations. In any event, the prototype of those architecture-
|
|
||||||
* specific initialization functions should be the same as
|
|
||||||
* up_spiinitialize()
|
|
||||||
*
|
|
||||||
* As an example, the LPC17xx family supports an SPI block and several SSP
|
|
||||||
* blocks that may be programmed to support the SPI function. In this
|
|
||||||
* case, the LPC17xx architecture supports these two initialization
|
|
||||||
* functions:
|
|
||||||
*
|
|
||||||
* FAR struct spi_dev_s *lpc17_spiinitialize(int port);
|
|
||||||
* FAR struct spi_dev_s *lpc17_sspinitialize(int port);
|
|
||||||
*
|
|
||||||
* Another example would be the STM32 families that support both SPI
|
|
||||||
* blocks as well as USARTs that can be configured to perform the SPI
|
|
||||||
* function as well (the STM32 USARTs do not support SPI as of this
|
|
||||||
* writing).
|
|
||||||
*
|
|
||||||
* Input Parameter:
|
|
||||||
* Port number (for hardware that has multiple SPI interfaces)
|
|
||||||
*
|
|
||||||
* Returned Value:
|
|
||||||
* Valid SPI device structure reference on success; a NULL on failure
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
FAR struct spi_dev_s *up_spiinitialize(int port);
|
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user