Make cbfs.c bootblock-safe on ARM again
Signed-off-by: Stefan Reinauer <reinauer@google.com> BRANCH=none TEST=none BUG=none Change-Id: I2e0a7bf125dff766286e8feee330c8fa44b5ca00 Reviewed-on: https://chromium-review.googlesource.com/167544 Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
parent
7083b6b843
commit
986eac1114
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ void *cbfs_load_optionrom(struct cbfs_media *media, uint16_t vendor,
|
|||
return dest;
|
||||
}
|
||||
|
||||
#if CONFIG_RELOCATABLE_RAMSTAGE && defined(__PRE_RAM__)
|
||||
#if CONFIG_RELOCATABLE_RAMSTAGE && defined(__PRE_RAM__) && !defined(__BOOT_BLOCK__)
|
||||
|
||||
#include <rmodule.h>
|
||||
#include <romstage_handoff.h>
|
||||
|
|
@ -305,7 +305,7 @@ int cbfs_execute_stage(struct cbfs_media *media, const char *name)
|
|||
return run_address((void *)(uintptr_t)ntohll(stage->entry));
|
||||
}
|
||||
|
||||
#if !CONFIG_ALT_CBFS_LOAD_PAYLOAD
|
||||
#if !CONFIG_ALT_CBFS_LOAD_PAYLOAD && !defined(__BOOT_BLOCK__)
|
||||
void *cbfs_load_payload(struct cbfs_media *media, const char *name)
|
||||
{
|
||||
struct cbfs_payload *payload;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue