]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: da850evm: Remove dead SPI Code
authorAdam Ford <aford173@gmail.com>
Tue, 13 Aug 2019 13:27:28 +0000 (08:27 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 20 Aug 2019 15:46:38 +0000 (11:46 -0400)
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>
include/configs/da850evm.h

index 9bd6da015e56d992e43c3c066495cf40efc42837..3153ceb2d3858c45ba07c185617621660974d45d 100644 (file)
 #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