config: cadence_spi: Remove defines read from DT
authorJason Rush <jarush@gmail.com>
Tue, 23 Jan 2018 23:13:11 +0000 (17:13 -0600)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:37:50 +0000 (12:07 +0530)
Cleanup unused #define values that are read from the DT.

Tested on TI K2G platform:
Tested-by: Vignesh R <vigneshr@ti.com>
Tested on a socfpga-cyclonev board:
Tested-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Signed-off-by: Jason Rush <jarush@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Acked-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Acked-by: Marek Vasut <marex@denx.de>
include/configs/k2g_evm.h
include/configs/socfpga_common.h
include/configs/stv0991.h

index df81c09d8636e95e10e8324d5c972b01b972ca9e..535e7124fc8023b9027b78e146d64975e95a7f7c 100644 (file)
@@ -93,7 +93,6 @@
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_CADENCE_QSPI
 #define CONFIG_CQSPI_REF_CLK 384000000
-#define CONFIG_CQSPI_DECODER 0x0
 #define CONFIG_BOUNCE_BUFFER
 #endif
 
index 66e7c4fc8b2e52589c4116740b3943c40cfa1447..ec8bb500504a260a405f492fc6ffde0313b5ee75 100644 (file)
@@ -184,7 +184,6 @@ unsigned int cm_get_l4_sp_clk_hz(void);
 unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_CQSPI_REF_CLK           cm_get_qspi_controller_clk_hz()
 #endif
-#define CONFIG_CQSPI_DECODER           0
 #define CONFIG_BOUNCE_BUFFER
 
 /*
index c99fb676cbf4323f516f33f68fbf3c290302a389..fd96979bf89798a6b6bff2d57d18d9cdc89df8b6 100644 (file)
@@ -63,7 +63,6 @@
 + * QSPI support
 + */
 #ifdef CONFIG_OF_CONTROL               /* QSPI is controlled via DT */
-#define CONFIG_CQSPI_DECODER           0
 #define CONFIG_CQSPI_REF_CLK           ((30/4)/2)*1000*1000
 #define CONFIG_BOUNCE_BUFFER