diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-22 06:30:52 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:45:55 -0500 |
commit | 999159a5381bff3bd6f688c5d20fbec9d8789e53 (patch) | |
tree | d54af343e2fa905b3d97d9dd87d763a43b256067 /arch/arc/Kconfig | |
parent | ee36d1722112f33725ec1a7fc02f6c46e630fd27 (diff) |
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>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index a3538493e353..76668579b543 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -24,8 +24,11 @@ config ARC | |||
24 | select GENERIC_SMP_IDLE_THREAD | 24 | select GENERIC_SMP_IDLE_THREAD |
25 | select HAVE_GENERIC_HARDIRQS | 25 | select HAVE_GENERIC_HARDIRQS |
26 | select HAVE_MEMBLOCK | 26 | select HAVE_MEMBLOCK |
27 | select IRQ_DOMAIN | ||
27 | select MODULES_USE_ELF_RELA | 28 | select MODULES_USE_ELF_RELA |
28 | select NO_BOOTMEM | 29 | select NO_BOOTMEM |
30 | select OF | ||
31 | select OF_EARLY_FLATTREE | ||
29 | 32 | ||
30 | config SCHED_OMIT_FRAME_POINTER | 33 | config SCHED_OMIT_FRAME_POINTER |
31 | def_bool y | 34 | def_bool y |
@@ -320,6 +323,12 @@ config CMDLINE_UBOOT | |||
320 | to it. kernel startup code will copy the string into cmdline buffer | 323 | to it. kernel startup code will copy the string into cmdline buffer |
321 | and also append CONFIG_CMDLINE. | 324 | and also append CONFIG_CMDLINE. |
322 | 325 | ||
326 | config ARC_BUILTIN_DTB_NAME | ||
327 | string "Built in DTB" | ||
328 | help | ||
329 | Set the name of the DTB to embed in the vmlinux binary | ||
330 | Leaving it blank selects the minimal "skeleton" dtb | ||
331 | |||
323 | source "kernel/Kconfig.preempt" | 332 | source "kernel/Kconfig.preempt" |
324 | 333 | ||
325 | endmenu # "ARC Architecture Configuration" | 334 | endmenu # "ARC Architecture Configuration" |