diff options
author | Aurora zuma automerger <aurora-zuma-automerger@google.com> | 2022-07-28 08:34:15 +0000 |
---|---|---|
committer | davidchiang <davidchiang@google.com> | 2022-07-29 07:35:45 +0000 |
commit | 858b375a15a5431e3371ed96ec7661a8c6d1b363 (patch) | |
tree | 5285e36c500052465fe0217e987b160c207cd357 /include/linux | |
parent | fc050e034fba0a4c339d3d108d29e4c219c21832 (diff) | |
download | zuma-858b375a15a5431e3371ed96ec7661a8c6d1b363.tar.gz |
[Copybara Auto Merge] Merge branch 'zuma' into 'android13-gs-pixel-5.15'
Initial commit for porting Zuma GXP drivers.
Bug: 239766974
GitOrigin-RevId: c3436b0c942dd009060c865c9b11d21b24de8d1b
Change-Id: Icf7b5fea1929c1786d2ed979460d5290c3a11f13
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/gsa/gsa_image_auth.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/gsa/gsa_image_auth.h b/include/linux/gsa/gsa_image_auth.h new file mode 100644 index 0000000..149211c --- /dev/null +++ b/include/linux/gsa/gsa_image_auth.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Fallback header for systems without GSA support. + * + * Copyright (C) 2022 Google, Inc. + */ + +#ifndef __LINUX_GSA_IMAGE_AUTH_H +#define __LINUX_GSA_IMAGE_AUTH_H + +#include <linux/device.h> +#include <linux/types.h> + +static inline int gsa_authenticate_image(struct device *gsa, dma_addr_t img_meta, + phys_addr_t img_body) +{ + return 0; +} + +#endif /* __LINUX_GSA_IMAGE_AUTH_H */ |