diff options
author | Scott Wood <scottwood@freescale.com> | 2010-08-02 18:04:24 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2010-10-11 20:09:54 (GMT) |
commit | ea533c260a801c4e51f92f75165cebe6d7b01e35 (patch) | |
tree | a445ddd13f93806631e2305ec62a5aa8149edcdf /drivers/mtd | |
parent | f9a5254111a6be2a39464f65a96f4fc2305e3c76 (diff) | |
download | u-boot-ea533c260a801c4e51f92f75165cebe6d7b01e35.tar.xz |
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 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions