On Fri, Feb 23, 2018 at 1:38 PM, Ross Zwisler
<ross.zwisler(a)linux.intel.com> wrote:
When firmware-update.sh is run multiple times by itself, all runs but
the
first fail with this:
+ ../ndctl/ndctl update-firmware -d nmem1 -f update-fw.img
Error: START FIRMWARE UPDATE failed: 0x9
Error: Another firmware upload in progress or finished.
Fix this by having the test properly clean up and disable all the nfit_test
regions and unloading the nfit_test module, as we do in test/pmem-errors.sh
et al.
Looks good to me:
Reviewed-by: Dan Williams <dan.j.williams(a)intel.com>