diff options
author | leoluo <leoluo@supermicro.com> | 2016-11-11 12:06:30 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-11 13:34:07 +1100 |
commit | 4e4db1a8d9aa2369cefab7d70ef08dc9356ef514 (patch) | |
tree | d5dae7b53f08a1c9ccda2b8f568f9e8086931e8c /platforms | |
parent | bffeae14f0a068472bb9b8a9f2eba4401fed8b1c (diff) | |
download | skiboot-4e4db1a8d9aa2369cefab7d70ef08dc9356ef514.zip skiboot-4e4db1a8d9aa2369cefab7d70ef08dc9356ef514.tar.gz skiboot-4e4db1a8d9aa2369cefab7d70ef08dc9356ef514.tar.bz2 |
p8dtu: change OPAL esel command to IBM 0x3a
Signed-off-by: Jim Yuan <jim.yuan@supermicro.com>
[stewart@linux.vnet.ibm.com: Adapted to new bmc_platform functionality]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/p8dtu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platforms/astbmc/p8dtu.c b/platforms/astbmc/p8dtu.c index 6788568..ac7a191 100644 --- a/platforms/astbmc/p8dtu.c +++ b/platforms/astbmc/p8dtu.c @@ -227,10 +227,17 @@ static bool p8dtu2u_probe(void) return true; } +const struct bmc_platform astbmc_smc = { + .name = "SMC", + .ipmi_oem_partial_add_esel = IPMI_CODE(0x3a, 0xf0), + .ipmi_oem_pnor_access_status = IPMI_CODE(0x3a, 0x07), +}; + DECLARE_PLATFORM(p8dtu1u) = { .name = "p8dtu1u", .probe = p8dtu1u_probe, + .bmc = &astbmc_smc, .init = astbmc_init, .pci_get_slot_info = slot_table_get_slot_info, .external_irq = astbmc_ext_irq_serirq_cpld, @@ -246,6 +253,7 @@ DECLARE_PLATFORM(p8dtu1u) = { DECLARE_PLATFORM(p8dtu2u) = { .name = "p8dtu2u", .probe = p8dtu2u_probe, + .bmc = &astbmc_smc, .init = astbmc_init, .pci_get_slot_info = slot_table_get_slot_info, .external_irq = astbmc_ext_irq_serirq_cpld, |