[U-Boot] [PATCH 2/5] cmd_nand: some infrastructure fixes and refactoring

Ben Gardiner bengardiner at nanometrics.ca
Tue Aug 31 23:45:58 CEST 2010


On Mon, Aug 30, 2010 at 7:03 PM, Scott Wood <scottwood at freescale.com> wrote:
> - 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 at freescale.com>

applies cleanly to 962ad59e25640e586e2bceabf67a628a27f8f508 of
git://git.denx.de/u-boot.git

Tested on da850evm_config with NAND enabled;

Tested-by: Ben Gardiner <bengardiner at nanometrics.ca>

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list