[U-Boot-Users] AT91 NAND om AT91SAM9260EK

Ulf Samuelsson ulf at atmel.com
Sun Feb 11 22:54:39 CET 2007


For people that has not looked into what the three submitted patches do:

They create the same end result as if you had done the following:

1) Fix a bug in "board/cmc_pu2/at45.c" making it a true duplicate
    of ."board/at91rm9200dk/at45.c" (currently they differ in one line)
2) Move "board/at91rm9200dk/at45.c" to "drivers/at45.c"
3) Remove "board/cmc_pu2/at45.c".
4) Remove references to at45.c in the "board/xxx/Makefile"'s.
5) Ensure that the "drivers/Makefile"  build "drivers/at45.c"
6) Move those parts of at45 which refer to at91rm9200 H/W
    to "cpu/arm920t/at91rm9200/spi.c"
7) Ensure "cpu/arm920t/at91rm9200/Makefile" builds the spi.c

The end result is that there is no duplication left in U-boot of
either the at45.c nor the spi.c contents.



Best Regards
Ulf Samuelsson 




More information about the U-Boot mailing list