diff options
author | Richard Spiegel <richard.spiegel@amd.corp-partner.google.com> | 2018-11-06 16:32:28 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-16 09:43:32 +0000 |
commit | 271b8a5f81b2363218eb8768754001bd4658c92b (patch) | |
tree | 86965633d1f582a45b626f6d18bfb129be4f1542 /src/mainboard/lenovo/x60/dsdt.asl | |
parent | 509d99ca6b34de7909ca944584b613b547a58e34 (diff) |
soc/amd: Convert from AMD units to coreboot units
There are several files under soc/amd that use units defined by file
porting.h. These units use upper case, and are not recognized by checkpatch,
thus causing problems when defining a pointer (request to use space before
and after the star symbol). These are the definitions from porting.h showing
the units that this patch will change and their coreboot definitions (not all
are actually used):
typedef uintptr_t UINTN;
typedef int64_t INT64;
typedef uint64_t UINT64;
typedef int32_t INT32;
typedef uint32_t UINT32;
typedef int16_t INT16;
typedef uint16_t UINT16;
typedef int8_t INT8;
typedef uint8_t UINT8;
typedef char CHAR8;
typedef unsigned short CHAR16;
typedef unsigned char BOOLEAN;
typedef void VOID;
BUG=b:118775313
TEST=Build and boot grunt.
Change-Id: Ic1bd64d6224a030a65d23decabf0e602cee02871
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/29520
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo/x60/dsdt.asl')
0 files changed, 0 insertions, 0 deletions