[U-Boot] [PATCH v7 5/6] spi: cadence_qspi: remove unused macro

Vikas Manocha vikas.manocha at st.com
Thu Sep 24 02:19:35 CEST 2015


This macro is not being used anywhere in the code.

Signed-off-by: Vikas Manocha <vikas.manocha at st.com>
---

Changes in v7: new.

 drivers/spi/cadence_qspi_apb.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c
index 2638f00..c0116e3 100644
--- a/drivers/spi/cadence_qspi_apb.c
+++ b/drivers/spi/cadence_qspi_apb.c
@@ -48,9 +48,6 @@
 #define CQSPI_DUMMY_CLKS_PER_BYTE		(8)
 #define CQSPI_DUMMY_BYTES_MAX			(4)
 
-
-#define CQSPI_REG_SRAM_FILL_THRESHOLD	\
-	((CQSPI_REG_SRAM_SIZE_WORD / 2) * CQSPI_FIFO_WIDTH)
 /****************************************************************************
  * Controller's configuration and status register (offset from QSPI_BASE)
  ****************************************************************************/
-- 
1.7.9.5



More information about the U-Boot mailing list