summaryrefslogtreecommitdiff
path: root/src/vboot/vbnv_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot/vbnv_flash.c')
-rw-r--r--src/vboot/vbnv_flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vboot/vbnv_flash.c b/src/vboot/vbnv_flash.c
index 8b60be2b72..717ff23819 100644
--- a/src/vboot/vbnv_flash.c
+++ b/src/vboot/vbnv_flash.c
@@ -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;