summaryrefslogtreecommitdiffstats
path: root/discover/platform-powerpc.c
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-04-08 09:45:43 +1000
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-05-05 15:03:53 +1000
commitb9af039e99527159aad905c3395fa974b9621f8e (patch)
tree7d7289700e60c55bcf9636da8119026ad7cf7cc6 /discover/platform-powerpc.c
parent893cfce3e9ea91a68e678829fb8e7e37102e2b41 (diff)
downloadtalos-petitboot-b9af039e99527159aad905c3395fa974b9621f8e.tar.gz
talos-petitboot-b9af039e99527159aad905c3395fa974b9621f8e.zip
lib: Move ipmi_bootdev enum to types.h
Move the ipmi_bootdev definition to types.h to support returning descriptive strings to the system configuration UI. Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'discover/platform-powerpc.c')
-rw-r--r--discover/platform-powerpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/platform-powerpc.c b/discover/platform-powerpc.c
index bbffb60..d777bc0 100644
--- a/discover/platform-powerpc.c
+++ b/discover/platform-powerpc.c
@@ -716,6 +716,7 @@ static void set_ipmi_bootdev(struct config *config, enum ipmi_bootdev bootdev,
case IPMI_BOOTDEV_DISK:
case IPMI_BOOTDEV_NETWORK:
case IPMI_BOOTDEV_CDROM:
+ default:
break;
case IPMI_BOOTDEV_SETUP:
config->autoboot_enabled = false;
OpenPOWER on IntegriCloud