mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-20 17:01:50 +01:00
We switched towards standard boot with still keeping a fallback using legacy boot command alive. Add a deprecation warning to make it more clear that we will remove it in future versions. Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
21 lines
748 B
Bash
21 lines
748 B
Bash
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2024 PHYTEC Messtechnik GmbH
|
|
* Author: Daniel Schultz <d.schultz@phytec.de>
|
|
*/
|
|
|
|
/* Logic for TI K3 based SoCs to boot from an OSPI/QSPI NOR flash. */
|
|
|
|
spiargs=setenv bootargs console=${console} earlycon=${earlycon} ${optargs}
|
|
spiloadimage=sf read ${kernel_addr_r} ${spi_image_addr} ${size_kern}
|
|
spiloadfdt=sf read ${fdt_addr_r} ${spi_fdt_addr} ${size_fdt}
|
|
spiloadramdisk=sf read ${ramdisk_addr_r} ${spi_ramdisk_addr} ${size_fs}
|
|
|
|
spiboot=echo DEPRECATION WARNING: spiboot will be removed in future versions. Use standard boot instead.;
|
|
run spiargs;
|
|
sf probe;
|
|
run spiloadimage;
|
|
run spiloadfdt;
|
|
run spiloadramdisk;
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r}:0x${size_fs} ${fdt_addr_r}
|