Commit f47e4a45 authored by Todd Kjos's avatar Todd Kjos Committed by Lee Jones
Browse files

NOUPSTREAM: ANDROID: GKI: add android_vendor.h



This header file is to be used for various macros to help add
vendor specific fields to kernel data structures to enable
value-added features implemented in vendor modules.

They are to be used before the freeze (to anticipate places where
vendor-specific data is required).

[CPNOTE: 27/05/21] Lee: Vendor related code - maintain forever

Bug: 156285741

Update: add macros to create OEM data fields

Adds ANDROID_OEM_DATA and ANDROID_OEM_DATA_ARRAY macros
to add OEM-specific fields to kernel data structures
to enable value-added features implemented in vendor modules.
Fields defined with these macros must not be used by
SoC vendors who must use the ANDROID_VENDOR_DATA* macros
to add vendor fields.

Bug: 156285741

Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: Ic23b2760ece93facdc51cc35718a4154aba810f9
[ebiggers: folded in fix from commit dc419bab
           ("ANDROID: fix copyright notice")]
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Lee: Squash in small subsequent commit and provide Update:]
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarLee Jones <joneslee@google.com>
parent 4ffb55bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment