From patchwork Tue Nov 10 14:48:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Chou X-Patchwork-Id: 542408 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E4DE7140213 for ; Wed, 11 Nov 2015 01:49:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3FE454B859; Tue, 10 Nov 2015 15:49:00 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n5PKXEFAoNH9; Tue, 10 Nov 2015 15:49:00 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B114E4B85B; Tue, 10 Nov 2015 15:48:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 699A54B8C4 for ; Tue, 10 Nov 2015 15:48:54 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOhJOgqIj65j for ; Tue, 10 Nov 2015 15:48:54 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from www.wytron.com.tw (220-134-43-68.HINET-IP.hinet.net [220.134.43.68]) by theia.denx.de (Postfix) with ESMTP id 76E3A4B859 for ; Tue, 10 Nov 2015 15:48:50 +0100 (CET) Received: from localhost.localdomain (unknown [192.168.1.250]) by www.wytron.com.tw (Postfix) with ESMTP id 62382D002E8; Tue, 10 Nov 2015 22:48:43 +0800 (CST) From: Thomas Chou To: u-boot@lists.denx.de Date: Tue, 10 Nov 2015 22:48:40 +0800 Message-Id: <1447166921-28999-1-git-send-email-thomas@wytron.com.tw> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1447159057-15865-1-git-send-email-thomas@wytron.com.tw> References: <1447159057-15865-1-git-send-email-thomas@wytron.com.tw> Cc: Marek Vasut , lftan@altera.com, clsee@altera.com Subject: [U-Boot] [PATCH v2 1/2] nios2: rename board nios2-generic to 3c120_devboard X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 Reviewed-by: Marek Vasut --- 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