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>
Showing
- arch/Kconfig 3 additions, 0 deletionsarch/Kconfig
- arch/nios2/cpu/cpu.c 87 additions, 3 deletionsarch/nios2/cpu/cpu.c
- arch/nios2/include/asm/global_data.h 9 additions, 0 deletionsarch/nios2/include/asm/global_data.h
- configs/nios2-generic_defconfig 1 addition, 2 deletionsconfigs/nios2-generic_defconfig
- doc/device-tree-bindings/cpu/nios2.txt 54 additions, 0 deletionsdoc/device-tree-bindings/cpu/nios2.txt
Loading
Please register or sign in to comment