diff --git a/configs/dk-tm4c129x/src/tm4c_ssi.c b/configs/dk-tm4c129x/src/tm4c_ssi.c index 60d36af24e..5b8ccf147d 100644 --- a/configs/dk-tm4c129x/src/tm4c_ssi.c +++ b/configs/dk-tm4c129x/src/tm4c_ssi.c @@ -101,15 +101,15 @@ void weak_function tm4c_ssiinitialize(void) * The external functions, tiva_spiselect and tiva_spistatus must be provided * by board-specific logic. The are implementations of the select and status * methods SPI interface defined by struct spi_ops_s (see include/nuttx/spi/spi.h). - * All othermethods (including tiva_spiinitialize()) are provided by common + * All othermethods (including tiva_spibus_initialize()) are provided by common * logic. To use this common SPI logic on your board: * * 1. Provide tiva_spiselect() and tiva_spistatus() functions in your * board-specific logic. This function will perform chip selection and * status operations using GPIOs in the way your board is configured. - * 2. Add a call to tiva_spiinitialize() in your low level initialization + * 2. Add a call to tiva_spibus_initialize() in your low level initialization * logic - * 3. The handle returned by tiva_spiinitialize() may then be used to bind the + * 3. The handle returned by tiva_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/tm4c123g-launchpad/src/tm4c_ssi.c b/configs/tm4c123g-launchpad/src/tm4c_ssi.c index eedae3e771..c97f26f8aa 100644 --- a/configs/tm4c123g-launchpad/src/tm4c_ssi.c +++ b/configs/tm4c123g-launchpad/src/tm4c_ssi.c @@ -101,15 +101,15 @@ void weak_function tm4c_ssiinitialize(void) * The external functions, tiva_spiselect and tiva_spistatus must be provided * by board-specific logic. The are implementations of the select and status * methods SPI interface defined by struct spi_ops_s (see include/nuttx/spi/spi.h). - * All othermethods (including tiva_spiinitialize()) are provided by common + * All othermethods (including tiva_spibus_initialize()) are provided by common * logic. To use this common SPI logic on your board: * * 1. Provide tiva_spiselect() and tiva_spistatus() functions in your * board-specific logic. This function will perform chip selection and * status operations using GPIOs in the way your board is configured. - * 2. Add a call to tiva_spiinitialize() in your low level initialization + * 2. Add a call to tiva_spibus_initialize() in your low level initialization * logic - * 3. The handle returned by tiva_spiinitialize() may then be used to bind the + * 3. The handle returned by tiva_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).