u-boot/include/env/ti/k3_dfu.h
Simon Glass 5e541a05f7 env: Use include/env for text-environment includes
The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
that as the name of the include directory too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Intel Edison
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2023-08-09 23:31:12 +08:00

46 lines
1.2 KiB
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
*
* Environment variable definitions for DFU on TI K3 SoCs.
*
*/
#ifndef __TI_DFU_H
#define __TI_DFU_H
#define DFU_ALT_INFO_MMC \
"dfu_alt_info_mmc=" \
"boot part 1 1;" \
"rootfs part 1 2;" \
"tiboot3.bin fat 1 1;" \
"tispl.bin fat 1 1;" \
"u-boot.img fat 1 1;" \
"uEnv.txt fat 1 1;" \
"sysfw.itb fat 1 1\0"
#define DFU_ALT_INFO_EMMC \
"dfu_alt_info_emmc=" \
"rawemmc raw 0 0x800000 mmcpart 1;" \
"rootfs part 0 1 mmcpart 0;" \
"tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;" \
"tispl.bin.raw raw 0x400 0x1000 mmcpart 1;" \
"u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;" \
"u-env.raw raw 0x3400 0x100 mmcpart 1;" \
"sysfw.itb.raw raw 0x3600 0x800 mmcpart 1\0"
#define DFU_ALT_INFO_OSPI \
"dfu_alt_info_ospi=" \
"tiboot3.bin raw 0x0 0x080000;" \
"tispl.bin raw 0x080000 0x200000;" \
"u-boot.img raw 0x280000 0x400000;" \
"u-boot-env raw 0x680000 0x020000;" \
"sysfw.itb raw 0x6c0000 0x100000;" \
"rootfs raw 0x800000 0x3800000\0"
#define DFU_ALT_INFO_RAM \
"dfu_alt_info_ram=" \
"tispl.bin ram 0x80080000 0x200000;" \
"u-boot.img ram 0x81000000 0x400000\0" \
#endif /* __TI_DFU_H */