From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Elwell Subject: Re: [PATCH v10 3/4] dtc: Plugin and fixup support Date: Tue, 29 Nov 2016 13:05:28 +0000 Message-ID: References: <1480077131-14526-1-git-send-email-pantelis.antoniou@konsulko.com> <1480077131-14526-4-git-send-email-pantelis.antoniou@konsulko.com> <20161128041228.GJ30927@umbus.fritz.box> <4672e164-aae0-6306-fe70-146a1f930cf7@raspberrypi.org> <20161129021131.GD13307@umbus.fritz.box> <66c7f8c5-94e9-a6ca-4402-fa0ccf2a6ac0@raspberrypi.org> <1F9EDF06-98B1-4270-AA58-1A9D9A9F9803@konsulko.com> <96BE1B80-0843-4981-AA2A-E89EA6A02600@konsulko.com> <27651F03-6E8F-4C76-A0E4-0DFBEC40277C@konsulko.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=raspberrypi.org; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp; bh=upjT6/Rhqg5TGW2zhNxeHF8XMCvtImTaJ5WB11nUYg0=; b=3jstSCUhbMHfSI8gtM1NbkW0Y/YTfejPgFfTFZAA/pSaM6gIg+6gyQZMqmNK/r+NSGbw /A0wIa98lnOFUhX8ak2LhEzrYf3skCC7MtQpEyMaD6xfEoSua4gbV+PsFsdw6bq8t4tb HtrbGQJKf0nQryuNcMFpB3ZHn9XmN9U/WrdSpJOo9l8iOjJ/8QgZlp6yAx1ZSuTOHJ2a vohvPnHkv+PBjQrp13i26bNo6CYMekO4WzpKrG4/9a4OE69/5w1CqVToPnu+oIhsMBhv sdjhGCJZ9sHqa/jiHd/OG6RfNIC0IrPRAPwW7zJovlJ1sdzlr2LcrRdbjH/pnrLKkZ7e PQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=upjT6/Rhqg5TGW2zhNxeHF8XMCvtImTaJ5WB11nUYg0=; b=B1bVJ3ZvKCTPxMR9SuU0RssS0c9HbAHnvbILv7l5lG9PZG7nq+oTlORe3i2o4smtJb F9tjfD5PDAnJhP4H2RPGvfSD2ldPRBLqeWmFk+m4pr42clJrlMoT8hKonA6Lm6YBqy7K TyMXHI7I3FdlQTlfWy+gmI7O8JFSq3J5jIVG7GD9I1nrZtJnOtAZ7w7vMgQta56mf/ev OdeqKF8LZ0CZiNXtKxZ5GYm6nEhb5gh15gvNtZn3Un2TXxv5bqdPv1b4hc/khrIN9qWW Xtig/tfMi4YeG62N8CbBJ59FK4jMIrdQADA1SJtTGjvfSTs18scBh3mOtdMvBg+/Cwx3 KRcA== In-Reply-To: <27651F03-6E8F-4C76-A0E4-0DFBEC40277C-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Pantelis Antoniou Cc: David Gibson , Jon Loeliger , Grant Likely , Frank Rowand , Rob Herring , Jan Luebbe , Sascha Hauer , Simon Glass , Maxime Ripard , Thomas Petazzoni , Boris Brezillon , Antoine Tenart , Stephen Boyd , Devicetree Compiler , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 29/11/2016 13:00, Pantelis Antoniou wrote: > An alias is the standard way to refer to nodes symbolically. They can be overwritten at > runtime without triggering an error. Can you give me a concrete example of how this would look? > Speaking of which, since these overlays are applied at runtime, why not build them with a script > and have a #define passed to the c preprocessor before compiling them? Because the parameters are applied at run time, not compile time. Phil -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html