[U-Boot-Users] Adding multiple MIPS based SoCs?
Wolfgang Denk
wd at denx.de
Tue Aug 22 17:42:15 CEST 2006
In message <00a201c6c5fc$13e4a5a0$104765d5 at 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 at 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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real Programmers always confuse Christmas and Halloween because
OCT 31 == DEC 25 ! - Andrew Rutherford (andrewr at ucs.adelaide.edu.au)
More information about the U-Boot
mailing list