diff mbox

[U-Boot,u-boot,1/3] am335x_evm: am44xx_evm: dra7xx_evm: nand: Fix file-system partition name

Message ID 1433497342-16169-2-git-send-email-rogerq@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Roger Quadros June 5, 2015, 9:42 a.m. UTC
We almost always use UBIFS for user accessible NAND file systems and
the UBIFS file system might contain more than one volume within the
single NAND partition. The last NAND partition is therefore more
appropriately named as "NAND.file-system" instead of "NAND.rootfs"

The Linux kernel (as of v3.16) also uses "NAND.file-system" to name the
last NAND partition. This patch makes the partition name consistent
between u-boot and the kernel.

Signed-off-by: Roger Quadros <rogerq@ti.com>
---
 include/configs/am335x_evm.h | 2 +-
 include/configs/am43xx_evm.h | 2 +-
 include/configs/dra7xx_evm.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Tom Rini June 5, 2015, 12:48 p.m. UTC | #1
On Fri, Jun 05, 2015 at 12:42:20PM +0300, Roger Quadros wrote:

> We almost always use UBIFS for user accessible NAND file systems and
> the UBIFS file system might contain more than one volume within the
> single NAND partition. The last NAND partition is therefore more
> appropriately named as "NAND.file-system" instead of "NAND.rootfs"
> 
> The Linux kernel (as of v3.16) also uses "NAND.file-system" to name the
> last NAND partition. This patch makes the partition name consistent
> between u-boot and the kernel.
> 
> Signed-off-by: Roger Quadros <rogerq@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini June 13, 2015, 2:10 a.m. UTC | #2
On Fri, Jun 05, 2015 at 12:42:20PM +0300, Roger Quadros wrote:

> We almost always use UBIFS for user accessible NAND file systems and
> the UBIFS file system might contain more than one volume within the
> single NAND partition. The last NAND partition is therefore more
> appropriately named as "NAND.file-system" instead of "NAND.rootfs"
> 
> The Linux kernel (as of v3.16) also uses "NAND.file-system" to name the
> last NAND partition. This patch makes the partition name consistent
> between u-boot and the kernel.
> 
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 8da3325..1c6cbd7 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -248,7 +248,7 @@ 
 					"128k(NAND.u-boot-env)," \
 					"128k(NAND.u-boot-env.backup1)," \
 					"8m(NAND.kernel)," \
-					"-(NAND.rootfs)"
+					"-(NAND.file-system)"
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x000c0000
 #undef CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_IS_IN_NAND
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index d4f4c23..482a99a 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -378,7 +378,7 @@ 
 					"256k(NAND.u-boot-env)," \
 					"256k(NAND.u-boot-env.backup1)," \
 					"7m(NAND.kernel)," \
-					"-(NAND.rootfs)"
+					"-(NAND.file-system)"
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00180000
 /* NAND: SPL related configs */
 #ifdef CONFIG_SPL_NAND_SUPPORT
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 77edc21..9133a0d 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -248,7 +248,7 @@ 
 					"128k(NAND.u-boot-env)," \
 					"128k(NAND.u-boot-env.backup1)," \
 					"8m(NAND.kernel)," \
-					"-(NAND.rootfs)"
+					"-(NAND.file-system)"
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x000c0000
 /* NAND: SPL related configs */
 #ifdef CONFIG_SPL_NAND_SUPPORT