From owner-svn-src-head@FreeBSD.ORG Sun Sep 2 20:22:14 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5CD106566C for ; Sun, 2 Sep 2012 20:22:14 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF5B8FC12 for ; Sun, 2 Sep 2012 20:22:13 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2282646bkc.13 for ; Sun, 02 Sep 2012 13:22:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=7n660bpXpoeGuJSeZc+c5EYy1Gw0LZvqOXlP80UtU8c=; b=JMJycbel8l8nRB5OQrRz2bCETHN8GKnSgcn7zPhqLxyuCxROnWUijKUletuzswLkgJ MOPmyqZbLY6+16D/+lgh0+4iwB5/fw7cdIesXCqxBNbKfukmkIdKtKR5bJwTudsG5IPO r+T28MPmvH7ByajBhBjcF0X4ZAQZ4VOPQY9uWNYeoF0vXXhmuOtBMJScj8Aym5ogCbcP DSDoBCQVrFvazVMHrGlKoCERt8q73wnKhEkbcU2FjsUeGh0kX+mHfLPBuEDGRG9I2umt ZAeu5CxWB+8+bRyWPqDA6sklTUZ8sK0TDARZdVvzP/GNzqI7khYFc03B8xhF+FQ6qUbv D1OQ== Received: by 10.204.10.92 with SMTP id o28mr6241041bko.39.1346617332168; Sun, 02 Sep 2012 13:22:12 -0700 (PDT) Received: from rnote.ddteam.net (105-190-133-95.pool.ukrtel.net. [95.133.190.105]) by mx.google.com with ESMTPS id hs2sm6546567bkc.1.2012.09.02.13.22.09 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 13:22:11 -0700 (PDT) Date: Sun, 2 Sep 2012 23:22:04 +0300 From: Aleksandr Rybalko To: Andrew Turner Message-Id: <20120902232204.4de5f3a3.ray@ddteam.net> In-Reply-To: <201209020148.q821ml0M018010@svn.freebsd.org> References: <201209020148.q821ml0M018010@svn.freebsd.org> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnQLBtv3kwQGjw2KXcNDyBPyn6MmUyL3O2I7XcPEaEbHG0DnxTMEXOLw2MLgkCm73djQkas Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r239998 - head/contrib/dtc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 20:22:14 -0000 On Sun, 2 Sep 2012 01:48:47 +0000 (UTC) Andrew Turner wrote: > Author: andrew > Date: Sun Sep 2 01:48:47 2012 > New Revision: 239998 > URL: http://svn.freebsd.org/changeset/base/239998 > > Log: > Fix a logic inversion in an assert to allow us to use dts files that > include other files. Big Thanks for that!!! It's hard to add overlapping support also? So second instance of same node will be able to change attributes of previous one, such a "status". Or add new attributes, like GPIO lines usage. Then we will be able to have per-SoC dts and per-board. > > Modified: > head/contrib/dtc/dtc-lexer.l > > Modified: head/contrib/dtc/dtc-lexer.l > ============================================================================== > --- head/contrib/dtc/dtc-lexer.l Sat Sep 1 23:33:49 > 2012 (r239997) +++ head/contrib/dtc/dtc-lexer.l Sun > Sep 2 01:48:47 2012 (r239998) @@ -198,7 +198,7 @@ static void > push_input_file(const char * { > assert(filename); > > - assert(include_stack_pointer >= MAX_INCLUDE_NESTING); > + assert(include_stack_pointer < MAX_INCLUDE_NESTING); > > srcfile_push(filename); > Thanks. WBW -- Aleksandr Rybalko