From 153c309f6ce611a7c70eb249986f225430a74bd3 Mon Sep 17 00:00:00 2001 From: Kris Bahnsen Date: Wed, 11 Mar 2026 17:13:00 +0000 Subject: [PATCH] tasks: ts-uboot-env: use mtd* instead of mtdblock* Resolves #154 Fixes: 2d00446 ("components: ts-uboot-env-configs: Initial commit") Signed-off-by: Kris Bahnsen --- tasks/components/ts-uboot-env-configs/files/ts4900.config | 2 +- tasks/components/ts-uboot-env-configs/files/ts7970.config | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/components/ts-uboot-env-configs/files/ts4900.config b/tasks/components/ts-uboot-env-configs/files/ts4900.config index 5d77392..726b421 100644 --- a/tasks/components/ts-uboot-env-configs/files/ts4900.config +++ b/tasks/components/ts-uboot-env-configs/files/ts4900.config @@ -1,2 +1,2 @@ # MTD device name Device offset Env. size Flash sector size Number of sectors -/dev/mtdblock0 0x100000 0x2000 0x1000 2 +/dev/mtd0 0x100000 0x2000 0x1000 2 diff --git a/tasks/components/ts-uboot-env-configs/files/ts7970.config b/tasks/components/ts-uboot-env-configs/files/ts7970.config index f283322..a14b7bd 100644 --- a/tasks/components/ts-uboot-env-configs/files/ts7970.config +++ b/tasks/components/ts-uboot-env-configs/files/ts7970.config @@ -1,5 +1,5 @@ # SPI flash on the TS-7970/TS-7990 # MTD device name Device offset Env. size Flash sector size Number of sectors -/dev/mtdblock0 0x100000 0x2000 0x1000 2 -/dev/mtdblock0 0x180000 0x2000 0x1000 2 +/dev/mtd0 0x100000 0x2000 0x1000 2 +/dev/mtd0 0x180000 0x2000 0x1000 2