commit | 207350bdc248096316d06f8dd68e620eb10ee2a1 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Tue Jul 12 20:28:26 2016 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jul 22 14:46:15 2016 -0400 |
tree | 231325b8a33453b8bff9a82c8858b0dc7a764959 | |
parent | a91260ecd15d4724d6ae5ca632f124f3d99d2a3e [diff] |
cmd: mtdparts: support runtime generated mtdparts Some CPUs contains boot ROM code capable reading first few blocks (where SPL resides) of NAND flash and executing it. It is wise to create separate partition here for SPL. As block size depends on NAND chip used, we could either use worst case (biggest) partition size or base its size on actual block size. This patch adds support for the latter option. Signed-off-by: Ladislav Michl <ladis@linux-mips.org>