aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-10-31 15:54:13 +1030
committerStewart Smith <stewart@linux.ibm.com>2018-11-02 18:16:45 +1100
commitee6a266a2b23ecd11a6b1b5fd3a3a67797012217 (patch)
treee8d9e8447707763ed64995e472f8c838feb24f1a
parent516f41649ff1275b234348297d22f72492f026a6 (diff)
downloadskiboot-ee6a266a2b23ecd11a6b1b5fd3a3a67797012217.zip
skiboot-ee6a266a2b23ecd11a6b1b5fd3a3a67797012217.tar.gz
skiboot-ee6a266a2b23ecd11a6b1b5fd3a3a67797012217.tar.bz2
p9dsu: Describe platform BMC register configuration
[ Upstream commit a6131d3a215de6f6daa48d0f5141fd8964d8586e ] Provide the p9dsu-specific BMC configuration values required for the host kernel to drive the VGA display correctly. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r--platforms/astbmc/p9dsu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/platforms/astbmc/p9dsu.c b/platforms/astbmc/p9dsu.c
index 94ef06d..3a9520d 100644
--- a/platforms/astbmc/p9dsu.c
+++ b/platforms/astbmc/p9dsu.c
@@ -688,9 +688,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 p9dsu_bmc_hw = {
+ .scu_revision_id = 0x04030303,
+ .mcr_configuration = 0x11000756,
+ .mcr_scu_mpll = 0x000071c1,
+ .mcr_scu_strap = 0x00000000,
+};
+
static const struct bmc_platform bmc_plat_ast2500_smc = {
.name = "SMC",
- .hw = &bmc_hw_ast2500,
+ .hw = &p9dsu_bmc_hw,
.sw = &bmc_sw_smc,
};