Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: missing timer in dts: how to deal ?
On Sat, May 06, 2023 at 07:30:27AM -0300, Jared McNeill wrote:
> sys/stand/efiboot/efifdt.c has some examples. An easy one is in efi_fdt_gop
> (starting on L371) which creates a /chosen/framebuffer node:
>
> 1) Get a handle to the parent node:
>
> chosen = efi_fdt_chosen();
>
> 2) Add a child node, storing the handle:
>
> fb = fdt_add_subnode(fdt_data, chosen, "framebuffer@fe000000");
>
> 3) Set properties on the node using fdt_appendprop_*
>
> Happy to help review any changes you want to make here, feel free to reach
> out to me off list.
thanks; I'm busy with other things now, I'll get back to this in about
two weeks.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index