]> git.ozlabs.org Git - petitboot/commit
discover: Set OS Boot sensor with 0xa9
authorJoel Stanley <joel@jms.id.au>
Thu, 30 Apr 2015 06:02:03 +0000 (16:02 +1000)
committerSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Thu, 30 Apr 2015 06:23:20 +0000 (16:23 +1000)
commit11996807cd4e79e35742aa4c4e19c6500141dfcc
treec87966770e0b78287ce15a96571f3ce807b434b4
parent2598810aea74bf2f614d9e7b7cbb7c086a1fdc95
discover: Set OS Boot sensor with 0xa9

If we don't set all the things, we only get an assertion event, without
the state being asserted.

Despite the IPMI spec suggesting we only needed to set 0x10, aka the
assertion bits, testing reveals we want to set all of the things to
cause the BMC to assert the state.

Tested-by: Nick Bofferding <bofferdn@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
discover/platform-powerpc.c