From 9a585cd7327d0bdcfc51e120c1b7f5f45354116b Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Mon, 8 Sep 2014 10:53:05 +0400 Subject: openrisc: add initial device tree support Signed-off-by: Antony Pavlov Cc: Franck Jullien Signed-off-by: Sascha Hauer --- arch/openrisc/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arch/openrisc/Kconfig') diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index 23c6a71f3a..483ae6db4a 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig @@ -1,5 +1,6 @@ config OPENRISC bool + select OFTREE select HAS_CACHE select HAVE_CONFIGURABLE_MEMORY_LAYOUT select HAVE_DEFAULT_ENVIRONMENT_NEW @@ -11,6 +12,14 @@ config ARCH_TEXT_BASE hex default 0x00000000 +config BUILTIN_DTB + bool "link a DTB into the barebox image" + depends on OFTREE + +config BUILTIN_DTB_NAME + string "DTB to build into the barebox image" + depends on BUILTIN_DTB + choice prompt "Select your board" -- cgit v1.2.3