diff mbox

hdata_to_dt: Add PVR overrides to the usage text

Message ID 20170615070637.6413-1-oohall@gmail.com
State Accepted
Headers show

Commit Message

Oliver O'Halloran June 15, 2017, 7:06 a.m. UTC
Save us a few headaches in the future.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 hdata/test/hdata_to_dt.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Vasant Hegde June 16, 2017, 9:39 a.m. UTC | #1
On 06/15/2017 12:36 PM, Oliver O'Halloran wrote:
> Save us a few headaches in the future.
>
> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
> ---
>  hdata/test/hdata_to_dt.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
> index 3568eb6ceb10..f109bbb46c07 100644
> --- a/hdata/test/hdata_to_dt.c
> +++ b/hdata/test/hdata_to_dt.c
> @@ -272,7 +272,14 @@ int main(int argc, char *argv[])
>  		     "	-q Quiet mode\n"
>  		     "	-b Keep blobs in the output\n"
>  		     "\n"
> -		     "Pipe to 'dtc -I dtb -O dts' for human readable\n");
> +		     "  -7 Force PVR to POWER7\n"
> +		     "  -8 Force PVR to POWER8\n"
> +		     "  -8E Force PVR to POWER8E\n"
> +		     "  -9 Force PVR to POWER9 (nimbus)\n"

I think just POWER9 is enough here. Otherwise patch looks good to me.

-Vasant
Stewart Smith June 19, 2017, 6:48 a.m. UTC | #2
Oliver O'Halloran <oohall@gmail.com> writes:
> Save us a few headaches in the future.
>
> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
> ---
>  hdata/test/hdata_to_dt.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

Probably my fault for not updating this.

Thanks,
Merged to master as of 1826b103c4d8976bdc9ddd9c44c5d57f7e1ee967
diff mbox

Patch

diff --git a/hdata/test/hdata_to_dt.c b/hdata/test/hdata_to_dt.c
index 3568eb6ceb10..f109bbb46c07 100644
--- a/hdata/test/hdata_to_dt.c
+++ b/hdata/test/hdata_to_dt.c
@@ -272,7 +272,14 @@  int main(int argc, char *argv[])
 		     "	-q Quiet mode\n"
 		     "	-b Keep blobs in the output\n"
 		     "\n"
-		     "Pipe to 'dtc -I dtb -O dts' for human readable\n");
+		     "  -7 Force PVR to POWER7\n"
+		     "  -8 Force PVR to POWER8\n"
+		     "  -8E Force PVR to POWER8E\n"
+		     "  -9 Force PVR to POWER9 (nimbus)\n"
+		     "\n"
+		     "When no PVR is specified -7 is assumed"
+		     "\n"
+		     "Pipe to 'dtc -I dtb -O dts' for human readable output\n");
 	}
 
 	phys_map_init();