[U-Boot] [PATCH 015/080] spi: Remove obsolete spi_base_setup_slave_fdt
Simon Glass
sjg at chromium.org
Mon Oct 9 04:46:40 UTC 2017
On 29 September 2017 at 06:51, Mario Six <mario.six at gdsys.cc> wrote:
> 0efc024 ("spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT
> node") added a helper function spi_base_setup_slave_fdt to to set up a
> SPI slave from a given FDT blob. The only user was the exynos SPI
> driver.
>
> But commit 73186c9 ("dm: exynos: Convert SPI to driver model") removed
> the use of this function, hence rendering it obsolete.
>
> Remove this function, as well as the CONFIG_OF_SPI option, which guarded
> only this function.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
> ---
> drivers/spi/spi.c | 20 --------------------
> include/spi.h | 14 --------------
> scripts/config_whitelist.txt | 1 -
> 3 files changed, 35 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list