Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes: >> @@ -37,6 +38,9 @@ >> #define CMD_AMI_POWER 0x04 >> #define CMD_AMI_PNOR_ACCESS 0x07 >> >> +#define SOFT_OFF 0x00 >> +#define SOFT_REBOOT 0x01 > > Better define these macros in include/opal.h as its part of OPAL API? Yes, that would be ideal.