diff mbox series

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

Message ID 20190813132728.18988-1-aford173@gmail.com
State Accepted
Commit 5569304f1d729d3722cd6b2de78465dda2c73658
Delegated to: Tom Rini
Headers show
Series [U-Boot] ARM: da850evm: Remove dead SPI Code | expand

Commit Message

Adam Ford Aug. 13, 2019, 1:27 p.m. UTC
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@gmail.com>

Comments

Tom Rini Aug. 21, 2019, 12:43 p.m. UTC | #1
On Tue, Aug 13, 2019 at 08:27:28AM -0500, Adam Ford wrote:

> 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@gmail.com>
> 
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index 96c3bba9e4..271c4df12a 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

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