1 #include "iblcfg.h"
2 ; This file is run through the C preprocessor to get the build time layout information
3 ; The following values must be defined:
4 ; I2C_BUS_ADDR - The I2C bus address of the eeprom holding the ROM boot info and the layout info
5 ; INIT_EXE_FILE - The I2C blocked stage 1 of the ibl
6 ; EXE_FILE_1 - The I2C blocked stage 2 of the ibl, must be the little endian version
7 ; EXE_FILE_2 - The I2C blocked stage 2 of the ibl, must be the big endian version
8 ; PAD_FILE_ID_1 - This pad holds the IBL configuration structure for the little endian version
9 ; PAD_FILE_ID_2 - This pad holds the IBL configuration structure for the big endian version
10 ;
11 ; The section statement directs the ROM boot loader to load the initial endian independent
12 ; portion of the IBL
13 section
14 {
15 param_index = 0
16 boot_mode = 257
17 sw_pll = 25
18 options = 1
20 core_freq_mhz = 625
21 i2c_clk_freq_khz = 200
23 dev_addr_ext = I2C_BUS_ADDR
25 multi_i2c_id = 0
26 my_i2c_id = 1
27 address_delay = 0
28 exe_file = INIT_EXE_FILE
29 }
31 ; The layout statement defines how the resulting I2C image is layed out. The base address
32 ; of this (given in the dev_addr) statement must be known to the initial IBL program
33 ; at compile time. The layout block is simple a group of 32 bit i2c addresses, so
34 ; the order of the exe_file and pad_file_id statements must be configured so as to
35 ; match the definition of struct iblI2cMap_t defined in ibl.h.
36 layout
37 {
38 dev_addr = IBL_I2C_MAP_TABLE_DATA_ADDR ; Defined in iblcfg.h
39 dev_addr_ext = I2C_BUS_ADDR
40 file_align = 0x80
42 exe_file = EXE_FILE_1
43 pad_file_id = PAD_FILE_ID_1
46 exe_file = EXE_FILE_2
47 pad_file_id = PAD_FILE_ID_2
48 }
50 ; The pad statements simply provide space for the IBL configuration structures. It is valid to
51 ; have a single configuration structure which is used for both endian values.
52 pad
53 {
54 pad_file_id = 1
55 dev_addr = 0x500
56 len = 0x300
57 }
59 #if (PAD_FILE_ID_1 != PAD_FILE_ID_2)
60 pad
61 {
62 pad_file_id = 2
63 dev_addr = 0x800
64 len = 0x300
65 }
66 #endif