omap3530/beagle_drivers/wb/api/include/cyashal.h
changeset 27 117faf51deac
equal deleted inserted replaced
26:b7e488c49d0d 27:117faf51deac
       
     1 /* Cypress West Bridge API header file (cyashal.h)
       
     2  ## ===========================
       
     3  ##
       
     4  ##  Copyright Cypress Semiconductor Corporation, 2006-2009,
       
     5  ##  All Rights Reserved
       
     6  ##  UNPUBLISHED, LICENSED SOFTWARE.
       
     7  ##
       
     8  ##  CONFIDENTIAL AND PROPRIETARY INFORMATION
       
     9  ##  WHICH IS THE PROPERTY OF CYPRESS.
       
    10  ##
       
    11  ##  Use of this file is governed
       
    12  ##  by the license agreement included in the file
       
    13  ##
       
    14  ##     <install>/license/license.txt
       
    15  ##
       
    16  ##  where <install> is the Cypress software
       
    17  ##  installation root directory path.
       
    18  ##
       
    19  ## ===========================
       
    20 */
       
    21 
       
    22 #ifndef _INCLUDED_CYASHAL_H_
       
    23 #define _INCLUDED_CYASHAL_H_
       
    24 
       
    25 #if !defined(__doxygen__)
       
    26 
       
    27 /* The possible HAL layers defined and implemented by Cypress */
       
    28 /*nxz*/
       
    29 #ifdef __CY_ASTORIA_BEAGLEBOARD_SPI__HAL__
       
    30 #ifdef CY_HAL_DEFINED
       
    31 #error Only one HAL layer can be defined
       
    32 #endif
       
    33 
       
    34 #define CY_HAL_DEFINED
       
    35 
       
    36 #include "cyashalbeagleboard.h"
       
    37 #endif
       
    38 
       
    39 #ifdef __CY_ASTORIA_FPGA_HAL__
       
    40 #ifdef CY_HAL_DEFINED
       
    41 #error Only one HAL layer can be defined
       
    42 #endif
       
    43 
       
    44 #define CY_HAL_DEFINED
       
    45 
       
    46 #include "cyashalfpga.h"
       
    47 #endif
       
    48 
       
    49 /***** SCM User space HAL  ****/
       
    50 #ifdef __CY_ASTORIA_SCM_HAL__
       
    51 #ifdef CY_HAL_DEFINED
       
    52 #error Only one HAL layer can be defined
       
    53 #endif
       
    54 
       
    55 #define CY_HAL_DEFINED
       
    56 
       
    57 #include "cyanhalscm.h"
       
    58 #endif
       
    59 /***** SCM User space HAL  ****/
       
    60 
       
    61 /***** SCM Kernel HAL  ****/
       
    62 #ifdef __CY_ASTORIA_SCM_KERNEL_HAL__
       
    63 #ifdef CY_HAL_DEFINED
       
    64 #error Only one HAL layer can be defined
       
    65 #endif
       
    66 
       
    67 #define CY_HAL_DEFINED
       
    68 
       
    69 #include "cyanhalscm_kernel.h"
       
    70 #endif
       
    71 /***** SCM Kernel HAL  ****/
       
    72 
       
    73 #ifdef __CY_ASTORIA_CUSTOMER_HAL__
       
    74 #ifdef CY_HAL_DEFINED
       
    75 #error Only one HAL layer can be defined
       
    76 #endif
       
    77 
       
    78 #define CY_HAL_DEFINED
       
    79 #include "cyashal_customer.h"
       
    80 
       
    81 #endif
       
    82 
       
    83 #endif			/* __doxygen__ */
       
    84 
       
    85 #endif			/* _INCLUDED_CYASHAL_H_ */