target-microblaze: Allow address sizes between 32 and 64 bits
Allow address sizes between 32 and 64 bits. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
f0f7e7f7b2
commit
25ec2fdd7b
@ -155,9 +155,8 @@ static void mb_cpu_realizefn(DeviceState *dev, Error **errp)
|
||||
return;
|
||||
}
|
||||
|
||||
if (cpu->cfg.addr_size != 32) {
|
||||
error_setg(errp, "addr-size %d is out of range. "
|
||||
"Only 32bit is supported.",
|
||||
if (cpu->cfg.addr_size < 32 || cpu->cfg.addr_size > 64) {
|
||||
error_setg(errp, "addr-size %d is out of range (32 - 64)",
|
||||
cpu->cfg.addr_size);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user