Rename lm_spi.. to lm_ssi..
This commit is contained in:
parent
48a7a4eff6
commit
1f86cf1c55
@ -77,14 +77,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the Eagle100 board.
|
* Called to configure SPI chip select GPIO pins for the Eagle100 board.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void);
|
void weak_function lm_ssidev_initialize(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_H */
|
#endif /* __CONFIGS_EAGLE100_SRC_EAGLE100_H */
|
||||||
|
@ -72,15 +72,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The Eagle100 microSD CS is on SSI0 */
|
/* The Eagle100 microSD CS is on SSI0 */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
||||||
if (lm_spidev_initialize)
|
if (lm_ssidev_initialize)
|
||||||
{
|
{
|
||||||
lm_spidev_initialize();
|
lm_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -90,20 +90,20 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the Eagle100 board.
|
* Called to configure SPI chip select GPIO pins for the Eagle100 board.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void)
|
void weak_function lm_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the SPI-based microSD CS GPIO */
|
/* Configure the SPI-based microSD CS GPIO */
|
||||||
|
|
||||||
ssi_dumpgpio("lm_spidev_initialize() before tiva_configgpio()");
|
ssi_dumpgpio("lm_ssidev_initialize() before tiva_configgpio()");
|
||||||
tiva_configgpio(SDCCS_GPIO);
|
tiva_configgpio(SDCCS_GPIO);
|
||||||
ssi_dumpgpio("lm_spidev_initialize() after tiva_configgpio()");
|
ssi_dumpgpio("lm_ssidev_initialize() after tiva_configgpio()");
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -98,14 +98,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
extern void weak_function lm_spidev_initialize(void);
|
extern void weak_function lm_ssidev_initialize(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_EKK_LM3S9B96_SRC_EKKLM3S9B96_H */
|
#endif /* __CONFIGS_EKK_LM3S9B96_SRC_EKKLM3S9B96_H */
|
||||||
|
@ -74,13 +74,13 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
#if defined(CONFIG_TIVA_SSI0) || defined(CONFIG_TIVA_SSI1)
|
||||||
if (lm_spidev_initialize)
|
if (lm_ssidev_initialize)
|
||||||
{
|
{
|
||||||
lm_spidev_initialize();
|
lm_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -95,19 +95,19 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure chip select GPIO pins for the LM3S9B96 Eval board.
|
* Called to configure chip select GPIO pins for the LM3S9B96 Eval board.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void)
|
void weak_function lm_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the CS GPIO */
|
/* Configure the CS GPIO */
|
||||||
#if 0
|
#if 0
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Entry");
|
ssi_dumpgpio("lm_ssidev_initialize() Entry");
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Exit");
|
ssi_dumpgpio("lm_ssidev_initialize() Exit");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,14 +110,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the MDL-S2E.
|
* Called to configure SPI chip select GPIO pins for the MDL-S2E.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void);
|
void weak_function lm_ssidev_initialize(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_LM3S6432_S2E_SRC_LM3S6432S2E_H */
|
#endif /* __CONFIGS_LM3S6432_S2E_SRC_LM3S6432S2E_H */
|
||||||
|
@ -79,13 +79,13 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0)
|
#if defined(CONFIG_TIVA_SSI0)
|
||||||
if (lm_spidev_initialize)
|
if (lm_ssidev_initialize)
|
||||||
{
|
{
|
||||||
lm_spidev_initialize();
|
lm_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -92,20 +92,20 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the MDL-S2E.
|
* Called to configure SPI chip select GPIO pins for the MDL-S2E.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void)
|
void weak_function lm_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the SPI CS GPIO */
|
/* Configure the SPI CS GPIO */
|
||||||
|
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Entry)");
|
ssi_dumpgpio("lm_ssidev_initialize() Entry)");
|
||||||
tiva_configgpio(SSICS_GPIO);
|
tiva_configgpio(SSICS_GPIO);
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Exit");
|
ssi_dumpgpio("lm_ssidev_initialize() Exit");
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -119,14 +119,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void);
|
void weak_function lm_ssidev_initialize(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_LM3S6965_EK_SRC_LM3S6965EK_H */
|
#endif /* __CONFIGS_LM3S6965_EK_SRC_LM3S6965EK_H */
|
||||||
|
@ -73,15 +73,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The LM3S6965 Eval Kit microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
/* The LM3S6965 Eval Kit microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
||||||
if (lm_spidev_initialize)
|
if (lm_ssidev_initialize)
|
||||||
{
|
{
|
||||||
lm_spidev_initialize();
|
lm_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -94,23 +94,23 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tiva_ssidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
* Called to configure SPI chip select GPIO pins for the LM3S6965 Eval Kit.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void)
|
void weak_function lm_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the SPI-based microSD CS GPIO */
|
/* Configure the SPI-based microSD CS GPIO */
|
||||||
|
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Entry)");
|
ssi_dumpgpio("lm_ssidev_initialize() Entry)");
|
||||||
tiva_configgpio(SDCCS_GPIO);
|
tiva_configgpio(SDCCS_GPIO);
|
||||||
#ifdef CONFIG_NX_LCDDRIVER
|
#ifdef CONFIG_NX_LCDDRIVER
|
||||||
tiva_configgpio(OLEDCS_GPIO);
|
tiva_configgpio(OLEDCS_GPIO);
|
||||||
#endif
|
#endif
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Exit");
|
ssi_dumpgpio("lm_ssidev_initialize() Exit");
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -119,14 +119,14 @@
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: lm_spidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S8962 Eval Kit.
|
* Called to configure SPI chip select GPIO pins for the LM3S8962 Eval Kit.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void);
|
void weak_function lm_ssidev_initialize(void);
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __CONFIGS_LM3S8962_EK_SRC_LM3S8962EK_H */
|
#endif /* __CONFIGS_LM3S8962_EK_SRC_LM3S8962EK_H */
|
||||||
|
@ -73,15 +73,15 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The LM3S8962 Eval Kit microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
/* The LM3S8962 Eval Kit microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
||||||
|
|
||||||
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
#if defined(CONFIG_TIVA_SSI0) /* || defined(CONFIG_TIVA_SSI1) */
|
||||||
if (lm_spidev_initialize)
|
if (lm_ssidev_initialize)
|
||||||
{
|
{
|
||||||
lm_spidev_initialize();
|
lm_ssidev_initialize();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -94,23 +94,23 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Name: tiva_ssidev_initialize
|
* Name: lm_ssidev_initialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Called to configure SPI chip select GPIO pins for the LM3S8962 Eval Kit.
|
* Called to configure SPI chip select GPIO pins for the LM3S8962 Eval Kit.
|
||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
void weak_function lm_spidev_initialize(void)
|
void weak_function lm_ssidev_initialize(void)
|
||||||
{
|
{
|
||||||
/* Configure the SPI-based microSD CS GPIO */
|
/* Configure the SPI-based microSD CS GPIO */
|
||||||
|
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Entry)");
|
ssi_dumpgpio("lm_ssidev_initialize() Entry)");
|
||||||
tiva_configgpio(SDCCS_GPIO);
|
tiva_configgpio(SDCCS_GPIO);
|
||||||
#ifdef CONFIG_NX_LCDDRIVER
|
#ifdef CONFIG_NX_LCDDRIVER
|
||||||
tiva_configgpio(OLEDCS_GPIO);
|
tiva_configgpio(OLEDCS_GPIO);
|
||||||
#endif
|
#endif
|
||||||
ssi_dumpgpio("lm_spidev_initialize() Exit");
|
ssi_dumpgpio("lm_ssidev_initialize() Exit");
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
void tiva_boardinitialize(void)
|
void tiva_boardinitialize(void)
|
||||||
{
|
{
|
||||||
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
/* Configure SPI chip selects if 1) SSI is not disabled, and 2) the weak function
|
||||||
* lm_spidev_initialize() has been brought into the link.
|
* lm_ssidev_initialize() has been brought into the link.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The LM4F LaunchPad microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
/* The LM4F LaunchPad microSD CS and OLED are on SSI0 (Duh! There is no SSI1) */
|
||||||
|
Loading…
Reference in New Issue
Block a user