summaryrefslogtreecommitdiffstats
path: root/arch/metag/kernel/devtree.c
Commit message (Collapse)AuthorAgeFilesLines
* metag: use common of_flat_dt_match_machineRob Herring2013-10-091-41/+19
| | | | | | | | | Convert metag to use the common of_flat_dt_get_machine_name function. Signed-off-by: Rob Herring <rob.herring@calxeda.com> [james.hogan: fix missing arch_get_next_mach and const mismatch] Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: James Hogan <james.hogan@imgtec.com>
* metag: use early_init_dt_scanRob Herring2013-10-091-6/+1
| | | | | | | Convert metag to use new early_init_dt_scan function. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: James Hogan <james.hogan@imgtec.com>
* metag: use unflatten_and_copy_device_treeRob Herring2013-10-091-16/+0
| | | | | | | | Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Cc: James Hogan <james.hogan@imgtec.com>
* metag: copy devicetree to non-init memoryJames Hogan2013-03-021-0/+17
| | | | | | | | | | | | | Make a copy of the device tree blob in non-init memory. It is required when using built-in device tree files that the platform code copies the blob to non-init memory prior to calling unflatten_device_tree(), otherwise the strings that the device tree refer to will get poisoned and potentially reused, breaking later reading of the device tree post-init (such as compatible matching in modules, debugfs, and the procfs interface). Signed-off-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
* metag: Device treeJames Hogan2013-03-021-0/+97
Add device tree files to arch/metag. Signed-off-by: James Hogan <james.hogan@imgtec.com> Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
OpenPOWER on IntegriCloud