diff options
author | Scott Wood <scottwood@freescale.com> | 2010-08-02 13:04:24 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2010-10-11 15:09:54 -0500 |
commit | ea533c260a801c4e51f92f75165cebe6d7b01e35 (patch) | |
tree | a445ddd13f93806631e2305ec62a5aa8149edcdf /include/SA-1100.h | |
parent | f9a5254111a6be2a39464f65a96f4fc2305e3c76 (diff) | |
download | u-boot-imx-ea533c260a801c4e51f92f75165cebe6d7b01e35.zip u-boot-imx-ea533c260a801c4e51f92f75165cebe6d7b01e35.tar.gz u-boot-imx-ea533c260a801c4e51f92f75165cebe6d7b01e35.tar.bz2 |
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/SA-1100.h')
0 files changed, 0 insertions, 0 deletions