From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 12 Aug 2019 08:39:17 +0200 Subject: [U-Boot] [PATCH v2 07/11] imx: tpc70: dts: Add TPC70 board (imx6q based) device tree description In-Reply-To: <20190811235507.GN2718@bill-the-cat> References: <20190730071213.11238-1-lukma@denx.de> <20190730071213.11238-8-lukma@denx.de> <20190811232537.15d12691@jawa> <20190811235507.GN2718@bill-the-cat> Message-ID: <20190812083917.5f688331@jawa> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, > On Sun, Aug 11, 2019 at 11:25:37PM +0200, Lukasz Majewski wrote: > > Hi Peng, > > > > > > Subject: [PATCH v2 07/11] imx: tpc70: dts: Add TPC70 board > > > > (imx6q based) device tree description > > > > > > > > This commit defines the TPC70 imx6q board with device tree > > > > description. > > > > > > Is the imx6q-kp.dtsi usable for this board from Linux kernel? > > > > > > > The imx6q-kp.dtsi is defined in the Linux kernel [1]. > > > > However, not all features - like backlight, CAN, etc. are needed in > > U-Boot. To reduce SPL footprint, as the TPC70 is the first > > board (from i.MX6Q family of SoCs) which uses only DM in SPL and > > U-Boot proper, only the necessary subset of [1] was added to U-Boot. > > > > Note: > > > > [1] - > > https://elixir.bootlin.com/linux/v5.2.8/source/arch/arm/boot/dts/imx6q-kp.dtsi > > > > Right, and that's what we have CONFIG_OF_SPL_REMOVE_PROPS for, yes? > Not quite. For example I need "clocks" property, which is defined for almost all nodes. This incurs some extra cost in terms of footprint. To reduce the SPL size (to which dtb file size contributes), I had to not include full DTS from Linux in U-Boot. I only used a subset of it (only _really_ necessary description to run U-Boot) to reduce size of SPL binary. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: