
These patches add device tree control of U-Boot to nios2 boards.
v2 use SPDX license header. use fdt relocation in board_init_f.
Thomas Chou (8): nios2: permit device tree control of U-Boot nios2: move altera_pio_init to board_early_init_r nios2: BSS should be cleared only after board_init_f nios2: enlarge the code relocation range nios2: remove gp assignments in link script nios2: define _end in link script nios2: show fdt blob address in board info command nios2: enable device tree control of U-Boot
arch/Kconfig | 1 + arch/nios2/cpu/start.S | 34 ++++--- arch/nios2/cpu/u-boot.lds | 12 ++- arch/nios2/dts/.gitignore | 1 + arch/nios2/dts/3c120_devboard.dts | 153 +++++++++++++++++++++++++++++ arch/nios2/dts/Makefile | 11 +++ arch/nios2/dts/include/dt-bindings | 1 + board/altera/nios2-generic/nios2-generic.c | 13 ++- common/cmd_bdinfo.c | 3 + configs/nios2-generic_defconfig | 2 + include/configs/nios2-generic.h | 1 + 11 files changed, 209 insertions(+), 23 deletions(-) create mode 100644 arch/nios2/dts/.gitignore create mode 100644 arch/nios2/dts/3c120_devboard.dts create mode 100644 arch/nios2/dts/Makefile create mode 120000 arch/nios2/dts/include/dt-bindings