
In message 00a201c6c5fc$13e4a5a0$104765d5@atmel.com you wrote:
Since the flash.c is in many cases identical, does it not make more sense to have it in the drivers directory, and then call it something more specific like:
You should never duplicate code. If you are aware that you diplicate one forle for another port, you should always use common code. There are many examples for this; for example, type:
-> ls -d board/*/common
in the U-Boot source directory.
Then anyone can use these files for their board, instead of duplicating the file.
You should nevcer duplicated files.
Please do not send mails or "reply" to ulfs@dof.se,
Please do not explicitely set the "From:" and "Return-path:" headers to an address you don't want to see used.
Best regards,
Wolfgang Denk