summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaleb Ethridge <[email protected]>2026-05-21 09:53:22 -0400
committerTom Rini <[email protected]>2026-06-04 12:24:18 -0600
commita6438a10267e52898448711281ae631945b87e84 (patch)
treebe8d5de062b5bdd62e413f64496e619cd1aca5d5 /include
parent4088df81f10c43f5585516342f5963d19cdaf3d1 (diff)
mach-sc5xx: Update SPI bootargs for ubifs
Update the bootargs used in SPI/OSPI bootmode to reflect change from jffs2 to ubifs for the SPI's filesystem, and remove the jffs2file variable from the environment as it is now unused. Signed-off-by: Caleb Ethridge <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/env/adi/adi_boot.env4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env
index 00757fe7c99..b75baabdca6 100644
--- a/include/env/adi/adi_boot.env
+++ b/include/env/adi/adi_boot.env
@@ -47,7 +47,7 @@ mmcboot=mmc rescan;
#endif
#if defined(USE_SPI)
-spiargs=setenv bootargs root=/dev/mtdblock4 rw rootfstype=jffs2 ${adi_bootargs}; setenv sfdev CONFIG_SC_BOOT_SPI_BUS:CONFIG_SC_BOOT_SPI_SSEL
+spiargs=setenv bootargs rootfstype=ubifs root=ubi0:rootfs ubi.mtd=3 rw ${adi_bootargs}; setenv sfdev CONFIG_SC_BOOT_SPI_BUS:CONFIG_SC_BOOT_SPI_SSEL
spiboot=run spiargs;
sf probe ${sfdev};
sf read ${loadaddr} ${adi_image_offset} 0xf00000;
@@ -55,7 +55,7 @@ spiboot=run spiargs;
#endif
#if defined(USE_OSPI)
-ospiargs=setenv bootargs root=/dev/mtdblock4 rw rootfstype=jffs2 ${adi_bootargs}; setenv sfdev CONFIG_SC_BOOT_OSPI_BUS:CONFIG_SC_BOOT_OSPI_SSEL
+ospiargs=setenv bootargs rootfstype=ubifs root=ubi0:rootfs ubi.mtd=3 rw ${adi_bootargs}; setenv sfdev CONFIG_SC_BOOT_OSPI_BUS:CONFIG_SC_BOOT_OSPI_SSEL
ospiboot=run ospiargs;
sf probe ${sfdev};
sf read ${loadaddr} ${adi_image_offset} 0xf00000;