[U-Boot] [PATCH 015/080] spi: Remove obsolete spi_base_setup_slave_fdt

Jagan Teki jagannadh.teki at gmail.com
Mon Oct 9 09:32:17 UTC 2017


On Fri, Sep 29, 2017 at 6:21 PM, 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>

Reviewed-by: Jagan Teki <jagan at openedev.com>

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list