gizmo: reserve memory range for VGA ROM and ACPI RSDP
Create a reserved memory resource for range 0xc0000-0xfffff where reside the VGA ROM (at 0xc0000) and ACPI root pointer (at 0xfda80) so that depthcharge does not wipe these needed structures during initialization. BUG=None BRANCH=none TEST=Boot CrOS from depthcharge, VGA and ACPI are functional Change-Id: Ic741dbb6766a1b0a16744d8d5288c8840379a8c5 Signed-off-by: Marcelo Povoa <marcelogp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/191098 Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
ba371d4107
commit
38e689a9a3
1 changed files with 4 additions and 0 deletions
|
|
@ -76,6 +76,10 @@ static void mainboard_enable(device_t dev)
|
|||
|
||||
/* force the SATA port to GEN2 speeds */
|
||||
RWMEM (ACPI_MMIO_BASE + PMIO_BASE + SB_PMIOA_REGDA, AccWidthUint8, 0xFB, 0x04);
|
||||
|
||||
/* Reserve memory for VGA ROM and ACPI RSDP table so
|
||||
* that Depthcharge does not wipe them away */
|
||||
reserved_ram_resource(dev, 0, 0xc0000 / KiB, 0x40000 / KiB);
|
||||
}
|
||||
|
||||
struct chip_operations mainboard_ops = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue