1 /**************************************************************************
2 * FILE PURPOSE: Provide build time configurations for the IBL
3 **************************************************************************
4 * FILE NAME: iblcfg.h
5 *
6 * DESCRIPTION: Build time configuration
7 *
8 * @file iblcfg.h
9 *
10 * @brief
11 * Build time configurations for the c6472 ibl are defined
12 *
13 ***************************************************************************/
14 #ifndef IBLCFG_H
15 #define IBLCFG_H
17 /**
18 * @brief The maximum number of UDP sockets in the system
19 */
20 #define MAX_UDP_SOCKET 3
23 /**
24 * @brief The maximum number of timers in the system
25 */
26 #define MAX_TIMER_BLOCKS 5
29 /**
30 * @brief The size in bytes of the internal stream buffer
31 */
32 #define MAX_SIZE_STREAM_BUFFER 1024
35 /**
36 * @brief The maximum number of functions supported for BIS mode
37 */
38 #define MAX_BIS_FUNCTION_SUPPORT 3
41 /**
42 * @brief No I/O sections accepted in boot table format
43 */
44 #define BOOTCONFIG_NO_BTBL_IO
46 /**
47 * @brief Estimates of operating parameters. Actual values will be known once they are
48 * read from the i2c.
49 */
50 #define IBL_I2C_DEV_FREQ_MHZ 625
51 #define IBL_I2C_CLK_FREQ_KHZ 100
52 #define IBL_I2C_OWN_ADDR 10
53 #define IBL_I2C_CFG_ADDR_DELAY 0x100 /* Delay between sending the address and reading data */
56 /**
57 * @brief The default location for the i2c map information can be overridden during make
58 */
59 #ifndef IBL_I2C_MAP_TABLE_DATA_BUS_ADDR
60 #define IBL_I2C_MAP_TABLE_DATA_BUS_ADDR 0x50
61 #endif
64 #ifndef IBL_I2C_MAP_TABLE_DATA_ADDR
65 #define IBL_I2C_MAP_TABLE_DATA_ADDR 0x420
66 #endif
71 #endif