• Zachary T Welch's avatar
    Add Flash/NAND bank command argument helpers. · 11e545f5
    Zachary T Welch authored
    This eliminates redundant code for parsing and retreiving the bank
    specified from a script command argument.  This patch was written to
    replace existing functionality; however, the parsing logic can be
    updated later to allow flash commands to accept bank names as well as
    their numbers.