UPSTREAM: Kconfig: rename BOOT_MEDIA_SPI_BUS to BOOT_DEVICE_SPI_FLASH_BUS
Provide a default value of 0 in drivers/spi as there weren't default values aside from specific mainboards and arch/x86. Remove any default 0 values while noting to keep the option's default to 0. BUG=chrome-os-partner:56151 BRANCH=None TEST=None Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/16192 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: If9ef585e011a46b5cd152a03e41d545b36355a61 Reviewed-on: https://chromium-review.googlesource.com/373029 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
8500626ff3
commit
bc8d47ebd4
37 changed files with 36 additions and 63 deletions
|
|
@ -136,7 +136,8 @@ static int vbnv_flash_probe(void)
|
|||
struct vbnv_flash_ctx *ctx = car_get_var_ptr(&vbnv_flash);
|
||||
|
||||
if (!ctx->flash) {
|
||||
ctx->flash = spi_flash_probe(CONFIG_BOOT_MEDIA_SPI_BUS, 0);
|
||||
ctx->flash =
|
||||
spi_flash_probe(CONFIG_BOOT_DEVICE_SPI_FLASH_BUS, 0);
|
||||
if (!ctx->flash) {
|
||||
printk(BIOS_ERR, "failed to probe spi flash\n");
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue