From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 25 Apr 2013 16:45:10 +0200 Subject: [U-Boot] [PATCH V2 6/6] arm: mx5: Add support for DENX M53EVK In-Reply-To: <201304251536.25699.marex@denx.de> References: <1366559547-9063-1-git-send-email-marex@denx.de> <201304242052.43002.marex@denx.de> <5178D93B.9040104@denx.de> <201304251536.25699.marex@denx.de> Message-ID: <51794176.6090004@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 On 25/04/2013 15:36, Marek Vasut wrote: > Dear Stefano Babic, > Hi Marek, >> At least add documentation in the README. It is only your choice if you >> will add two different targets to boards.cfg > > I'd prefer not to do that. We're currently booting from NAND and SD, so we use > u-boot.imx resp. u-boot-with-nand-spl.imx there. But using the BOOT_FROM "nand" > in the imximage.cfg is indeed wrong. We should focus on fixing that. > > We can now pre-process the imximage.cfg with CPP, so why don't we just replace > BOOT_FROM "foobar" with BOOT_OFFSET CONFIG_IMX_BOOT_OFFSET +1 > as mentioned by > someone in the thread already and setup the offset either in board config file > or boards.cfg and even have some default value? Agree Best regards, Stefano -- ===================================================================== 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 =====================================================================