From: Adam Ford Date: Tue, 13 Aug 2019 08:27:28 -0500 Subject: [U-Boot] [PATCH] ARM: da850evm: Remove dead SPI Code Message-ID: <20190813132728.18988-1-aford173@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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