[U-Boot-Users] Bug in AT91RM9200.h

Steven Scholz steven.scholz at imc-berlin.de
Mon Oct 10 14:23:06 CEST 2005


Guys,

A while ago I sent the following the the linux arm ML. I am sure this
applies to U-Boot as well!

> I just noticed the following:
> 
> in incluse/asm-arm/mach-at91rm9200/AT91RM9200.h
> 
> #define AT91C_SMC2_DBW        (0x1 << 13) // (SMC2) Data Bus Width
> 
> and drivers/pcmcia/at91_cf.c uses code like
> 
>     csr &= ~AT91C_SMC2_DBW;
> 
> BUT:
> 
> According to the User Man the "DBW: Data Bus Width" field is _TWO_ bits.
> Thus it should be
> 
> #define AT91C_SMC2_DBW        (0x3 << 13) // (SMC2) Data Bus Width

So please apply this trivial.

* Fix define in AT91RM9200.h
  Patch by Steven Scholz, 10 Oct 2005

--
Steven

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: at91rm9200.h.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20051010/b3f32431/attachment.txt 


More information about the U-Boot mailing list