[U-Boot] ATMEL atmel_dataflash_spi.c - work at hand - can someone do it ?

6 Jun
2011
6 Jun
'11
11:58 a.m.
Hello,
I am just now quick fixing that driver so it will build with current TOT. But this driver otherwise still is a bit of a mess:
1. It does not use struct SoC access.
2. It needs to include BOTH drivers/spi/atmel_spi.h AND arch/arm/include/asm/arch-at91/at91_spi.h !
It would be helpful is someone interested would implement the following changes:
1. get rid of at91_spi.h (move SoC struct to atmel_spi.h, the LEGACY defines in that file are also found in atmel_spi.h with an improved name scheme) 2. change driver to use defines from atmel_spi.h (see 1.) 3. change driver to use struct SoC access (that would be perfect!)
It might also be possible to do some factoring of atmel_spi.c and atmel_dataflash_spi.c?
Best Regards,
Reinhard
5088
Age (days ago)
5088
Last active (days ago)
0 comments
1 participants
participants (1)
-
Reinhard Meyer