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:
committed by
Felix Held
parent
21594fd161
commit
e19d33bf72
@@ -7,15 +7,10 @@
|
|||||||
#include <commonlib/helpers.h>
|
#include <commonlib/helpers.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
|
||||||
//#define SPI_SDCARD_DEBUG
|
#define SPI_SDCARD_DEBUG 0
|
||||||
|
|
||||||
#ifdef SPI_SDCARD_DEBUG
|
|
||||||
#define dprintk(fmt, args...) \
|
#define dprintk(fmt, args...) \
|
||||||
printk(BIOS_DEBUG, fmt, ##args)
|
do { if (SPI_SDCARD_DEBUG) { printk(BIOS_DEBUG, fmt, ##args); }} while (0)
|
||||||
#else
|
|
||||||
#define dprintk(fmt, args...) \
|
|
||||||
do {} while (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SDCARD_TYPE_SDSC 1
|
#define SDCARD_TYPE_SDSC 1
|
||||||
#define SDCARD_TYPE_SDHC 2
|
#define SDCARD_TYPE_SDHC 2
|
||||||
|
Reference in New Issue
Block a user