aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorCyril Bur <cyril.bur@au1.ibm.com>2017-07-28 16:46:20 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-01 13:57:02 +1000
commit4e1e9f12b5f2b18fa0aa71c6558fb799de49625e (patch)
tree37a3b2cfc99098f34cf0972187e030cc35dfa6f3 /external
parent5c2ed41022baaac49be3620f375af85a4a852c2b (diff)
downloadskiboot-4e1e9f12b5f2b18fa0aa71c6558fb799de49625e.zip
skiboot-4e1e9f12b5f2b18fa0aa71c6558fb799de49625e.tar.gz
skiboot-4e1e9f12b5f2b18fa0aa71c6558fb799de49625e.tar.bz2
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')
-rw-r--r--external/pflash/pflash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c
index 7e1d47f..1a9e2f2 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");