projects
/
petitboot
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
discover/powerpc: Separate ipmi bootdev handling into separate functions
[petitboot]
/
discover
/
ipmi.c
1
2
#include "ipmi.h"
3
4
bool ipmi_bootdev_is_valid(int x)
5
{
6
switch (x) {
7
case IPMI_BOOTDEV_NONE:
8
case IPMI_BOOTDEV_NETWORK:
9
case IPMI_BOOTDEV_DISK:
10
case IPMI_BOOTDEV_SAFE:
11
case IPMI_BOOTDEV_CDROM:
12
case IPMI_BOOTDEV_SETUP:
13
return true;
14
}
15
16
return false;
17
}
18
19
bool ipmi_present(void)
20
{
21
return false;
22
}
23