commit | ba89a1ea570cb010c2e929ac11ada3714878ca7d | [log] [tgz] |
---|---|---|
author | Ben Pai <Ben_Pai@wistron.com> | Fri Nov 06 17:00:33 2020 +0800 |
committer | Ben Pai <Ben_Pai@wistron.com> | Fri Nov 06 17:00:39 2020 +0800 |
tree | 2d4e4a7dfc1d0d6e9921780d93961462479a0c7e | |
parent | 44cee319dd113335a7885a1ff63a287dc7706682 [diff] |
Add wistron oem command to switch 250 soc image (1)Switch to backup flash ipmitool raw 0x32 0x02 0x00 (2)Switch to default flash ipmitool raw 0x32 0x02 0x01 Change-Id: Ibe5d0f6869abc54a45f98c90bd9a87bf3d3aa9c8 Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
Netfun: 0x32 Command: 0x01
On the mihawk platform, different riser cards can be supported. In order to be able to distinguish the currently used riser cards, we design an ipmi-oem command to detect riser cards.
If the current riser-F is used, i2c command will get a data. If other riser cards are used, the i2c command will not get the data and will get a negative return value.