From owner-svn-src-all@FreeBSD.ORG Sun Sep 2 20:22:13 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE70F1065670 for ; Sun, 2 Sep 2012 20:22:13 +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 5EEA38FC0C for ; Sun, 2 Sep 2012 20:22:13 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2282647bkc.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=dc1re/gQ1q/zLuHoq8UsD9X0hORDG/Wa9b2ez9pEvrxPtNwC9sOkbdYLcM/B4LxD/Y m1Y2cwjelsWXPKP6cgamZQsG1X81it426G6LuLgIBCoiYEOmICVoyY92eiADRWRKAi82 /C9ZnhLqMbldryqs2d8RR6M9Urx4OoIMtqs2MicsPDLL+Jzxge3L6GxVfqaCt7LmEEfB uiCOLPEH3XuLQLW/MmXv1piiDETTKJSwz98haaWHFDPAYyEMck4v50yNyjtO69FENLTh mG2SepBlN6cCGOfhfR1b4aKFSVbVEkDAIU7WSi1GRFZ2ntjZEKIs0UMm/7Xn5cFQcpUn 1vlw== 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: ALoCoQnQzE3sfVvQYwW8KMVGlzW8xr++i5PuVl4Zbn4Ngd4XDr3uj2Nzr0s1MD6jT8W61Xez89es 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 20:22:13 -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