From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 14 Apr 2011 07:46:45 +0200 Subject: [U-Boot] RFC: How use same interface between arm926ejs/at91 and arm920t/at91 In-Reply-To: <4DA60591.7050807@scharsoft.de> References: <4DA60591.7050807@scharsoft.de> Message-ID: <4DA68A45.8030901@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, Le 13/04/2011 22:20, Jens Scharsig a ?crit : > Hello, > > Am 2011-04-13 00:37, schrieb Andreas Bie?mann: >> >> So my question is how should we handle this? >> >> I see three options here: >> a) include necessary files from arm926ejs in am920t build (maybe with >> some extra arm920t related defines in ar926ejs) >> b) copy current arm926ejs files to arm920t (and maybe clean them up >> to only include the relevant stuff) >> c) build an a/a/lib/at91, copy the common part to that 'at91 library' >> and implement the architecture specific part in arm920t and arm926ejs >> respectively. >> > I have a 4th way: > > d) make a link to arm926ejs file NAK for symlinks. > But I prefer the variant c Same for me. > Best regards > > Jens Scharsig Amicalement, -- Albert.