[U-Boot] RFC: How use same interface between arm926ejs/at91 and arm920t/at91

Albert ARIBAUD albert.u.boot at aribaud.net
Thu Apr 14 07:46:45 CEST 2011


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.


More information about the U-Boot mailing list