mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
x86: acpi: Remove redundant Offset (0x00)
New ACPI assembler issues a warning: board/intel/edison/dsdt.asl.tmp 13: Offset (0x00), Remark 2158 - ^ Unnecessary/redundant use of Offset operator Indeed, in the OperationRegion the offset is 0x00 by default. Thus, drop unneeded Offset() use as suggested by ACPI assembler. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5ef76e59c1
commit
24109bba6a
3 changed files with 0 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
|||
OperationRegion(GNVS, SystemMemory, ACPI_GNVS_ADDR, ACPI_GNVS_SIZE)
|
||||
Field(GNVS, ByteAcc, NoLock, Preserve)
|
||||
{
|
||||
Offset (0x00),
|
||||
PCNT, 8, /* processor count */
|
||||
IURE, 8, /* internal UART enabled */
|
||||
}
|
||||
|
|
|
@ -8,6 +8,5 @@
|
|||
OperationRegion(GNVS, SystemMemory, ACPI_GNVS_ADDR, ACPI_GNVS_SIZE)
|
||||
Field(GNVS, ByteAcc, NoLock, Preserve)
|
||||
{
|
||||
Offset (0x00),
|
||||
PCNT, 8, /* processor count */
|
||||
}
|
||||
|
|
|
@ -10,6 +10,5 @@
|
|||
OperationRegion(GNVS, SystemMemory, ACPI_GNVS_ADDR, ACPI_GNVS_SIZE)
|
||||
Field(GNVS, ByteAcc, NoLock, Preserve)
|
||||
{
|
||||
Offset (0x00),
|
||||
PCNT, 8, /* processor count */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue