Centralize definitions associated with CONFIG_DEBUG_SPI

This commit is contained in:
Gregory Nutt
2016-06-15 10:41:13 -06:00
parent 0e180c3ad8
commit ba03134bed
104 changed files with 335 additions and 1835 deletions
-13
View File
@@ -60,19 +60,6 @@
************************************************************************************/
/* Configuration ********************************************************************/
/* Debug ****************************************************************************/
/* Check if SPI debug is enabled */
#ifdef CONFIG_DEBUG_SPI
# define spierr llerr
# define spiwarn llwarn
# define spiinfo llinfo
#else
# define spierr(x...)
# define spiwarn(x...)
# define spiinfo(x...)
#endif
/* Define the FLASH SIZE in bytes */
#ifdef CONFIG_SIM_SPIFLASH_1M