cbfs: fix load_stage_from_cbfs() for CONFIG_RELOCATABLE_RAMSTAGE
The load_stage_from_cbfs() when CONFIG_RELOCATABLE_RAMSTAGE is selected is incorrect in that it hard coded the wrong stage name. Instead it should honor the name past in instead of using a predetermined (and wrong!) name. BUG=chrome-os-partner:22866 BRANCH=None TEST=Built booted. Noted fallback path works. Change-Id: I61654313d15167efe50d5e4ff24fb06eab16f389 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174391 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
703722e812
commit
20ae9dee73
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ static void *load_stage_from_cbfs(struct cbfs_media *media, const char *name,
|
|||
{
|
||||
struct rmod_stage_load rmod_ram = {
|
||||
.cbmem_id = CBMEM_ID_RAMSTAGE,
|
||||
.name = CONFIG_CBFS_PREFIX "/vboot",
|
||||
.name = name,
|
||||
};
|
||||
|
||||
if (rmodule_stage_load_from_cbfs(&rmod_ram)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue