[Skiboot] [PATCH 3/3] p8dtu: Configure BMC graphics
Andrew Jeffery
andrew at aj.id.au
Tue Dec 18 11:22:47 AEDT 2018
We can no-longer read the values from the BMC in the way we have in the
past. Values were provided by Eric Chen of SMC.
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
platforms/astbmc/p8dtu.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/platforms/astbmc/p8dtu.c b/platforms/astbmc/p8dtu.c
index b25a56d9c664..69500ea2bcee 100644
--- a/platforms/astbmc/p8dtu.c
+++ b/platforms/astbmc/p8dtu.c
@@ -233,9 +233,17 @@ static const struct bmc_sw_config bmc_sw_smc = {
.ipmi_oem_hiomap_cmd = IPMI_CODE(0x3a, 0x5a),
};
+/* Provided by Eric Chen (SMC) */
+const struct bmc_hw_config p8dtu_bmc_hw = {
+ .scu_revision_id = 0x02010303,
+ .mcr_configuration = 0x00000577,
+ .mcr_scu_mpll = 0x000050c0,
+ .mcr_scu_strap = 0x00000000,
+};
+
static const struct bmc_platform bmc_plat_ast2400_smc = {
.name = "SMC",
- .hw = &bmc_hw_ast2400,
+ .hw = &p8dtu_bmc_hw,
.sw = &bmc_sw_smc,
};
--
2.19.1
More information about the Skiboot
mailing list