[Skiboot] [PATCH] core/opal: Fix address-cells in opal node in DT
Maxim Polyakov
m.polyakov at yadro.com
Tue Apr 9 20:16:37 AEST 2019
Hello! Excuse me, could anyone see this patch? any notes?
Thanks
27.03.2019 15:33, Maxim Polyakov пишет:
> This patch fix this FWTS warning:
>
> Warning (reg_format): "reg" property in /ibm,opal/flash at 0 has
> invalid length (8 bytes) (#address-cells == 0, #size-cells == 0)
>
> See more in https://github.com/open-power/skiboot/issues/47
>
> It has been tested on Vesnin P8 server.
>
> Signed-off-by: Maxim Polyakov <m.polyakov at yadro.com>
> ---
> core/opal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/core/opal.c b/core/opal.c
> index 624e2a2..9271b07 100644
> --- a/core/opal.c
> +++ b/core/opal.c
> @@ -406,7 +406,7 @@ void add_opal_node(void)
> (uint64_t)(cpu_max_pir + 1) * STACK_SIZE) - SKIBOOT_BASE;
>
> opal_node = dt_new_check(dt_root, "ibm,opal");
> - dt_add_property_cells(opal_node, "#address-cells", 0);
> + dt_add_property_cells(opal_node, "#address-cells", 1);
> dt_add_property_cells(opal_node, "#size-cells", 0);
>
> if (proc_gen < proc_gen_p9)
>
--
Regards,
Maxim Polyakov
Software Engineer, YADRO.
More information about the Skiboot
mailing list