mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Integrating new MMC/SD design
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1827 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -59,23 +59,27 @@
|
|||||||
* Definitions
|
* Definitions
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/* Enables debug output from this file (needs CONFIG_DEBUG with CONFIG_DEBUG_VERBOSE
|
/* Enables debug output from this file (needs CONFIG_DEBUG too) */
|
||||||
* too)
|
|
||||||
*/
|
|
||||||
|
|
||||||
#undef SSI_DEBUG /* Define to enable debug */
|
#undef SSI_DEBUG /* Define to enable debug */
|
||||||
|
#undef SSI_VERBOSE /* Define to enable verbose debug */
|
||||||
|
|
||||||
#ifdef SSI_DEBUG
|
#ifdef SSI_DEBUG
|
||||||
# define ssidbg lldbg
|
# define ssidbg lldbg
|
||||||
# define ssivdbg llvdbg
|
# ifdef SSI_VERBOSE
|
||||||
|
# define ssivdbg lldbg
|
||||||
|
# else
|
||||||
|
# define ssivdbg(x...)
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
|
# undef SSI_VERBOSE
|
||||||
# define ssidbg(x...)
|
# define ssidbg(x...)
|
||||||
# define ssivdbg(x...)
|
# define ssivdbg(x...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dump GPIO registers */
|
/* Dump GPIO registers */
|
||||||
|
|
||||||
#ifdef SSI_DEBUG
|
#ifdef SSI_VERBOSE
|
||||||
# define ssi_dumpgpio(m) lm3s_dumpgpio(SDCCS_GPIO, m)
|
# define ssi_dumpgpio(m) lm3s_dumpgpio(SDCCS_GPIO, m)
|
||||||
#else
|
#else
|
||||||
# define ssi_dumpgpio(m)
|
# define ssi_dumpgpio(m)
|
||||||
|
|||||||
Reference in New Issue
Block a user