mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
include: env: phytec: Add optargs to K3 files
Add the optargs variable so that we can set optional arguments while booting. Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This commit is contained in:
parent
4ef949eedc
commit
27d0af5e85
3 changed files with 3 additions and 2 deletions
1
include/env/phytec/k3_mmc.env
vendored
1
include/env/phytec/k3_mmc.env
vendored
|
@ -11,6 +11,7 @@
|
|||
|
||||
mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
|
||||
root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
|
||||
${optargs}
|
||||
mmcloadimage=load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} Image
|
||||
mmcloadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
|
||||
mmcboot=if test ${doraucboot} = 1; then run raucinit; fi;
|
||||
|
|
2
include/env/phytec/k3_net.env
vendored
2
include/env/phytec/k3_net.env
vendored
|
@ -9,7 +9,7 @@
|
|||
#include <env/phytec/overlays.env>
|
||||
|
||||
netargs=setenv bootargs console=${console} root=/dev/nfs ip=dhcp rw
|
||||
nfsroot=${serverip}:${nfsroot},vers=4,tcp
|
||||
nfsroot=${serverip}:${nfsroot},vers=4,tcp ${optargs}
|
||||
netloadimage=${net_fetch_cmd} ${kernel_addr_r} ${serverip}:/Image
|
||||
netloadfdt=${net_fetch_cmd} ${fdt_addr_r} ${serverip}:/${fdtfile}
|
||||
netboot=run netargs;
|
||||
|
|
2
include/env/phytec/k3_spi.env
vendored
2
include/env/phytec/k3_spi.env
vendored
|
@ -6,7 +6,7 @@
|
|||
|
||||
/* Logic for TI K3 based SoCs to boot from an OSPI/QSPI NOR flash. */
|
||||
|
||||
spiargs=setenv bootargs console=${console} earlycon=${earlycon}
|
||||
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}
|
||||
|
|
Loading…
Add table
Reference in a new issue