[U-Boot] [PATCH] ARM: da850evm: Remove dead SPI Code

Adam Ford aford173 at gmail.com
Tue Aug 13 13:27:28 UTC 2019


With SPL now supporting DM_SPI, the need for compiler directives
and hard-coded addresses is obsolete.  This patch removes some
dead legacy code defining the SPI base address

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 96c3bba9e4..271c4df12a 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -109,9 +109,6 @@
 #define CONFIG_SYS_NS16550_CLK	clk_get(DAVINCI_UART2_CLKID)
 
 #define CONFIG_SYS_SPI_CLK		clk_get(DAVINCI_SPI1_CLKID)
-#ifdef CONFIG_SPL_BUILD
-#define CONFIG_SYS_SPI_BASE		DAVINCI_SPI1_BASE
-#endif
 
 #ifdef CONFIG_USE_SPIFLASH
 #define CONFIG_SYS_SPI_U_BOOT_OFFS	0x8000
-- 
2.17.1



More information about the U-Boot mailing list