Skip to content

Commit

Permalink
p8dtu: Configure BMC graphics
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
amboar authored and stewartsmith committed Jan 18, 2019
1 parent 71ce936 commit 9dcbd1f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion platforms/astbmc/p8dtu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 9dcbd1f

Please sign in to comment.