coreboot/src/superio/fintek
Elyes HAOUAS 48a6c018bc src: Remove redundant use of ACPI offset(0)
IASL version 20180927 and greater, detects Unnecessary/redundant uses of
the Offset() operator within a Field Unit list.
It then sends a remark "^ Unnecessary/redundant use of Offset"

example:
    OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
    Field (OPR1)
    {
        Offset (0),     // Never needed
        FLD1, 32,
        Offset (4),     // Redundant, offset is already 4 (bytes)
        FLD2, 8,
        Offset (64),    // OK use of Offset.
        FLD3, 16,
    }

We will have those remarks:
dsdt.asl     14:         Offset (0),
Remark   2158 -                 ^ Unnecessary/redundant use of Offset operator

dsdt.asl     16:         Offset (4),
Remark   2158 -                 ^ Unnecessary/redundant use of Offset operator

Change-Id: I260a79ef77025b4befbccc21f5999f89d90c1154
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43283
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-03 00:05:52 +00:00
..
common treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f71808a treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f71859 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f71863fg treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f71869ad treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f81803a src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
f81865f treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
f81866d src/superio: Drop unneeded empty lines 2020-08-24 09:14:42 +00:00
Makefile.inc superio/*/Makefiles: Remove non-existing directory inclusion 2020-08-13 17:43:32 +00:00