Skip to content

Commit

Permalink
target/openrisc: Update cpu "any" to v1.3
Browse files Browse the repository at this point in the history
Now that the two updates from v1.3 are implemented,
update the "any" cpu to enable it.

Reviewed-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Sep 4, 2019
1 parent 3e0e41e commit 9e3bab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/openrisc/cpu.c
Expand Up @@ -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 |
Expand Down

0 comments on commit 9e3bab0

Please sign in to comment.