From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 14 Nov 2014 09:02:52 +0100 Subject: [U-Boot] [PATCH] mx6sabresd: Move the DCD settings to spl code In-Reply-To: References: <1415915913-17096-1-git-send-email-festevam@gmail.com> <54653BB8.7050007@denx.de> Message-ID: <5465B72C.4030007@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On 14/11/2014 00:24, Fabio Estevam wrote: > On Thu, Nov 13, 2014 at 9:16 PM, Stefano Babic wrote: > >> mkimage is called with the .cfg file, and if it is removed, no imx image >> file is generated. I think that then the i.MX cannot boot, because the >> resulting image will miss the "magic number" in the headers as described >> in manuals. So I think that a minimal .cfg is required (without DCD and >> register setting) to let U-Boot build system to generate an imx image file. > > Got it, so we can keep this minimal .cfg then. After this patch the > spl .cfg it will only contain > > IMAGE_VERSION 2 > BOOT_FROM sd > Perfect ! I think that other boards can use this minimal setup as well. What do you think to move it into imx-common ? Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================