[Skiboot] [PATCH v2] HDAT: Fix typo in nest-frequency property

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Sep 16 18:34:26 AEST 2016


nest-frquency -> nest-frequency

Fixes: 5cda6f6d (platforms/firenze: Fix I2C clock source frequency)
CC: Gavin Shan <gwshan at linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
Changes in v2:
  Fixed test cases

-Vasant

 hdata/spira.c               | 2 +-
 hdata/test/p8-840-spira.dt  | 4 +++-
 hdata/test/p81-811.spira.dt | 6 +++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/hdata/spira.c b/hdata/spira.c
index e4e6b2d..56df769 100644
--- a/hdata/spira.c
+++ b/hdata/spira.c
@@ -804,7 +804,7 @@ static void add_iplparams_sys_params(const void *iplp, struct dt_node *node)
 		u64 freq = be32_to_cpu(p->nest_freq_mhz);
 
 		freq *= 1000000;
-		dt_add_property_cells(dt_root, "nest-frquency",
+		dt_add_property_cells(dt_root, "nest-frequency",
 				      hi32(freq), lo32(freq));
 	}
 }
diff --git a/hdata/test/p8-840-spira.dt b/hdata/test/p8-840-spira.dt
index bcf49d6..f538d22 100644
--- a/hdata/test/p8-840-spira.dt
+++ b/hdata/test/p8-840-spira.dt
@@ -39,7 +39,7 @@ prop: #address-cells size: 4 val: 00000002
 prop: #size-cells size: 4 val: 00000002
 prop: lid-type size: 5 val: 7068797000
 prop: compatible size: 24 val: 69626d2c706f7765726e760069626d2c666972656e7a6500
-prop: nest-frquency size: 8 val: 0000000077359400
+prop: nest-frequency size: 8 val: 0000000077359400
 prop: skiboot,maxmem size: 8 val: 80000007ffffffff
 prop: model size: 9 val: 383238362d34314100
 prop: model-name size: 22 val: 49424d20506f7765722053797374656d205338313400
@@ -855,6 +855,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c00000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
@@ -2579,6 +2580,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c08000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
diff --git a/hdata/test/p81-811.spira.dt b/hdata/test/p81-811.spira.dt
index fd805e4..2286915 100644
--- a/hdata/test/p81-811.spira.dt
+++ b/hdata/test/p81-811.spira.dt
@@ -90,7 +90,7 @@ prop: #address-cells size: 4 val: 00000002
 prop: #size-cells size: 4 val: 00000002
 prop: lid-type size: 5 val: 7068797000
 prop: compatible size: 24 val: 69626d2c706f7765726e760069626d2c666972656e7a6500
-prop: nest-frquency size: 8 val: 0000000077359400
+prop: nest-frequency size: 8 val: 0000000077359400
 prop: skiboot,maxmem size: 8 val: 8000001fffffffff
 prop: model size: 9 val: 383234372d32324c00
 prop: model-name size: 23 val: 49424d20506f7765722053797374656d20533832324c00
@@ -1991,6 +1991,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c00000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
@@ -3715,6 +3716,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c08000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
@@ -5436,6 +5438,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c80000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
@@ -7151,6 +7154,7 @@ prop: ibm,enabled-idle-states size: 24 val: 6e617000666173742d736c65657000727677
   prop: scom-controller size: 0 val: 
   prop: compatible size: 27 val: 69626d2c7873636f6d0069626d2c706f776572372d7873636f6d00
   prop: reg size: 16 val: 00003c88000000000000000800000000
+  prop: bus-frequency size: 8 val: 000000001dcd6500
   prop: ibm,dbob-id size: 4 val: 00000000
   prop: ibm,occ-functional-state size: 4 val: 00000001
   prop: ibm,module-vpd size: 65536 val: 000f17ba5598401f3bd42b84280052540456484452564402303150540e56544f43d500370074
-- 
2.5.5



More information about the Skiboot mailing list