coreboot/src
David Hendricks 371c6c14d8 elog: Probe for SPI flash on bus indicated by Kconfig variable
This replaces a hard-coded bus number of 0 with a Kconfig variable,
CONFIG_BOOT_MEDIA_SPI_BUS. This removes an assumption made for x86
where this value is always 0 and makes it easy to add support for
other platforms where the bus number for the backing SPI flash is
more arbitrary.

BUG=none
BRANCH=none
TEST=tested on Nyan (bus=4) and Link (bus=0)
Signed-off-by: David Hendricks <dhendrix@chromium.org>

Change-Id: I1e878a1628af7f4ccc2f39a70b2190192767e536
Reviewed-on: https://chromium-review.googlesource.com/194854
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
2014-04-16 08:35:54 +00:00
..
arch console: Make more consoles (including cbmem) work in the bootblock. 2014-04-10 06:05:06 +00:00
console Copy u-boot sources as is and modify the tree to still build 2014-04-11 00:04:09 +00:00
cpu x86: Set BOOT_MEDIA_SPI_BUS 2014-04-15 05:41:46 +00:00
device Remove stale char[] initialization causing unaligned memory access 2014-03-14 03:44:47 +00:00
drivers elog: Probe for SPI flash on bus indicated by Kconfig variable 2014-04-16 08:35:54 +00:00
ec i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
include i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
lib console: Make more consoles (including cbmem) work in the bootblock. 2014-04-10 06:05:06 +00:00
mainboard tegra124: Setup clock PLLD by approximating display panel pixel clock. 2014-04-15 05:42:20 +00:00
northbridge spi: Remove unused parameters from spi_flash_probe and setup_spi_slave. 2014-04-01 23:21:22 +00:00
soc tegra124: Setup clock PLLD by approximating display panel pixel clock. 2014-04-15 05:42:20 +00:00
southbridge spi: Change spi_xfer to work in units of bytes instead of bits. 2014-04-02 04:25:16 +00:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2013-12-20 00:37:38 +00:00
vendorcode tegra124: Skip display init when vboot says we don't need it. 2014-04-03 22:41:54 +00:00
Kconfig armv8: add support for armv8 cpu 2014-01-07 02:48:47 +00:00