aboutsummaryrefslogtreecommitdiff
path: root/platforms/astbmc/p8dtu.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-12-18 10:52:47 +1030
committerStewart Smith <stewart@linux.ibm.com>2019-01-18 16:36:54 +1100
commit9dcbd1f41d98d9429ea3013ad87fac59bc60394d (patch)
treeef128f536f131ccb4f519f3e85be813ac406e1b3 /platforms/astbmc/p8dtu.c
parent71ce936ffe38f5d0c7f9520dd42f8f62b5273316 (diff)
downloadskiboot-9dcbd1f41d98d9429ea3013ad87fac59bc60394d.zip
skiboot-9dcbd1f41d98d9429ea3013ad87fac59bc60394d.tar.gz
skiboot-9dcbd1f41d98d9429ea3013ad87fac59bc60394d.tar.bz2
p8dtu: Configure BMC graphics
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@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms/astbmc/p8dtu.c')
-rw-r--r--platforms/astbmc/p8dtu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/platforms/astbmc/p8dtu.c b/platforms/astbmc/p8dtu.c
index b25a56d..69500ea 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,
};