Update PCI dev_root struct definition generation explanation comment to v3 reality
v3 uses dtc to create $(obj)/mainboard/$(MAINBOARDDIR)/statictree.c not the config.py tool as in v2.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee --- device/root_device.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/device/root_device.c b/device/root_device.c index 8d809bc..34b74d3 100644 --- a/device/root_device.c +++ b/device/root_device.c @@ -200,6 +200,7 @@ struct device_operations default_dev_ops_root = { * The root of device tree. * * This is the root of the device tree. The device tree is defined in the - * static.c file and is generated by config tool during compile time. + * build/mainboard/<board>/statictree.c file and is generated by the dtc util + * during build time. */ extern struct device dev_root;
On Tue, Jan 6, 2009 at 8:09 AM, Mart Raudsepp mart.raudsepp@artecdesign.ee wrote:
Update PCI dev_root struct definition generation explanation comment to v3 reality
v3 uses dtc to create $(obj)/mainboard/$(MAINBOARDDIR)/statictree.c not the config.py tool as in v2.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee
device/root_device.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/device/root_device.c b/device/root_device.c index 8d809bc..34b74d3 100644 --- a/device/root_device.c +++ b/device/root_device.c @@ -200,6 +200,7 @@ struct device_operations default_dev_ops_root = {
- The root of device tree.
- This is the root of the device tree. The device tree is defined in the
- static.c file and is generated by config tool during compile time.
- build/mainboard/<board>/statictree.c file and is generated by the dtc util
- during build time.
Maybe we should mention mainboard/<vendor>/<board>/dts here.
Thanks, Myles
Dear Mart,
Am Dienstag, den 06.01.2009, 17:09 +0200 schrieb Mart Raudsepp:
Update PCI dev_root struct definition generation explanation comment to v3 reality
v3 uses dtc to create $(obj)/mainboard/$(MAINBOARDDIR)/statictree.c not the config.py tool as in v2.
Signed-off-by: Mart Raudsepp mart.raudsepp@artecdesign.ee
device/root_device.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/device/root_device.c b/device/root_device.c index 8d809bc..34b74d3 100644 --- a/device/root_device.c +++ b/device/root_device.c @@ -200,6 +200,7 @@ struct device_operations default_dev_ops_root = {
- The root of device tree.
- This is the root of the device tree. The device tree is defined in the
- static.c file and is generated by config tool during compile time.
- build/mainboard/<board>/statictree.c file and is generated by the dtc util
s/util/utility/ (I would prefer that.)
*/
- during build time.
extern struct device dev_root;
Thanks,
Paul