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 <[email protected]> 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 _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

