aboutsummaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2010-08-02 13:04:24 -0500
committerScott Wood <scottwood@freescale.com>2010-10-11 15:09:54 -0500
commitea533c260a801c4e51f92f75165cebe6d7b01e35 (patch)
treea445ddd13f93806631e2305ec62a5aa8149edcdf /include/nand.h
parentf9a5254111a6be2a39464f65a96f4fc2305e3c76 (diff)
cmd_nand: some infrastructure fixes and refactoring
- If the current device is overridden by a named partition, - update the caller's pointer/index, rather than copy over the nand_info struct, and - be sure to call board_nand_select_device even when the device is overridden by a named partition. - Support 64-bit offsets/sizes in a few more places. - Refactor arg_off_size for added readability and flexibility, and some added checks such as partition size. - Remove redundant check for bad subcommands -- if there's no match it'll print usage when it gets to the end anyway. Signed-off-by: Scott Wood <scottwood@freescale.com> Tested-by: Ben Gardiner <bengardiner@nanometrics.ca>
Diffstat (limited to 'include/nand.h')
0 files changed, 0 insertions, 0 deletions