]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/environment/ti/dfu.h
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+
9 #define DFU_ALT_INFO_MMC \
14 "MLO.raw raw 0x100 0x100;" \
15 "u-boot.img.raw raw 0x300 0x1000;" \
16 "u-env.raw raw 0x1300 0x200;" \
17 "spl-os-args.raw raw 0x1500 0x200;" \
18 "spl-os-image.raw raw 0x1700 0x6900;" \
19 "spl-os-args fat 0 1;" \
20 "spl-os-image fat 0 1;" \
21 "u-boot.img fat 0 1;" \
24 #define DFU_ALT_INFO_EMMC \
25 "dfu_alt_info_emmc=" \
26 "rawemmc raw 0 3751936;" \
30 "MLO.raw raw 0x100 0x100;" \
31 "u-boot.img.raw raw 0x300 0x1000;" \
32 "u-env.raw raw 0x1300 0x200;" \
33 "spl-os-args.raw raw 0x1500 0x200;" \
34 "spl-os-image.raw raw 0x1700 0x6900;" \
35 "spl-os-args fat 1 1;" \
36 "spl-os-image fat 1 1;" \
37 "u-boot.img fat 1 1;" \
41 #define DFU_ALT_INFO_NAND \
42 "dfu_alt_info_nand=" \
44 "SPL.backup1 part 0 2;" \
45 "SPL.backup2 part 0 3;" \
46 "SPL.backup3 part 0 4;" \
48 "u-boot-spl-os part 0 6;" \
52 #define DFU_ALT_INFO_NAND ""
55 #define DFU_ALT_INFO_RAM \
57 "kernel ram 0x80200000 0x4000000;" \
58 "fdt ram 0x80f80000 0x80000;" \
59 "ramdisk ram 0x81000000 0x4000000\0"
61 #define DFU_ALT_INFO_QSPI_XIP \
62 "dfu_alt_info_qspi=" \
63 "u-boot.bin raw 0x0 0x080000;" \
64 "u-boot.backup raw 0x080000 0x080000;" \
65 "u-boot-spl-os raw 0x100000 0x010000;" \
66 "u-boot-env raw 0x110000 0x010000;" \
67 "u-boot-env.backup raw 0x120000 0x010000;" \
68 "kernel raw 0x130000 0x800000\0"
70 #define DFU_ALT_INFO_QSPI \
71 "dfu_alt_info_qspi=" \
72 "MLO raw 0x0 0x040000;" \
73 "u-boot.img raw 0x040000 0x0100000;" \
74 "u-boot-spl-os raw 0x140000 0x080000;" \
75 "u-boot-env raw 0x1C0000 0x010000;" \
76 "u-boot-env.backup raw 0x1D0000 0x010000;" \
77 "kernel raw 0x1E0000 0x800000\0"