aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-11-03 16:30:13 -0400
committerChris Zankel <chris@zankel.net>2012-12-19 00:10:23 -0500
commitda844a81779e2bb263eca4ecb1046541fdb11cf8 (patch)
tree22f332194e7c13b1b4e2f9715c047722d0dd958a /arch/xtensa/Kconfig
parent2206d5dd9a785a74afc6981f2b13b7a4d4da6f31 (diff)
xtensa: add device trees support
Device trees allow specification of hardware topology and device parameters at runtime instead of hard-coding them in platform setup code. This allows running single binary kernel on a range of compatible boards. New boot parameters tag BP_TAG_FDT is allocated and a pointer to flat device tree is passed in it. Note that current interrupt mapping scheme uses single cell for interrupt identification. That means that IRQ numbers used in DTS must be CPU internal IRQ numbers, not external. It is possible to extend interrupt identification to two cells, and use second cell to tell external IRQ numbers form internal. That would allow to use single DTS on multiple boards with different mapping of external IRQ numbers. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 1816abc5c8d5..8ceb5b2ffbb1 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -178,6 +178,17 @@ config CMDLINE
178 time by entering them here. As a minimum, you should specify the 178 time by entering them here. As a minimum, you should specify the
179 memory size and the root device (e.g., mem=64M root=/dev/nfs). 179 memory size and the root device (e.g., mem=64M root=/dev/nfs).
180 180
181config USE_OF
182 bool "Flattened Device Tree support"
183 select OF
184 select OF_EARLY_FLATTREE
185 help
186 Include support for flattened device tree machine descriptions.
187
188config BUILTIN_DTB
189 string "DTB to build into the kernel image"
190 depends on OF
191
181source "mm/Kconfig" 192source "mm/Kconfig"
182 193
183source "drivers/pcmcia/Kconfig" 194source "drivers/pcmcia/Kconfig"