From 9e3bab08d3e3f5808cc35a59af1912bfb6fe96fd Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 25 Aug 2019 17:33:53 -0700 Subject: [PATCH] target/openrisc: Update cpu "any" to v1.3 Now that the two updates from v1.3 are implemented, update the "any" cpu to enable it. Reviewed-by: Stafford Horne Signed-off-by: Richard Henderson --- target/openrisc/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/openrisc/cpu.c b/target/openrisc/cpu.c index f96a69e278..506aec6bfb 100644 --- a/target/openrisc/cpu.c +++ b/target/openrisc/cpu.c @@ -129,7 +129,7 @@ static void openrisc_any_initfn(Object *obj) cpu->env.vr = 0x13000040; /* Obsolete VER + UVRP for new SPRs */ cpu->env.vr2 = 0; /* No version specific id */ - cpu->env.avr = 0x01010000; /* Architecture v1.1 */ + cpu->env.avr = 0x01030000; /* Architecture v1.3 */ cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP | UPR_PMP; cpu->env.cpucfgr = CPUCFGR_NSGF | CPUCFGR_OB32S | CPUCFGR_OF32S |