From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 10 May 2017 17:43:32 -0400 Subject: [U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes In-Reply-To: <20170501151852.26670-9-sjg@chromium.org> References: <20170501151852.26670-1-sjg@chromium.org> <20170501151852.26670-9-sjg@chromium.org> Message-ID: <20170510214332.GY12511@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, May 01, 2017 at 09:18:51AM -0600, Simon Glass wrote: > With live tree we need a struct device_node * to reference a node. With > the existing flat tree, we need an int offset. We need to unify these into > a single value which can represent both. > > Add an ofnode union for this and adjust existing code to move to this. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: