]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - src/cfg/c6474l/iblcfg.h
cdee0dd6caebbcf4232fd2f05845d6d9380a40c9
[keystone-rtos/ibl.git] / src / cfg / c6474l / iblcfg.h
1 /**************************************************************************\r
2  * FILE PURPOSE: Provide build time configurations for the IBL\r
3  **************************************************************************\r
4  * FILE NAME: iblcfg.h\r
5  *\r
6  * DESCRIPTION: Build time configuration\r
7  *\r
8  * @file iblcfg.h\r
9  *\r
10  * @brief\r
11  *       Build time configurations for the c6474 Lite ibl are defined\r
12  *\r
13  ***************************************************************************/\r
14 #ifndef IBLCFG_H\r
15 #define IBLCFG_H\r
16 \r
17 /**\r
18  * @brief  The maximum number of UDP sockets in the system\r
19  */\r
20 #define MAX_UDP_SOCKET          3\r
21 \r
22 \r
23 /**\r
24  * @brief The maximum number of timers in the system\r
25  */\r
26 #define MAX_TIMER_BLOCKS        5\r
27 \r
28 \r
29 /**\r
30  * @brief The size in bytes of the internal stream buffer\r
31  */\r
32 #define MAX_SIZE_STREAM_BUFFER  1024\r
33 \r
34 \r
35 /**\r
36  * @brief The maximum number of functions supported for BIS mode\r
37  */\r
38 #define MAX_BIS_FUNCTION_SUPPORT    3\r
39 \r
40 \r
41 /**\r
42  * @brief No I/O sections accepted in boot table format\r
43  */\r
44 #define BOOTCONFIG_NO_BTBL_IO\r
45 \r
46 /**\r
47  * @brief The I2C bus address and data address of the ibl table.\r
48  */\r
49 #define IBL_I2C_DEV_FREQ_MHZ            1000\r
50 #define IBL_I2C_CLK_FREQ_KHZ            100\r
51 #define IBL_I2C_OWN_ADDR                10\r
52 #define IBL_I2C_CFG_ADDR_DELAY          0x100       /* Delay between sending the address and reading data */\r
53 \r
54 #ifndef IBL_I2C_CFG_EEPROM_BUS_ADDR\r
55  #define IBL_I2C_CFG_EEPROM_BUS_ADDR    0x50\r
56 #endif\r
57 \r
58 #define IBL_I2C_CFG_TABLE_DATA_ADDR     (0x10000 - 0x300)\r
59  \r
60  \r
61 \r
62 /**\r
63  * @brief No NAND support. Define the function call to be a void statement\r
64  */\r
65 #define iblNandBoot()\r
66 \r
67 /**\r
68  * @brief No Elf support\r
69  */\r
70 #define iblIsElf(x)         FALSE\r
71 #define iblBootElf(x,y)     for (;;);\r
72 \r
73 \r
74 #endif\r
75 \r
76 \r