summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
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 b53af42db..0c28edf05 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 9c3f3ff3e..693f55ad9 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 000000000..5385dd721
--- /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 */