similarity index 93%
rename from configs/nios2-generic_defconfig
rename to configs/3c120_defconfig
@@ -1,5 +1,5 @@
CONFIG_NIOS2=y
-CONFIG_SYS_CONFIG_NAME="nios2-generic"
+CONFIG_SYS_CONFIG_NAME="3c120_devboard"
CONFIG_DM_SERIAL=y
CONFIG_DM_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="3c120_devboard"
@@ -45,9 +45,9 @@ the sequence of these devices, like this,
};
Next, you will need a default config file. You may start with
-nios2-generic_defconfig, modify the options and save it.
+3c120_defconfig, modify the options and save it.
-$ make nios2-generic_defconfig
+$ make 3c120_defconfig
$ make menuconfig
$ make savedefconfig
$ cp defconfig configs/mysystem_defconfig
@@ -72,9 +72,9 @@ copies all the u-boot-dtb.bin, not just u-boot.bin.
binary. This is handy for development, eg, using gdb or nios2-download.
The last thing, legacy board header file describes those config options
-not covered in Kconfig yet. You may copy it from nios2-generic.h.
+not covered in Kconfig yet. You may copy it from 3c120_devboard.h.
-$ cp include/configs/nios2-generic.h include/configs/mysystem.h
+$ cp include/configs/3c120_devboard.h include/configs/mysystem.h
Please change the SDRAM base and size to match your board. The base
should be cached virtual address, for Nios II with MMU it is 0xCxxx_xxxx
similarity index 100%
rename from include/configs/nios2-generic.h
rename to include/configs/3c120_devboard.h
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel, namely 3c120 and 10m50. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> --- v2 use git format-patch -M -C as suggested by Marek. configs/{nios2-generic_defconfig => 3c120_defconfig} | 2 +- doc/README.nios2 | 8 ++++---- include/configs/{nios2-generic.h => 3c120_devboard.h} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename configs/{nios2-generic_defconfig => 3c120_defconfig} (93%) rename include/configs/{nios2-generic.h => 3c120_devboard.h} (100%)