u-boot/arch/arm/mach-davinci
Fabien Parent c0fa385c9b davinci: spl: use bootcfg to select boot device
Right now the SPL is trying to load u-boot based on defines, i.e. one
has to define CONFIG_SPL_NAND_SIMPLE to boot from NAND,
or CONFIG_SPL_SPI_LOAD to boot from SPI FLASH, etc...
This prevent us from having a single SPL image that is able to boot from
all media, and one need to build an image for each medium. This
commit is replacing the #ifdef that select the boot medium by reading
the value of the boot pins (via the BOOTCFG register).

Now a single SPL image will be able to read from the boot pin to know
which device should be used to load u-boot.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-01-14 16:47:16 -05:00
..
include/mach davinci: spl: use bootcfg to select boot device 2017-01-14 16:47:16 -05:00
config.mk ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
cpu.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
da830_pinmux.c mmc: move more driver config options to Kconfig 2017-01-11 19:40:15 +09:00
da850_lowlevel.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
da850_pinmux.c arm: Add support for LEGO MINDSTORMS EV3 2016-03-14 19:18:40 -04:00
dm355.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
dm365.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
dm365_lowlevel.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
dm644x.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
dm646x.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
dp83848.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
et1011c.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
Kconfig davinci: omapl138_lcdk: configure ddr2 2016-12-03 13:21:14 -05:00
ksz8873.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
lowlevel_init.S ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
lxt972.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
Makefile ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
misc.c net: cosmetic: Name ethaddr variables consistently 2015-04-18 11:11:32 -06:00
pinmux.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
psc.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
reset.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00
spl.c davinci: spl: use bootcfg to select boot device 2017-01-14 16:47:16 -05:00
timer.c ARM: davinci: move SoC sources to mach-davinci 2015-02-21 08:23:51 -05:00