[U-Boot] at91sam9263_nandflash build issues
Marek Vasut
marek.vasut at gmail.com
Wed Feb 2 10:06:41 CET 2011
On Wednesday 02 February 2011 09:16:46 Reinhard Meyer wrote:
> Dear Marek Vasut,
>
Hi,
> > The problem is clear from this IRC log, where "vickylinuxer" described
> > his grief (so I included the log, the board really doesn't build). I
> > also did a quick and dirty patch (follows the log, it might give you an
> > idea where it breaks, but it's a mess -- not all is relevant and it
> > probably breaks it even more).
>
> All ATMEL AT91 boards except for AT91SAM9260ek (which I fixed) boards are
> currently broken. People are working towards bringing the others in-line
> again, but that will take time.
All right. No need to worry, we all are busy :)
>
> > diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c
> > index bfa1f3a..1cc8bc0 100644
> > --- a/drivers/serial/atmel_usart.c
> > +++ b/drivers/serial/atmel_usart.c
> > @@ -23,6 +23,7 @@
> >
> > #include <asm/io.h>
> > #include <asm/arch/clk.h>
> >
> > +#include <asm/arch/hardware.h>
> >
> > #include <asm/arch/memory-map.h>
>
> Things like that are fixed at u-boot-atmel.git/rework101228...
Ok, good to know.
>
> > diff --git a/drivers/spi/atmel_dataflash_spi.c
> > b/drivers/spi/atmel_dataflash_spi.c index 4a5c4aa..d5215c0 100644
> > --- a/drivers/spi/atmel_dataflash_spi.c
> > +++ b/drivers/spi/atmel_dataflash_spi.c
> > @@ -158,12 +158,12 @@ unsigned int AT91F_SpiWrite(AT91PS_DataflashDesc
> > pDesc)
> >
> > }
> >
> > /* arm simple, non interrupt dependent timer */
> >
> > - reset_timer_masked();
> > + reset_timer();
>
> NO. reset_timer() is not acceptable anymore. A fix is already in the list,
> I just need some time to handle it all:)
Ok, it was just a very quick thing with no thinking involved.
>
> > diff --git a/include/configs/at91sam9263ek.h
> > b/include/configs/at91sam9263ek.h index f6cb406..3db8bd0 100644
> > --- a/include/configs/at91sam9263ek.h
> > +++ b/include/configs/at91sam9263ek.h
> > @@ -27,6 +27,9 @@
> >
> > #ifndef __CONFIG_H
> > #define __CONFIG_H
> >
> > +#define CONFIG_AT91_LEGACY
>
> There should be no need for LEGACY anymore.
>
> I have project deadlines I must meet first, then I will handle all
> accumulated AT91 patches.
Ok, as I don't have any AT91 hardware, I can't help anymore :)
Cheers
>
> Best Regards,
> Reinhard
More information about the U-Boot
mailing list