nios2: convert nios2 cpu to driver model
authorThomas Chou <thomas@wytron.com.tw>
Wed, 21 Oct 2015 13:34:57 +0000 (21:34 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:03 +0000 (07:37 +0800)
commitbcae80e9551bc0ba2d67e78bda57b9283b4bab12
tree200069cf225f838daaaaf8d5cb0958d5a0b164b5
parent88d5ecf4b9c0d5a3bff5d6d98ab7383a550a57db
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>
arch/Kconfig
arch/nios2/cpu/cpu.c
arch/nios2/include/asm/global_data.h
configs/nios2-generic_defconfig
doc/device-tree-bindings/cpu/nios2.txt [new file with mode: 0644]