blair: Disable secure peripheral framework for NFC

Disabled secure peripheral feature on NFC for Strait target.

Change-Id: I47b8d52d79a33f9189ba0d4c579b7085b697f293
Signed-off-by: Devendar <quic_dgali@quicinc.com>
This commit is contained in:
Devendar
2023-06-27 10:29:01 +05:30
parent 871583af47
commit 27989fc132
3 changed files with 5 additions and 1 deletions

View File

@@ -35,5 +35,6 @@
#define NFC_SET_RESET_READ_PENDING _IOW(NFC_MAGIC, 0x04, uint32_t)
#define NFC_GET_GPIO_STATUS _IOR(NFC_MAGIC, 0x05, uint32_t)
#define NFC_SECURE_ZONE _IOW(NFC_MAGIC, 0x0A, uint32_t)
#define ESE_COLD_RESET _IOWR(NFCC_MAGIC, 0x08, struct ese_ioctl_arg)
#endif

View File

@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __ESE_COLD_RESET_H
@@ -22,7 +23,6 @@
#define COLD_RESET_OID 0x1E
#define COLD_RESET_PROT_OID 0x1F
#define ESE_COLD_RESET _IOWR(NFCC_MAGIC, 0x08, struct ese_ioctl_arg)
enum ese_ioctl_arg_type {
ESE_ARG_TYPE_COLD_RESET = 0,

View File

@@ -3,3 +3,6 @@ ifeq ($(call is-board-platform-in-list, pineapple blair),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/nxp-nci.ko
endif
ifeq ($(call is-board-platform-in-list, blair),true)
TARGET_ENABLE_PERIPHERAL_CONTROL := false
endif