ARC: [DeviceTree] Basic support
authorVineet Gupta <vgupta@synopsys.com>
Tue, 22 Jan 2013 11:30:52 +0000 (17:00 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 15 Feb 2013 17:45:55 +0000 (23:15 +0530)
commit999159a5381bff3bd6f688c5d20fbec9d8789e53
treed54af343e2fa905b3d97d9dd87d763a43b256067
parentee36d1722112f33725ec1a7fc02f6c46e630fd27
ARC: [DeviceTree] Basic support

This is minimal infrastructure needed for devicetree work.
It uses an a sample "skeleton" devicetree - embedded in kernel image -
to print the board, manufacturer by parsing the top-level "compatible"
string.

As of now we don't need any additional "board" specific "machine_desc".

TODO: support interpreting the command line as boot-loader passed dtb

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
arch/arc/Kconfig
arch/arc/Makefile
arch/arc/boot/dts/Makefile [new file with mode: 0644]
arch/arc/boot/dts/skeleton.dts [new file with mode: 0644]
arch/arc/boot/dts/skeleton.dtsi [new file with mode: 0644]
arch/arc/include/asm/prom.h [new file with mode: 0644]
arch/arc/include/asm/sections.h
arch/arc/kernel/Makefile
arch/arc/kernel/devtree.c [new file with mode: 0644]
arch/arc/kernel/setup.c
arch/arc/mm/init.c