2016-04-20 03:04:21 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016 Intel Corp.
|
|
|
|
* (Written by Alexandru Gagniuc <alexandrux.gagniuc@intel.com> for Intel Corp.)
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: The layout of the GNVS structure below must match the layout in
|
|
|
|
* soc/intel/apollolake/include/soc/nvs.h !!!
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
External (NVSA)
|
|
|
|
|
|
|
|
OperationRegion (GNVS, SystemMemory, NVSA, 0x1000)
|
|
|
|
Field (GNVS, ByteAcc, NoLock, Preserve)
|
|
|
|
{
|
2016-05-25 20:34:43 +02:00
|
|
|
/* Miscellaneous */
|
2016-04-20 03:04:21 +02:00
|
|
|
Offset (0x00),
|
2016-05-25 20:34:43 +02:00
|
|
|
PCNT, 8, // 0x01 - Processor Count
|
|
|
|
PPCM, 8, // 0x02 - Max PPC State
|
|
|
|
LIDS, 8, // 0x03 - LID State
|
|
|
|
PWRS, 8, // 0x04 - AC Power State
|
|
|
|
DPTE, 8, // 0x05 - Enable DPTF
|
2016-06-14 07:23:49 +02:00
|
|
|
CBMC, 32, // 0x06 - 0x09 - Coreboot Memory Console
|
2016-04-20 03:04:21 +02:00
|
|
|
|
|
|
|
/* ChromeOS stuff (0x100 -> 0xfff, size 0xeff) */
|
|
|
|
Offset (0x100),
|
|
|
|
#include <vendorcode/google/chromeos/acpi/gnvs.asl>
|
|
|
|
}
|