From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 19 Apr 2013 11:00:50 +0200 Subject: [U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL In-Reply-To: <20130419102717.71299343@e6520eb> References: <1366296086-22394-1-git-send-email-p.aubert@staubli.com> <20130418173739.88D9A20019A@gemini.denx.de> <5170FD35.7050700@denx.de> <20130419102717.71299343@e6520eb> Message-ID: <517107C2.7090307@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 19/04/2013 10:27, Eric B?nard wrote: > Hi Stefano, > Hi Eric, >>> Can we please avoid such #ifdef's? Here, we could for example refer >>> to the board name (CONFIG_SYS_BOARD if you like the name, or some >>> custom defined CONFIG_BOARD_NAME like other boards do). >> >> And who does set CONFIG_MX6Q ? You drop it, but I do not see who sets it. >> > that's done in boards.cfg : > +++ b/boards.cfg > +mx6qsabreauto arm armv7 mx6qsabreauto freescale mx6 mx6qsabreauto:IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q Ah, ok, thanks. 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 =====================================================================