drivers/spi/spi_sdcard.c: Fix set but unused variable
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ib8ee07aefdb32b8efe719f484e242b6129596842 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75355 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
21594fd161
commit
e19d33bf72
|
@ -7,15 +7,10 @@
|
|||
#include <commonlib/helpers.h>
|
||||
#include <console/console.h>
|
||||
|
||||
//#define SPI_SDCARD_DEBUG
|
||||
#define SPI_SDCARD_DEBUG 0
|
||||
|
||||
#ifdef SPI_SDCARD_DEBUG
|
||||
#define dprintk(fmt, args...) \
|
||||
printk(BIOS_DEBUG, fmt, ##args)
|
||||
#else
|
||||
#define dprintk(fmt, args...) \
|
||||
do {} while (0)
|
||||
#endif
|
||||
do { if (SPI_SDCARD_DEBUG) { printk(BIOS_DEBUG, fmt, ##args); }} while (0)
|
||||
|
||||
#define SDCARD_TYPE_SDSC 1
|
||||
#define SDCARD_TYPE_SDHC 2
|
||||
|
|
Loading…
Reference in New Issue