]> git.dujemihanovic.xyz Git - u-boot.git/commit
fw_env: autodetect NAND erase size and env sectors
authorAnthony Loiseau <anthony.loiseau@allcircuits.com>
Thu, 21 Dec 2023 22:44:38 +0000 (23:44 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Jan 2024 20:41:47 +0000 (15:41 -0500)
commitd73a6641868029b5cae53ed00c5766921c9d8b1f
tree4add007f6818eafefe1ff7e617f2fcdf3911ae35
parent9e3003f79d168eac7ee65cd457e3904e2fb4eea8
fw_env: autodetect NAND erase size and env sectors

As already done for NOR chips, if device ESIZE and ENVSECTORS static
configurations are both zero, then autodetect them at runtime.

Cc: Joe Hershberger <joe.hershberger@ni.com>
cc: Stefan Agner <stefan@agner.ch>
cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Anthony Loiseau <anthony.loiseau@allcircuits.com>
tools/env/README
tools/env/fw_env.c