summaryrefslogtreecommitdiff
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-21 13:34:57 (GMT)
committerThomas Chou <thomas@wytron.com.tw>2015-10-22 23:37:03 (GMT)
commitbcae80e9551bc0ba2d67e78bda57b9283b4bab12 (patch)
tree200069cf225f838daaaaf8d5cb0958d5a0b164b5 /arch/Kconfig
parent88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db (diff)
downloadu-boot-bcae80e9551bc0ba2d67e78bda57b9283b4bab12.tar.xz
nios2: convert nios2 cpu to driver model
Convert nios2 cpu to driver model. The cpu parameters are extracted from device tree and saved to global data structure. We will use them to replace the custom_fpga.h . Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r--arch/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 207c778..9be1538 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -64,6 +64,9 @@ config NIOS2
select HAVE_GENERIC_BOARD
select SYS_GENERIC_BOARD
select SUPPORT_OF_CONTROL
+ select OF_CONTROL
+ select DM
+ select CPU
config OPENRISC
bool "OpenRISC architecture"