From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 05 Nov 2009 21:16:39 +0100 Subject: [U-Boot] [PATCH] v2 Linuxstamp II 9260 support In-Reply-To: References: <1257312932-7229-1-git-send-email-pthomas8589@gmail.com> <4AF212AF.1060007@windriver.com> <4AF21ECD.8000308@windriver.com> Message-ID: <20091105201639.B848E3F6EC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Paul Thomas, In message you wrote: > > > I have looked at about half of them. > > It looks like partition tables are identical. Right, and such duplication should be avoided. > > I am interested in a way to generalize this file > > and move it to the cpu layer so all the common > > or nearly common files can be reduced to 1 file Me too. > This structure in partition.c is board specific not cpu specific. Even > if all the current boards are exactly the same there would need to be > a way someone could change this in the future without breaking other > boards. In could be in the .c or .h file if that would make is Agreed. But as it is, most boards do use the same default settings. So please let us provide a common default, which can be used where it fits (which seems to be the majority of systems) and overwritten where it doesn't fit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality. -- Albert Einstein