summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2011-02-17 01:31:38 +0100
committerMichael Brown2011-03-03 03:40:04 +0100
commit85eefad90ca714e2c5485fa3ae9b94a96790149f (patch)
treeb7ef344bd50a110707b76c4367c5f3342b388905 /src/config
parent[bofm] Add offline BOFM test facility (diff)
downloadipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.tar.gz
ipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.tar.xz
ipxe-85eefad90ca714e2c5485fa3ae9b94a96790149f.zip
[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.c10
-rw-r--r--src/config/defaults/efi.h1
-rw-r--r--src/config/sideband.h14
3 files changed, 25 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index b53af42d..0c28edf0 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 9c3f3ff3..693f55ad 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 00000000..5385dd72
--- /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 */