2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com
4 * Environment variable definitions for DFU on TI boards.
6 * SPDX-License-Identifier: GPL-2.0+
12 #define DFU_ALT_INFO_MMC \
17 "MLO.raw raw 0x100 0x100;" \
18 "u-boot.img.raw raw 0x300 0x1000;" \
19 "u-env.raw raw 0x1300 0x200;" \
20 "spl-os-args.raw raw 0x1500 0x200;" \
21 "spl-os-image.raw raw 0x1700 0x6900;" \
22 "spl-os-args fat 0 1;" \
23 "spl-os-image fat 0 1;" \
24 "u-boot.img fat 0 1;" \
27 #define DFU_ALT_INFO_EMMC \
28 "dfu_alt_info_emmc=" \
29 "rawemmc raw 0 3751936;" \
33 "MLO.raw raw 0x100 0x100;" \
34 "u-boot.img.raw raw 0x300 0x1000;" \
35 "u-env.raw raw 0x1300 0x200;" \
36 "spl-os-args.raw raw 0x1500 0x200;" \
37 "spl-os-image.raw raw 0x1700 0x6900;" \
38 "spl-os-args fat 1 1;" \
39 "spl-os-image fat 1 1;" \
40 "u-boot.img fat 1 1;" \
44 #define DFU_ALT_INFO_NAND \
45 "dfu_alt_info_nand=" \
47 "SPL.backup1 part 0 2;" \
48 "SPL.backup2 part 0 3;" \
49 "SPL.backup3 part 0 4;" \
51 "u-boot-spl-os part 0 6;" \
55 #define DFU_ALT_INFO_NAND ""
58 #define DFU_ALT_INFO_RAM \
60 "kernel ram 0x80200000 0x4000000;" \
61 "fdt ram 0x80f80000 0x80000;" \
62 "ramdisk ram 0x81000000 0x4000000\0"
64 #define DFU_ALT_INFO_QSPI_XIP \
65 "dfu_alt_info_qspi=" \
66 "u-boot.bin raw 0x0 0x080000;" \
67 "u-boot.backup raw 0x080000 0x080000;" \
68 "u-boot-spl-os raw 0x100000 0x010000;" \
69 "u-boot-env raw 0x110000 0x010000;" \
70 "u-boot-env.backup raw 0x120000 0x010000;" \
71 "kernel raw 0x130000 0x800000\0"
73 #define DFU_ALT_INFO_QSPI \
74 "dfu_alt_info_qspi=" \
75 "MLO raw 0x0 0x040000;" \
76 "u-boot.img raw 0x040000 0x0100000;" \
77 "u-boot-spl-os raw 0x140000 0x080000;" \
78 "u-boot-env raw 0x1C0000 0x010000;" \
79 "u-boot-env.backup raw 0x1D0000 0x010000;" \
80 "kernel raw 0x1E0000 0x800000\0"
82 #endif /* __TI_DFU_H */