Skip to content

Commit

Permalink
p9dsu: Describe platform BMC register configuration
Browse files Browse the repository at this point in the history
[ Upstream commit a6131d3 ]

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>
  • Loading branch information
amboar authored and stewartsmith committed Nov 2, 2018
1 parent 516f416 commit ee6a266
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion platforms/astbmc/p9dsu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit ee6a266

Please sign in to comment.