diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-02-17 00:31:38 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-03-03 02:40:04 +0000 |
commit | 85eefad90ca714e2c5485fa3ae9b94a96790149f (patch) | |
tree | b7ef344bd50a110707b76c4367c5f3342b388905 /src/config | |
parent | bdd00e872ae8e89b1300451b6c9fd1536049e843 (diff) | |
download | ipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.zip ipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.tar.gz ipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.tar.bz2 |
[bofm] Add support for BOFM under EFI
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.c | 10 | ||||
-rw-r--r-- | src/config/defaults/efi.h | 1 | ||||
-rw-r--r-- | src/config/sideband.h | 14 |
3 files changed, 25 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index b53af42..0c28edf 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -9,6 +9,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <config/general.h> #include <config/console.h> +#include <config/sideband.h> /** @file * @@ -271,3 +272,12 @@ REQUIRE_OBJECT ( embedded ); #ifdef DRIVERS_LINUX REQUIRE_OBJECT ( tap ); #endif + +/* + * Drag in relevant BOFM entry points + */ +#ifdef CONFIG_BOFM +#ifdef BOFM_EFI +REQUIRE_OBJECT ( efi_bofm ); +#endif /* BOFM_EFI */ +#endif /* CONFIG_BOFM */ diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h index 9c3f3ff..693f55a 100644 --- a/src/config/defaults/efi.h +++ b/src/config/defaults/efi.h @@ -16,6 +16,7 @@ #define UMALLOC_EFI #define SMBIOS_EFI #define SANBOOT_NULL +#define BOFM_EFI #define IMAGE_EFI /* EFI image support */ #define IMAGE_SCRIPT /* iPXE script image support */ diff --git a/src/config/sideband.h b/src/config/sideband.h new file mode 100644 index 0000000..5385dd7 --- /dev/null +++ b/src/config/sideband.h @@ -0,0 +1,14 @@ +#ifndef CONFIG_SIDEBAND_H +#define CONFIG_SIDEBAND_H + +/** @file + * + * Sideband access by platform firmware + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +//#define CONFIG_BOFM /* IBM's BladeCenter Open Fabric Manager */ + +#endif /* CONFIG_SIDEBAND_H */ |