[U-Boot] [U-Boot-DM] List of offending drivers

Andreas Bießmann
2012-08-01T10:11:01Z

Dear Marek Vasut,

On 27.07.12 01:18, Marek Vasut wrote:
> Hello,
>
> Check the following list, it's the list of drivers scattered (misplaced) across
> the tree. The list is not complete and might be inaccurate. But it should give a
> good impression of what I'm going to break soon:
>

> board/atmel/at91rm9200ek/led.c
> board/atmel/at91sam9260ek/led.c
> board/atmel/at91sam9261ek/led.c
> board/atmel/at91sam9263ek/led.c
> board/atmel/at91sam9m10g45ek/led.c
> board/atmel/at91sam9rlek/led.c

these atmel specific led stuff is basically for very early debug
(switching a LED after relocation, another one after board init, ..). It
also provides possibility to use it in assembler code sections e.g.
lowlevel_init.

I do not really care about that cause I normally use JTAG to debug early
code. The led switching at a specific stage could be done by one of the
other generic led drivers.

Beside that, I think for debugging early stage code without JTAG the
serial line is much better than a LED which can only provide two states.
Has anyone thought about that? Has anyone tried to add some
'early_printf' feature?

Best regards

Andreas Bie?mann