]> git.sur5r.net Git - u-boot/commit
spi: Move freescale-specific code into a private header
authorSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2016 00:20:10 +0000 (18:20 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Oct 2016 19:07:35 +0000 (15:07 -0400)
commitea022a3775a723a90ee91dfa100ac95a5379e93d
tree972265801e6c27bc402680afe4571b3234bbbe05
parent139db7af4eff4eabdcc104c5c5687ab9fe64ca9a
spi: Move freescale-specific code into a private header

At present there are two SPI functions only used by freescale which are
defined in the spi_flash.h header. One function name matches an existing
generic SPL function.

Move these into a private header to avoid confusion.

Arcturus looks like it does not actually support SPI, so drop the SPI code
from that board.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
12 files changed:
board/Arcturus/ucp1020/spl.c
board/freescale/common/spl.h [new file with mode: 0644]
board/freescale/p1010rdb/spl.c
board/freescale/p1022ds/spl.c
board/freescale/p1_p2_rdb_pc/spl.c
board/freescale/t102xqds/spl.c
board/freescale/t102xrdb/spl.c
board/freescale/t104xrdb/spl.c
board/freescale/t208xqds/spl.c
board/freescale/t208xrdb/spl.c
drivers/mtd/spi/fsl_espi_spl.c
include/spi_flash.h