mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![]() The logic to 'spread' mtd partitions needs to calculate the length in the mtd device, including bad blocks. This patch introduces a new function, mtd_get_len_incl_bad that can return both the length including bad blocks and whether that length was truncated on the device. This new function will be used by the mtdparts spread command later in this series. The definition of the function is #ifdef'd out in configurations that do not use the new 'mtdparts spread' command. Signed-off-by: Ben Gardiner<bengardiner@nanometrics.ca> CC: Scott Wood <scottwood@freescale.com> |
||
---|---|---|
.. | ||
bbm.h | ||
blktrans.h | ||
compat.h | ||
concat.h | ||
doc2000.h | ||
fsl_upm.h | ||
inftl-user.h | ||
jffs2-user.h | ||
mtd-abi.h | ||
mtd.h | ||
nand_ecc.h | ||
nand.h | ||
ndfc.h | ||
nftl-user.h | ||
nftl.h | ||
onenand_regs.h | ||
onenand.h | ||
partitions.h | ||
samsung_onenand.h | ||
ubi.h |