[U-Boot] [PATCH 7/9] at91rm9200: fix DCC support

Jean-Christophe PLAGNIOL-VILLARD
2009-03-09T17:12:56Z

On 16:50 Mon 09 Mar , Wolfgang Denk wrote:
> Dear Jean-Christophe PLAGNIOL-VILLARD,
>
> In message <20090309120954.GK24237@game.jcrosoft.org> you wrote:
> >
> > > > > The #ifdef above does not seem to depend on DCC at all?
> > >
> > > You did not answer this question.
> > >
> > > > > And what does it hurt if we always shut down the console? To me that
> > > > > looks clearer than an additional #ifdef.
> > the UART code is not active or compile so you can't do it.
>
> This statement makes no sense to me. If the #ifdef has any effect,
> then this code is actually compiled. What would happen if the
> statement would be executed?
>
> Actually this is a question I repeat in all my replies to your
> posting - what exactly is the problem with the current code? Does it
> cause crashes or so? Or is it just that you think it is not necessary
> because UARTs are not active?
It does not build because the serial driver of the rm9200 is not compiled

this code must be use only if this driver is compile not everytime

Best Regards,
J.