[Skiboot] [PATCH] HDAT: Fix typo in nest-frequency property
Gavin Shan
gwshan at linux.vnet.ibm.com
Fri Sep 16 10:03:32 AEST 2016
On Thu, Sep 15, 2016 at 03:15:26PM +0530, Vasant Hegde wrote:
>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>
Reviewed-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
There are 3 typoes related to this. I guess it would be nice to
fix all of them in one shoot:
1 hdata/spira.c: dt_add_property_cells(dt_root, "nest-frquency",
2 hdata/test/p8-840-spira.dt:prop: nest-frquency size: 8 val: 0000000077359400
3 hdata/test/p81-811.spira.dt:prop: nest-frquency size: 8 val: 0000000077359400
Thanks,
Gavin
>---
> hdata/spira.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>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));
> }
> }
>
More information about the Skiboot
mailing list