/*******************************************************************************
*
* (c) Copyright 2016-2017 Xilinx, Inc. All rights reserved.
*
* This file contains confidential and proprietary information of Xilinx, Inc.
* and is protected under U.S. and international copyright and other
* intellectual property laws.
*
* DISCLAIMER
* This disclaimer is not a license and does not grant any rights to the
* materials distributed herewith. Except as otherwise provided in a valid
* license issued to you by Xilinx, and to the maximum extent permitted by
* applicable law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND WITH ALL
* FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS,
* IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
* MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE;
* and (2) Xilinx shall not be liable (whether in contract or tort, including
* negligence, or under any other theory of liability) for any loss or damage
* of any kind or nature related to, arising under or in connection with these
* materials, including for any direct, or any indirect, special, incidental,
* or consequential loss or damage (including loss of data, profits, goodwill,
* or any type of loss or damage suffered as a result of any action brought by
* a third party) even if such damage or loss was reasonably foreseeable or
* Xilinx had been advised of the possibility of the same.
*
* CRITICAL APPLICATIONS
* Xilinx products are not designed or intended to be fail-safe, or for use in
* any application requiring fail-safe performance, such as life-support or
* safety devices or systems, Class III medical devices, nuclear facilities,
* or any other applications that could lead to death, personal injury, or 
* severe property or environmental damage (individually and collectively, 
* "Critical Applications"). Customer assumes the sole risk and liability of any
* use of Xilinx products in Critical Applications, subject only to applicable 
* laws and regulations governing limitations on product liability.
* THE MATERIALS ARE NOT WARRANTED FOR USE IN APPLICATIONS RELATED TO DEPLOYMENT 
* OF AIRBAGS OR FOR USE IN APPLICATIONS THAT AFFECT CONTROL OF A VEHICLE 
* ("SAFETY APPLICATION") UNLESS THERE IS A SAFETY CONCEPT OR REDUNDANCY FEATURE 
* (CONSISTENT WITH THE ISO-26262 AUTOMOTIVE SAFETY STANDARD OR APPLICABLE 
* UPDATED STANDARD) ("SAFETY DESIGN").  LICENSEE SHALL, PRIOR TO USING OR 
* DISTRIBUTING ANY SYSTEMS THAT INCORPORATE THE MATERIALS, THOROUGHLY TEST THE
* SAME FOR SAFETY PURPOSES.  USE OF THE MATERIALS IN A SAFETY APPLICATION 
* WITHOUT A SAFETY DESIGN IS FULLY AT THE RISK OF CUSTOMER, SUBJECT ONLY TO 
* APPLICABLE LAWS AND REGULATIONS GOVERNING LIMITATIONS ON PRODUCT LIABILITY.
*
* THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS PART OF THIS FILE
* AT ALL TIMES.
*
*******************************************************************************/
/******************************************************************************/
/**
* AUTOMATICALLY GENERATED FILE. DO NOT EDIT.   
* GENERATED ON : Tue 2022 Jun 21 10:10:40 BST          
* 
*  file: Fls_Cfg.h
*
* Description : this file contains Private Macro Definitions , include section,
                 Macro Definitions and version information  of the Fls Module.
*
* <pre>
*
* MODIFICATION HISTORY:
*
* Ver   Who    Date       Changes
* ----- ----  ----------  ----------------------------------------------------
* 1.0.0 KPIT  01/10/17    First release.
* 1.0.1 KPIT  01/16/17    As per CR 10 File Banner is updated.
* 1.0.2 KPIT  05/02/17	  As per CR 11 ucFlsMfgDeviceId element is generated 
*                         in Fls_MemConfigType Structure type.
*                         Memory abstraction is added.
* 1.0.3  KPIT 04/02/19    As per Redmine #48133
*                         Code implemented for Macronix Flash to work.
*                         Irq is implemented as per redmine(#48146)
*                         macro is added for external module version 
*                         check(#48328)
*
*******************************************************************************/


/*******************************************************************************
**                      Imported Compiler Switch Check                        **
*******************************************************************************/
/*******************************************************************************
**                      MISRA C Rule Violations                               **
*******************************************************************************/

#ifndef FLS_CFG_H
#define FLS_CFG_H

#ifdef __cplusplus
extern "C"
{
#endif

/*******************************************************************************
**                      Include Section                                       **
*******************************************************************************/
#include "MemIf_Types.h"

/*******************************************************************************
**                     Version Check                                          **
*******************************************************************************/

/*******************************************************************************
**                      Private Macro Definitions                             **
*******************************************************************************/

/* [SWS_BSW_00059] Published information elements. */
#define FLS_VENDOR_ID_CFG_H   39u
#define FLS_MODULE_ID_CFG_H   92u

#define FLS_AR_RELEASE_MAJOR_VERSION_CFG_H     4u
#define FLS_AR_RELEASE_MINOR_VERSION_CFG_H     2u
#define FLS_AR_RELEASE_REVISION_VERSION_CFG_H  2u

#define FLS_SW_MAJOR_VERSION_CFG_H     1u
#define FLS_SW_MINOR_VERSION_CFG_H     0u
#define FLS_SW_PATCH_VERSION_CFG_H     3u


/* Module configuration variant */
#define FLS_VARIANT_PRE_COMPILE


/*******************************************************************************
**                       Macro Definitions                                    **
*******************************************************************************/

/* Pre-compile option for development error detect */
#define FLS_DEV_ERROR_DETECT           STD_OFF

/* Pre-compile option for version info API */
 #define FLS_VERSION_INFO_API          STD_ON

/* Enable/Disable job processing triggered by hardware interrupt */
 #define FLS_USE_INTERRUPTS            STD_OFF

/* Enable/Disable loading of flash access code to RAM on job start */
#define FLS_AC_LOAD_ON_JOB_START       STD_OFF

/* Enable/Disable the Fls_Cancel function */
#define FLS_CANCEL_API                 STD_OFF

/* Enable/Disable the Fls_Compare function */
#define FLS_COMPARE_API                STD_ON

/* Enable/Disable the Fls_SetMode function */
#define FLS_SET_MODE_API               STD_OFF

/* Enable/Disable the Fls_GetStatus function */
#define FLS_GET_STATUS_API             STD_ON

/* Enable/Disable the Fls_GetJobResult function */
#define FLS_GET_JOB_RESULT_API         STD_ON

/* Enable/Disable blank check functionality */
#define FLS_BLANK_CHECK                STD_ON

/*input frequency to FLS Module*/
#define FLS_INPUT_FREQUENCY_HZ         90000000UL
/* Pre-compile option for 4 BYTE addressing mode select */
#define FLS_4BYTE_ADDRESS_MODE         STD_ON
 
/*Fls Fsbl Setting*/
#define FLS_FSBL_OVERRIDE             STD_OFF

#define FLS_CHECK_FSBL_CONSISTENCE    STD_OFF
/*Total Size of FLS Module*/
#define FLS_TOTAL_SIZE                 131072UL


/*******************************************************************************
**                       Function Definitions                                 **
*******************************************************************************/


#ifdef __cplusplus
}
#endif

#endif /* Fls_Cfg.H */

/*******************************************************************************
**                        End of File                                         **
*******************************************************************************/
