[PATCH] ast2500-edk: Configure HW strap register
Andrew Jeffery
andrew at aj.id.au
Thu Jul 28 10:23:55 AEST 2016
Strap register value was read off the hardware after boot.
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
hw/arm/ast2500-edk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/ast2500-edk.c b/hw/arm/ast2500-edk.c
index aaaed3f83757..1bda6e96b041 100644
--- a/hw/arm/ast2500-edk.c
+++ b/hw/arm/ast2500-edk.c
@@ -43,7 +43,7 @@ static void ast2500_edk_init(MachineState *machine)
&bmc->ram);
object_property_add_const_link(OBJECT(&bmc->soc), "ram", OBJECT(&bmc->ram),
&error_abort);
- object_property_set_int(OBJECT(&bmc->soc), 0x00000200U, "hw-strap1",
+ object_property_set_int(OBJECT(&bmc->soc), 0x7100c2e6U, "hw-strap1",
&error_abort);
object_property_set_bool(OBJECT(&bmc->soc), true, "realized",
&error_abort);
--
2.9.2.597.g66765a4
More information about the openbmc
mailing list