mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Andy Shevchenko](/assets/img/avatar_default.png)
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>
14 lines
315 B
Plaintext
14 lines
315 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2016 Bin Meng <bmeng.cn@gmail.com>
|
|
*/
|
|
|
|
#include <asm/acpi/global_nvs.h>
|
|
|
|
OperationRegion(GNVS, SystemMemory, ACPI_GNVS_ADDR, ACPI_GNVS_SIZE)
|
|
Field(GNVS, ByteAcc, NoLock, Preserve)
|
|
{
|
|
PCNT, 8, /* processor count */
|
|
IURE, 8, /* internal UART enabled */
|
|
}
|