[bofm] Add support for BOFM under EFI

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-02-17 00:31:38 +00:00
parent bdd00e872a
commit 85eefad90c
4 changed files with 347 additions and 0 deletions

View File

@@ -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 */

View File

@@ -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 */

14
src/config/sideband.h Normal file
View File

@@ -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 */