1 /* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef QSPI_IP_CFG_DEFINES_H 8 #define QSPI_IP_CFG_DEFINES_H 9 10 /** 11 * @file Qspi_Ip_CfgDefines.h 12 * 13 * @addtogroup IPV_QSPI 14 * Qspi_Ip_CfgDefines.h_Artifact 15 * @{ 16 */ 17 18 19 #ifdef __cplusplus 20 extern "C"{ 21 #endif 22 23 24 /*================================================================================================== 25 * INCLUDE FILES 26 * 1) system and project includes 27 * 2) needed interfaces from external units 28 * 3) internal and external interfaces from this unit 29 ==================================================================================================*/ 30 #include <zephyr/devicetree.h> 31 32 /*================================================================================================== 33 * SOURCE FILE VERSION INFORMATION 34 ==================================================================================================*/ 35 #define QSPI_IP_VENDOR_ID_CFG_DEFINES 43 36 #define QSPI_IP_AR_RELEASE_MAJOR_VERSION_CFG_DEFINES 4 37 #define QSPI_IP_AR_RELEASE_MINOR_VERSION_CFG_DEFINES 7 38 #define QSPI_IP_AR_RELEASE_REVISION_VERSION_CFG_DEFINES 0 39 #define QSPI_IP_SW_MAJOR_VERSION_CFG_DEFINES 2 40 #define QSPI_IP_SW_MINOR_VERSION_CFG_DEFINES 0 41 #define QSPI_IP_SW_PATCH_VERSION_CFG_DEFINES 0 42 43 /*================================================================================================== 44 * FILE VERSION CHECKS 45 ==================================================================================================*/ 46 47 /*================================================================================================== 48 DEFINES AND MACROS 49 ==================================================================================================*/ 50 51 52 #define QSPI_IP_SFP_ENABLE_MDAD DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_qspi_sfp_mdad) 53 #define QSPI_IP_SFP_ENABLE_FRAD DT_HAS_COMPAT_STATUS_OKAY(nxp_s32_qspi_sfp_frad) 54 #define QSPI_IP_SFP_ENABLE_GLOBAL UTIL_OR(QSPI_IP_SFP_ENABLE_MDAD, QSPI_IP_SFP_ENABLE_FRAD) 55 56 57 /* Enable Multicore support when using MemAcc*/ 58 #define QSPI_IP_MULTICORE_ENABLED (STD_OFF) 59 60 #ifdef __cplusplus 61 } 62 #endif 63 64 /** @} */ 65 66 #endif /* QSPI_IP_CFG_DEFINES_H */ 67