From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D67D8C433F5 for ; Wed, 27 Oct 2021 15:36:33 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CE8660FBF for ; Wed, 27 Oct 2021 15:36:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0CE8660FBF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AECB480D1C; Wed, 27 Oct 2021 17:36:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ifEBOicz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5552580F3B; Wed, 27 Oct 2021 17:36:29 +0200 (CEST) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D615F80615 for ; Wed, 27 Oct 2021 17:36:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dezgeg@gmail.com Received: by mail-lf1-x131.google.com with SMTP id x27so7045249lfu.5 for ; Wed, 27 Oct 2021 08:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=U/4nY+vhmlEEAXndKBqzIWqlIJeRWcpnDOJfz6lmnoQ=; b=ifEBOicziUUcDaFDWrQO7m3Gf5eHQZYNmz/YsEaSTaj2SKMpKrbhLjdrk/EVJi+5r9 fpwwAvNLcQCFuEav6X+yghFEvoe90ZUcqMcm2NRHWJUaFK8ZiSFyklkHkDiw8LOyajdD 44JHy0m0KxKIOhd0Za0mh4uUGtgdqF3LU56wgIG0jncUJvcMJ1KKeFEF+DxoCaOaMDe+ D1BHSrfPqQhoM0kIblBhJDetPzqqepG1vMAcmplvkYXkXuhwTGTs786tEmR6gqy8LCkJ J0XeTta8+bP9U01E8wx3Y6sNPv9vs8i0glzSloGOfTK5TxrGMM0WTvZW/P/Nj48dySs1 aIbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=U/4nY+vhmlEEAXndKBqzIWqlIJeRWcpnDOJfz6lmnoQ=; b=jnn2zGvoH+WiOVdCjIr1H4C8h0lOYvt9MzS0Oof8sSC7OCfk6E4G0t3PyTYUxvuhM+ 4CiPInjunsGRmuis96X9NXkPidC/C+v3CTbbAdieijNSf3Uxph2pxuOf+L856yJZ+qax d3GK4p2pf3N+9kGpFJBEiDM/HyCGxFGNBL65k8ALkp/NxgdC3f/3Z7tHX4yvheOg0JSq U7Ya9lOD7+ISanr7XQasQDo+fk/INNZV9s32QysNmfLclRG3QFVE6g3mN96jGCtWb4NR A2anwwpT4mrXc/f2tN+o8+/2iEs55t8PJA4YjdIkzZ8YPYOFxOg0jLEhNXJ6ilYmQfUi riUw== X-Gm-Message-State: AOAM533pkDYQPuRuXLhv3xhiUwZJt62V8MHr0fBEHZp6/FGeSABG7ZmB u69WiKEEvimR17Qhh6KEd4E= X-Google-Smtp-Source: ABdhPJzyDb2i6QS7o/gMJ73issB1dtZuykwxewk8xaYsLOM76IZSYELZkIxPGHGjg9Nf4UM4zow/jA== X-Received: by 2002:a05:6512:e8d:: with SMTP id bi13mr27597172lfb.287.1635348985213; Wed, 27 Oct 2021 08:36:25 -0700 (PDT) Received: from ?IPv6:2001:14ba:2100:0:22ce:a5c7:6ce0:1e18? (dffyyyybc56w8r7jyd4py-3.rev.dnainternet.fi. [2001:14ba:2100:0:22ce:a5c7:6ce0:1e18]) by smtp.gmail.com with ESMTPSA id z2sm29966lfu.94.2021.10.27.08.36.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Oct 2021 08:36:24 -0700 (PDT) Subject: Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option To: Simon Glass , =?UTF-8?Q?Fran=c3=a7ois_Ozog?= Cc: Aaron Williams , Albert Aribaud , Alexander Graf , Anastasiia Lukianenko , Andre Przywara , Bin Meng , Heinrich Schuchardt , Ilias Apalodimas , Jerry Van Baren , Linus Walleij , Mark Kettenis , Matthias Brugger , Michal Simek , Oleksandr Andrushchenko , Sean Anderson , Stephen Warren , Stephen Warren , Thomas Fitzsimmons , Tom Rini , U-Boot Mailing List , QEMU Developers References: <20211026002344.405160-1-sjg@chromium.org> From: Tuomas Tynkkynen Message-ID: Date: Wed, 27 Oct 2021 18:36:12 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi, On 27.10.2021 17.08, Simon Glass wrote: > Hi François, > > On Tue, 26 Oct 2021 at 00:07, François Ozog wrote: >> >> Hi Simon >> >> Position unchanged on this series: adding fake dts for boards that generate their device tree in the dts directory is not good. If you have them in documentation the it is acceptable. > > I think we are going to have to disagree on this one. I actually used > the qemu one in testing/development recently. We have to have a way to > develop in-tree with U-Boot. It does not impinge on any of your use > cases, so far as I know. > How about having the file just contain a single line #include ... where this generated-*.dts is not checked to the source tree. Then of course comments on how to generate it via qemu -dumpdtb + dtc, with appropriate precautions (ie. must be regenerated if qemu command line is changed or qemu is upgraded), intended use case, and so forth.