diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/cbfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index d2a4b84656..5bbbe6a2ad 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -307,6 +307,10 @@ void cbfs_preload(const char *name) if (!CONFIG(CBFS_PRELOAD)) dead_code(); + /* We don't want to cross the vboot boundary */ + if (ENV_ROMSTAGE && CONFIG(VBOOT_STARTS_IN_ROMSTAGE)) + return; + DEBUG("%s(name='%s')\n", __func__, name); if (_cbfs_boot_lookup(name, force_ro, &mdata, &rdev)) |