On Wednesday, 30 September 2015, Thomas Chou <tho...@wytron.com.tw> wrote: > > 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 <tho...@wytron.com.tw> > --- > v2 > move cpu param setup to arch_cpu_init_dm, remove probe. > v3 > fix coding style as Marek suggested. > select CMD_CPU. > v4 > revert to v1 probe method. > doc dts binding. > check uclass_first_device() return. > clean up as Simon suggested. > > arch/Kconfig | 3 ++ > arch/nios2/cpu/cpu.c | 88 > ++++++++++++++++++++++++++++++++-- > arch/nios2/dts/3c120_devboard.dts | 1 + > arch/nios2/include/asm/global_data.h | 8 ++++ > configs/nios2-generic_defconfig | 3 +- > doc/device-tree-bindings/cpu/nios2.txt | 54 +++++++++++++++++++++ > 6 files changed, 152 insertions(+), 5 deletions(-) > create mode 100644 doc/device-tree-bindings/cpu/nios2.txt
Reviewed-by: Simon Glass <s...@chromium.org> > > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot