On Wed, Apr 17, 2013 at 7:21 PM, Otavio Salvador <ota...@ossystems.com.br> wrote: > On Tue, Apr 16, 2013 at 2:36 AM, Wolfgang Denk <w...@denx.de> wrote: >> Dear Otavio Salvador, >> >> In message >> <cap9odkqo8v1-wyzq4_gxrz5djbd2xixw59xkozgy0zjsujj...@mail.gmail.com> 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? > > I will check how to do that.
I checked and it will be a much bigger change as it should be done in all boards using this so I will look at it but won't hold the patches for now. I will send a new revision without this change and work on this. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot