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 c6455 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 The I2C bus address and data address of the ibl table.
48 */
49 #define IBL_I2C_DEV_FREQ_MHZ 1000
50 #define IBL_I2C_CLK_FREQ_KHZ 100
51 #define IBL_I2C_OWN_ADDR 10
52 #define IBL_I2C_CFG_ADDR_DELAY 0x100 /* Delay between sending the address and reading data */
54 #ifndef IBL_I2C_CFG_EEPROM_BUS_ADDR
55 #define IBL_I2C_CFG_EEPROM_BUS_ADDR 0x50
56 #endif
58 #define IBL_I2C_CFG_TABLE_DATA_ADDR (0x10000 - 0x300)
66 #endif