ARM: i.MX6: boot: Return BOOTSOURCE_SPI_NOR, not BOOTSOURCE_SPI
We use BOOTSOURCE_SPI to denote, among other things, QSPI on i.MX7 and
VFxxx, whereas on i.MX6 it is used to mean SPI-NOR. To make functions
like imx_xload() work consistently across various i.MX platforms use
already existent BOOTSOURCE_SPI_NOR constant to mean booting from
SPI-NOR on i.MX6 as well.

Replace all in-tree code that relying on the old value as well.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 23da05b commit 7802c6f891b77536251dca7e41869c7ea3e12dd4
@Andrey Smirnov Andrey Smirnov authored on 16 Apr 2018
Sascha Hauer committed on 17 Apr 2018
Showing 6 changed files
View
arch/arm/boards/datamodul-edm-qmx6/board.c
View
arch/arm/boards/dfi-fs700-m60/board.c
View
arch/arm/boards/phytec-som-imx6/board.c
View
arch/arm/boards/zii-imx6q-rdu2/lowlevel.c
View
arch/arm/mach-imx/boot.c
View
arch/arm/mach-imx/xload.c