4 * CONFIG_MEMORY_START +-----------------------+
6 * +-----------------------+
9 * CONFIG_MEMORY_START +-----------------------+
11 * +-----------------------+
13 * BOOT_RELOC_ADDR +-----------------------+
15 * KERNEL_DECOMPRESS_ADDR +-----------------------+
17 * +-----------------------+
19 * 3. relocate copy & jump code
21 * CONFIG_MEMORY_START +-----------------------+
23 * +-----------------------+
25 * BOOT_RELOC_ADDR +-----------------------+
27 * KERNEL_DECOMPRESS_ADDR +-----------------------+
29 * +-----------------------+
31 * 4. relocate decompressed kernel
33 * CONFIG_MEMORY_START +-----------------------+
35 * +-----------------------+
37 * BOOT_RELOC_ADDR +-----------------------+
39 * KERNEL_DECOMPRESS_ADDR +-----------------------+
41 * +-----------------------+
50 #define DECOMPRESS_OFFSET_BASE __val(0x00900000)
51 #define BOOT_RELOC_SIZE __val(0x00001000)
53 #define KERNEL_EXEC_ADDR __val(CONFIG_MEMORY_START)
54 #define KERNEL_DECOMPRESS_ADDR __val(CONFIG_MEMORY_START + \
55 DECOMPRESS_OFFSET_BASE + BOOT_RELOC_SIZE)
56 #define KERNEL_ENTRY __val(CONFIG_MEMORY_START + 0x1000)
58 #define BOOT_EXEC_ADDR __val(CONFIG_MEMORY_START)
59 #define BOOT_RELOC_ADDR __val(CONFIG_MEMORY_START + DECOMPRESS_OFFSET_BASE)