Skip to contentSkip to conversation

ARM: da850evm: Remove dead SPI Code

PATCH New Adam Ford 2 participants 2 messages Aug 13, 2019 – Aug 21, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: da850evm: Remove dead SPI Code

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

include/configs/da850evm.h +0 -3
index 96c3bba9e4..271c4df12a 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: da850evm: Remove dead SPI Code

include/configs/da850evm.h

Quoted 8 lines · Adam Ford

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

include/configs/da850evm.h +0 -0
index 96c3bba9e4..271c4df12a 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190821/74fa6953/attachment.sig>