hw/arm/aspeed: Fix STRAP2 configuration for Tacoma
PATCH 1/1 hw/arm/aspeed: Fix STRAP2 configuration for Tacoma
We were writing the STRAP2 configuration to the STRAP1 property/register
Signed-off-by Andrew Jeffery <[email protected]>
--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed.c +1 -1
@@ -711,7 +711,7 @@ static void aspeed_machine_tacoma_class_init(ObjectClass *oc, void *data) mc->desc ="Aspeed AST2600 EVB (Cortex A7)" ; amc->soc_name ="ast2600-a0" ; amc->hw_strap1 =TACOMA_BMC_HW_STRAP1 ; - amc->hw_strap1 =TACOMA_BMC_HW_STRAP2 ; + amc->hw_strap2 =TACOMA_BMC_HW_STRAP2 ; amc->fmc_model ="mx66l1g45g" ; amc->spi_model ="mx66l1g45g" ; amc->num_cs =2 ;
Signature · 1 line
2.20.1
Quoted 4 lines · Andrew Jeffery
We were writing the STRAP2 configuration to the STRAP1 property/register
Signed-off-by Andrew Jeffery <[email protected]>
Nice, I have the same patch in my tree, and forgot about it.
Reviewed-by Joel
Quoted 20 lines
--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/aspeed.c +1
-2@@ -711,7 +711,7 @@ static void aspeed_machine_tacoma_class_init(ObjectClass *oc, void *data) mc->desc ="Aspeed AST2600 EVB (Cortex A7)" ; amc->soc_name ="ast2600-a0" ; amc->hw_strap1 =TACOMA_BMC_HW_STRAP1 ; - amc->hw_strap1 =TACOMA_BMC_HW_STRAP2 ; + amc->hw_strap2 =TACOMA_BMC_HW_STRAP2 ; amc->fmc_model ="mx66l1g45g" ; amc->spi_model ="mx66l1g45g" ; amc->num_cs =2 ; --2.20.1
Quoted 9 lines · Joel Stanley
Quoted 4 lines · Andrew Jeffery
We were writing the STRAP2 configuration to the STRAP1 property/register
Signed-off-by Andrew Jeffery <[email protected]>Nice, I have the same patch in my tree, and forgot about it.
Reviewed-by Joel
I will merge this fix in the machine definition patch if you don't mind.
C.
Quoted 21 lines
Quoted 21 lines
--- hw/arm/aspeed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/aspeed.c +1
-2@@ -711,7 +711,7 @@ static void aspeed_machine_tacoma_class_init(ObjectClass *oc, void *data) mc->desc ="Aspeed AST2600 EVB (Cortex A7)" ; amc->soc_name ="ast2600-a0" ; amc->hw_strap1 =TACOMA_BMC_HW_STRAP1 ; - amc->hw_strap1 =TACOMA_BMC_HW_STRAP2 ; + amc->hw_strap2 =TACOMA_BMC_HW_STRAP2 ; amc->fmc_model ="mx66l1g45g" ; amc->spi_model ="mx66l1g45g" ; amc->num_cs =2 ; --2.20.1
Quoted 5 lines · Cédric Le Goater
Quoted 4 lines · Joel Stanley
Quoted 3 lines · Andrew Jeffery
We were writing the STRAP2 configuration to the STRAP1 property/register
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Andrew Jeffery <[email protected]>Nice, I have the same patch in my tree, and forgot about it.
Reviewed-by JoelI will merge this fix in the machine definition patch if you don't mind.
Yep, that's fine.
Andrew