diff options
| author | Cyril Bur <cyril.bur@au1.ibm.com> | 2017-07-28 16:46:20 +1000 |
|---|---|---|
| committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 13:57:02 +1000 |
| commit | 4e1e9f12b5f2b18fa0aa71c6558fb799de49625e (patch) | |
| tree | 37a3b2cfc99098f34cf0972187e030cc35dfa6f3 /external/pflash | |
| parent | 5c2ed41022baaac49be3620f375af85a4a852c2b (diff) | |
| download | talos-skiboot-4e1e9f12b5f2b18fa0aa71c6558fb799de49625e.tar.gz talos-skiboot-4e1e9f12b5f2b18fa0aa71c6558fb799de49625e.zip | |
libflash: Adding debugging output
Also add usage text to pflash.
Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/pflash')
| -rw-r--r-- | external/pflash/pflash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c index 7e1d47f4..1a9e2f2d 100644 --- a/external/pflash/pflash.c +++ b/external/pflash/pflash.c @@ -550,6 +550,8 @@ static void print_help(const char *pname) printf("\t-T, --toc\n"); printf("\t\tlibffs TOC on which to operate, defaults to 0.\n"); printf("\t\tleading 0x is required for interpretation of a hex value\n\n"); + printf("\t-g\n"); + printf("\t\tEnable verbose libflash debugging\n\n"); printf(" Commands:\n"); printf("\t-4, --enable-4B\n"); printf("\t\tSwitch the flash and controller to 4-bytes address\n"); |

