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 <tho...@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%) diff --git a/configs/nios2-generic_defconfig b/configs/3c120_defconfig similarity index 93% rename from configs/nios2-generic_defconfig rename to configs/3c120_defconfig index 0a6de6f..736119e 100644 --- a/configs/nios2-generic_defconfig +++ b/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" diff --git a/doc/README.nios2 b/doc/README.nios2 index 2dab7d1..a33c4e8 100644 --- a/doc/README.nios2 +++ b/doc/README.nios2 @@ -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 diff --git a/include/configs/nios2-generic.h b/include/configs/3c120_devboard.h similarity index 100% rename from include/configs/nios2-generic.h rename to include/configs/3c120_devboard.h -- 2.5.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot