Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp919354imm; Tue, 3 Jul 2018 02:15:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpecYTTHnQMZbXfwlGGamYuwiiso1/ycFqSiqfs2Q/46XsN5tNBYAEPunl5Dh+MikAp5l1cZ X-Received: by 2002:a65:618c:: with SMTP id c12-v6mr22626271pgv.411.1530609351530; Tue, 03 Jul 2018 02:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530609351; cv=none; d=google.com; s=arc-20160816; b=vQPL4SlHJdr90BlyoiNZJTWwkh9perOegtp6j5d6Kaq8otOQnLOA3VqDswJUiT+Mjq c0hi6w93+tezhu3Pkbi1amhkFg1gqCauy8rvZg53/eSG7z98NlPteGhNo74m5/aPRxuz n8e0Y1l5bSUPKQJeevJvemjjdmE+t0Na/2IS2FFTu06q9AlWhxelJi0JEFj6zcM4YNQa 7wrZU/h4iQ5Ufdk4gdno3cl+PiFyB2m1lZMHYJg5rAmN2Pzo5kkchXnKemEfpVjAGH0B c39vzlg/yhMCDYHH4Qkog/xVcaJV/K04cOc7ofx9Dv0X55LCm9AunXSyiQmUuSRcYipE 25sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=O1dGQEsKOOlmpdCv3131mgGOxHN7eB0BCXNiMh3JFcY=; b=k6wIJBEE7K1izPOeKOq4QcncVPcprdqdLvo95bh7ocyr3qhKive/RQzuH4TkG7eArz 3lsVCflASaFj35hL1PiwCHvyirrWCicIKuObydYuaypuuEkjUKldC1Qe5JOqP9MjbqZM XdwslV9nj/Q3SZQmMvdZqYK8BvHJAvBBmSEfX+vetjiF0n8UtGHlAG0sL02hSt5aT3jS Gbtp0yUtYx1Jiakw/O9i5y0j9Yr6tn1AmaEiwExUfeGxuQcMisWtG0wpYhP6bRWb/1zd tMn1f5aKFj+llzj1xcXqKUp56gP6j6aI9ZbuEB2jfsdulW10oDV3xWSnxdVhteX0XIbJ 35nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13-v6si604619pgq.316.2018.07.03.02.15.23; Tue, 03 Jul 2018 02:15:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754616AbeGCJOV (ORCPT + 99 others); Tue, 3 Jul 2018 05:14:21 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:57340 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754096AbeGCJOU (ORCPT ); Tue, 3 Jul 2018 05:14:20 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.3124299|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03310;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.CLhT.gp_1530609249; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CLhT.gp_1530609249) by smtp.aliyun-inc.com(10.147.42.135); Tue, 03 Jul 2018 17:14:09 +0800 Date: Tue, 3 Jul 2018 17:14:09 +0800 From: Guo Ren To: Rob Herring Cc: linux-arch@vger.kernel.org, Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , Arnd Bergmann , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, Greentime Hu Subject: Re: [PATCH V2 01/19] csky: Build infrastructure Message-ID: <20180703091407.GA31664@guoren> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 02, 2018 at 09:33:51PM -0600, Rob Herring wrote: > > +config CSKY_BUILTIN_DTB > > + bool "Use kernel builtin dtb" > > + > > +config CSKY_BUILTIN_DTB_NAME > > + string "kernel builtin dtb name" > > + depends on CSKY_BUILTIN_DTB > > +endmenu > > These options generally exist for backwards compatibility with legacy > bootloaders that don't support DT which shouldn't apply here given > this is a new arch. If we need this for other reasons, it should not > be an architecture specific option. We want the BUILTIN_DTB for some boards and they don't need change dtb at all. And I just follow other archs BUILTIN_DTB in their Kconfig. eg: xtensa, h8300, mips, nds32, sh, openrisc, arc ... I just keep this in Kconfig.debug and it's not a recommended method. Guo Ren