From: Wolfgang Denk Date: Tue, 16 Apr 2013 07:36:40 +0200 Subject: [U-Boot] [PATCH 2/3] wandboard: Add support for carrier board MicroSD card In-Reply-To: References: <1366032948-9920-1-git-send-email-otavio@ossystems.com.br> <1366032948-9920-2-git-send-email-otavio@ossystems.com.br> Message-ID: <20130416053640.EE8B4200568@gemini.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 Dear Otavio Salvador, In message you wrote: > > + default: > + printf("ERROR: you configured more USDHC controllers" > + "(%d) than supported by the board\n", i + 1); > + return -EINVAL; > + } Can you please make this a compile time test and error? Thanks. Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Do not follow where the path may lead....go instead where there is no path and leave a trail.