[U-Boot] Modifying the Device tree fields
Tom Rini
trini at ti.com
Fri Jun 21 20:59:33 CEST 2013
On Fri, Jun 21, 2013 at 10:56:33PM +0530, Kamaraj P wrote:
> Hello All,
>
> In my device tree blob, i would like to add some interrupt to the
> protected-source list dynamically in the u-boot before launching the linux
> kernel.
>
> mpic: pic at 40000 {
> interrupt-controller;
> #address-cells = <0>;
> #interrupt-cells = <2>;
> reg = <0x40000 0x40000>;
> compatible = "chrp,open-pic";
> device_type = "open-pic";
> protected-sources = <
> 16
> >
>
> In the above DTS file, i would like to add the other interrupts to the
> protected-sources dynamically.
> I hope we need to use the device fdt APIs. Could you please any pointers
> or reference for how to use those APIs in the u-boot ?
If you can do it with the fdt command, you can then work out what the C
API versions would look like.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130621/7d4f1d86/attachment.pgp>
More information about the U-Boot
mailing list