diff options
Diffstat (limited to 'src/lib/cbfs.c')
-rw-r--r-- | src/lib/cbfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index bfdab6c2ec..abb95abc3f 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -165,11 +165,13 @@ 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 void *cbfs_load_payload(struct cbfs_media *media, const char *name) { return (struct cbfs_payload *)cbfs_get_file_content( media, name, CBFS_TYPE_PAYLOAD); } +#endif /* Simple buffer */ |