Vignesh Raghavendra | f4b3c1c | 2019-11-18 19:16:34 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Nishanth Menon | a94a407 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 3 | * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com |
Vignesh Raghavendra | f4b3c1c | 2019-11-18 19:16:34 +0530 | [diff] [blame] | 4 | * |
| 5 | * Environment variable definitions for DFU on TI K3 SoCs. |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef __TI_DFU_H |
| 10 | #define __TI_DFU_H |
| 11 | |
| 12 | #define DFU_ALT_INFO_MMC \ |
| 13 | "dfu_alt_info_mmc=" \ |
| 14 | "boot part 1 1;" \ |
| 15 | "rootfs part 1 2;" \ |
| 16 | "tiboot3.bin fat 1 1;" \ |
| 17 | "tispl.bin fat 1 1;" \ |
| 18 | "u-boot.img fat 1 1;" \ |
| 19 | "uEnv.txt fat 1 1;" \ |
| 20 | "sysfw.itb fat 1 1\0" |
| 21 | |
| 22 | #define DFU_ALT_INFO_EMMC \ |
| 23 | "dfu_alt_info_emmc=" \ |
| 24 | "rawemmc raw 0 0x800000 mmcpart 1;" \ |
| 25 | "rootfs part 0 1 mmcpart 0;" \ |
| 26 | "tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;" \ |
| 27 | "tispl.bin.raw raw 0x400 0x1000 mmcpart 1;" \ |
| 28 | "u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;" \ |
| 29 | "u-env.raw raw 0x3400 0x100 mmcpart 1;" \ |
| 30 | "sysfw.itb.raw raw 0x3600 0x800 mmcpart 1\0" |
| 31 | |
| 32 | #define DFU_ALT_INFO_OSPI \ |
| 33 | "dfu_alt_info_ospi=" \ |
| 34 | "tiboot3.bin raw 0x0 0x080000;" \ |
| 35 | "tispl.bin raw 0x080000 0x200000;" \ |
| 36 | "u-boot.img raw 0x280000 0x400000;" \ |
| 37 | "u-boot-env raw 0x680000 0x020000;" \ |
| 38 | "sysfw.itb raw 0x6c0000 0x100000;" \ |
| 39 | "rootfs raw 0x800000 0x3800000\0" |
| 40 | |
| 41 | #define DFU_ALT_INFO_RAM \ |
| 42 | "dfu_alt_info_ram=" \ |
Aswath Govindraju | 7026b88 | 2021-08-26 21:28:58 +0530 | [diff] [blame] | 43 | "tispl.bin ram 0x80080000 0x200000;" \ |
| 44 | "u-boot.img ram 0x81000000 0x400000\0" \ |
Vignesh Raghavendra | f4b3c1c | 2019-11-18 19:16:34 +0530 | [diff] [blame] | 45 | |
| 46 | #endif /* __TI_DFU_H */ |