diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2018-12-18 10:52:47 +1030 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2019-03-05 11:50:10 +0530 |
commit | 137b11c77feb16efef67cb9f37e0865b015f3dd2 (patch) | |
tree | 9ea0413e4350a1fa5226396c0b70cfd88fb61f79 | |
parent | 4ff0e16df3044a6e8dd210878ddb3980ef3b2277 (diff) | |
download | skiboot-137b11c77feb16efef67cb9f37e0865b015f3dd2.zip skiboot-137b11c77feb16efef67cb9f37e0865b015f3dd2.tar.gz skiboot-137b11c77feb16efef67cb9f37e0865b015f3dd2.tar.bz2 |
p8dtu: Configure BMC graphics
[ Upstream commit 9dcbd1f41d98d9429ea3013ad87fac59bc60394d ]
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>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
-rw-r--r-- | platforms/astbmc/p8dtu.c | 10 |
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, }; |