diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-05-26 14:00:49 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-05-26 14:00:49 +0000 |
commit | d1185bfd358fa3d72d94255961926162eff9f609 (patch) | |
tree | 2d7ab877d4899526ce195b5f24a0f85e8faf04cc /src/include | |
parent | 58bb497f89aecd57f3e6b66e4b1e35f4af22225b (diff) | |
download | coreboot-d1185bfd358fa3d72d94255961926162eff9f609.tar.xz |
Attached patch moves the CBFS payload loader to selfboot.c as it's
the only selfboot user in CBFS.
This way, CBFS can be used without importing selfboot.c, as long as
no payloads are loaded.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4304 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cbfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbfs.h b/src/include/cbfs.h index adc3f5ab64..b11c3b316d 100644 --- a/src/include/cbfs.h +++ b/src/include/cbfs.h @@ -166,5 +166,7 @@ void * cbfs_get_file(const char *name); void *cbfs_load_optionrom(u16 vendor, u16 device, void * dest); int run_address(void *f); +struct cbfs_stage *cbfs_find_file(const char *name, int type); + #endif |