]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-falcon: drop check of boot select
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Aug 2017 22:18:10 +0000 (00:18 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 1 Sep 2017 10:33:22 +0000 (11:33 +0100)
commit8a5471dbd657973d2f3021625ff8fc660464d28e
tree6cc38e05602ac701031e7a0e47f51334d8411d07
parent9238ecfbaaeffcf7977c2776af9c57c0a4a878ed
spi: spi-falcon: drop check of boot select

Do not check which flash type the SoC was booted from before
using this driver. Assume that the device tree is correct and use this
driver when it was added to device tree. This also removes a build
dependency to the SoC code.

All device trees I am aware of only have one correct flash device entry
in it. The device tree is anyway bundled with the kernel in all systems
using device tree I know of.

The boot mode can be specified with some pin straps and will select the
flash type the rom code will boot from. One SPI, NOR or NAND flash chip
can be connect to the EBU and used to load the first stage boot loader
from.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-falcon.c