hw/display/dpcd: Fix memory region size
The memory region size is 512K. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200526062252.19852-8-f4bug@amsat.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6152772174
commit
91e7fd3ae5
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* dpcd.c
|
||||
* Xilinx Display Port Control Data
|
||||
*
|
||||
* Copyright (C) 2015 : GreenSocs Ltd
|
||||
* http://www.greensocs.com/ , email: info@greensocs.com
|
||||
@ -137,7 +137,7 @@ static void dpcd_init(Object *obj)
|
||||
{
|
||||
DPCDState *s = DPCD(obj);
|
||||
|
||||
memory_region_init_io(&s->iomem, obj, &aux_ops, s, TYPE_DPCD, 0x7FFFF);
|
||||
memory_region_init_io(&s->iomem, obj, &aux_ops, s, TYPE_DPCD, 0x80000);
|
||||
aux_init_mmio(AUX_SLAVE(obj), &s->iomem);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user