xref: /rk3399_rockchip-uboot/tools/env/fw_env.config (revision 9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176)
1d0fb80c3Swdenk# Configuration file for fw_(printenv/saveenv) utility.
222525779SMartin Michlmayr# Up to two entries are valid, in this case the redundant
3d0fb80c3Swdenk# environment sector is assumed present.
4*9eeaa8e6SRemy Bohmer# Notice, that the "Number of sectors" is ignored on NOR and SPI-dataflash.
5*9eeaa8e6SRemy Bohmer# Futhermore, if the Flash sector size is ommitted, this value is assumed to
6*9eeaa8e6SRemy Bohmer# be the same as the Environment size, which is valid for NOR and SPI-dataflash
7d0fb80c3Swdenk
8*9eeaa8e6SRemy Bohmer# NOR example
956086921SGuennadi Liakhovetski# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
10d0fb80c3Swdenk/dev/mtd1		0x0000		0x4000		0x4000
11d0fb80c3Swdenk/dev/mtd2		0x0000		0x4000		0x4000
1256086921SGuennadi Liakhovetski
13*9eeaa8e6SRemy Bohmer# MTD SPI-dataflash example
14*9eeaa8e6SRemy Bohmer# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
15*9eeaa8e6SRemy Bohmer#/dev/mtd5		0x4200		0x4200
16*9eeaa8e6SRemy Bohmer#/dev/mtd6		0x4200		0x4200
17*9eeaa8e6SRemy Bohmer
1856086921SGuennadi Liakhovetski# NAND example
1956086921SGuennadi Liakhovetski#/dev/mtd0		0x4000		0x4000		0x20000			2
20