From 5569304f1d729d3722cd6b2de78465dda2c73658 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Tue, 13 Aug 2019 08:27:28 -0500 Subject: [PATCH] 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 Signed-off-by: Adam Ford --- include/configs/da850evm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 9bd6da015e..3153ceb2d3 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -114,9 +114,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.25.1