From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 29 Jun 2015 10:19:47 +0200 Subject: [U-Boot] [PATCH v2 7/8] imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support In-Reply-To: <20150629080643.GB17763@shlinux2> References: <1434018642-16990-1-git-send-email-Peng.Fan@freescale.com> <1434018642-16990-7-git-send-email-Peng.Fan@freescale.com> <558ED87E.5060608@denx.de> <20150629020500.GB13677@shlinux2> <5590F312.4070205@denx.de> <20150629080643.GB17763@shlinux2> Message-ID: <5590FFA3.8030105@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 Peng, On 29/06/2015 10:06, Peng Fan wrote: >> There is an important goal: having a single U-Boot image running on >> boards that can have different (pin compatible) SOCs. We get this >> managing the different layout of the IOMUXC, that was maybe the most >> difficult part - why do we go back when we can't ? > > Get you. > I saw the code in gw_ventana.c to detect the DTB at runtime. > To imx6q/qp/dl sabreauto board, there is no place to store info such as > ventana_board_info. But this is a good point that gw_ventana use the way > to do runtime check, which can make one image goal for pin compatible SOCs. Right - and this will be appreciate by sabreauto customers, who should not deal with several U-Boot images. And maybe asking why board is not booting after installing the wrong one. > To the i.mx6qp board patch, I can use this way to remove the > DTB related #ifdefs, use the way that gw_ventana uses. Will split the current > patch into two, one to refacotr the current code to use runtime DTB detect, > the second one is to add i.mx6qp support. It looks like a nice plan ;-). Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk 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 =====================================================================