diff options
Diffstat (limited to 'discover/platform-powerpc.c')
-rw-r--r-- | discover/platform-powerpc.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c index 7c34939..e5dac9e 100644 --- a/discover/platform-powerpc.c +++ b/discover/platform-powerpc.c @@ -16,6 +16,7 @@ #include <process/process.h> #include "platform.h" +#include "ipmi.h" static const char *partition = "common"; static const char *sysparams_dir = "/sys/firmware/opal/sysparams/"; @@ -582,16 +583,6 @@ static void set_exclusive_devtype(struct config *config, config->boot_priorities[1].priority = -1; } -/* bootdev options that we recognise */ -enum ipmi_bootdev { - IPMI_BOOTDEV_NONE = 0x00, - IPMI_BOOTDEV_NETWORK = 0x01, - IPMI_BOOTDEV_DISK = 0x2, - IPMI_BOOTDEV_SAFE = 0x3, - IPMI_BOOTDEV_CDROM = 0x5, - IPMI_BOOTDEV_SETUP = 0x6, -}; - static int read_bootdev_sysparam(const char *name, uint8_t *val) { uint8_t buf[2]; |