[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Modifying fdt in the bootscript v.s. in the dts



Hi all,

This question could be more about an u-boot than Xen,
however it's based on xen wiki, so it might be a valid question to xen
community.
My question is,
when do we modify dts directly and when do we modify device tree in
the boot script?

For example,
in cubietruck case, a boot script adds address-cells and size-cells to
chosen like this.
http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Allwinner
fdt set /chosen \#address-cells <1>
fdt set /chosen \#size-cells <1>

However, in mustang case, the wiki recommends to add address-cells,
size cells to the device tree (dts file).
http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/APMXGeneMustang

I'm not sure this is just a taste, or is there any underlying principle?

Thanks,
Jintack


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.