]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blob - pdk_k2g_1_0_1_0_eng/packages/ti/board/src/evmKeystone/include/board_internal.h
Change pdk_k2g_1_0_1 directory name in preparation for updating RSTC plugin
[processor-sdk/performance-audio-sr.git] / pdk_k2g_1_0_1_0_eng / packages / ti / board / src / evmKeystone / include / board_internal.h
1 /* ========================================================================== */
2 /**
3  *  @file   board_internal.h
4  *
5  *  @brief  Private definitions for the Board Library.
6  *
7  *  ============================================================================
8  */
9 /******************************************************************************
10  * Copyright (c) 2010-2015 Texas Instruments Incorporated - http://www.ti.com
11  *
12  *  Redistribution and use in source and binary forms, with or without
13  *  modification, are permitted provided that the following conditions
14  *  are met:
15  *
16  *    Redistributions of source code must retain the above copyright
17  *    notice, this list of conditions and the following disclaimer.
18  *
19  *    Redistributions in binary form must reproduce the above copyright
20  *    notice, this list of conditions and the following disclaimer in the
21  *    documentation and/or other materials provided with the
22  *    distribution.
23  *
24  *    Neither the name of Texas Instruments Incorporated nor the names of
25  *    its contributors may be used to endorse or promote products derived
26  *    from this software without specific prior written permission.
27  *
28  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39  *
40  *****************************************************************************/
42 #ifndef BOARD_INTERNAL_H_
43 #define BOARD_INTERNAL_H_
45 /*****************************************************************************
46  * Include Files                                                             *
47  *****************************************************************************/
48 #include <ti/csl/csl_types.h>
49 #include <ti/csl/cslr_device.h>
50 #include <ti/csl/csl_bootcfgAux.h>
52 #include <ti/drv/i2c/I2C.h>
53 #include <ti/drv/i2c/soc/I2C_soc.h>
55 #include <ti/drv/spi/SPI.h>
57 #include <ti/drv/uart/UART.h>
58 #include <ti/drv/uart/UART_stdio.h>
60 #include <ti/board/board.h>
62 /*****************************************************************************
63  * Internal Objects                                                          *
64  *****************************************************************************/
65 extern const I2C_Config I2C_config[];
66 extern const SPI_Config SPI_config[];
68 typedef struct
69 {
70     I2C_Handle i2cHandle;
71     SPI_Handle spiHandle;
72 } Board_gblObj;
73 extern Board_gblObj Board_obj;
76 /*****************************************************************************
77  * Function Prototypes                                                       *
78  *****************************************************************************/
80 Board_STATUS Board_unlockMMR();
81 Board_STATUS Board_PLLInit();
82 Board_STATUS Board_moduleClockInit();
83 Board_STATUS Board_DDR3Init();
84 Board_STATUS Board_watchdogDisable();
85 Board_STATUS Board_pinmuxConfig();
86 Board_STATUS Board_uartStdioInit();
88 #endif