[U-Boot] [PATCH v2] arm: auto gen asm-offsets.h for mb86r0x

Albert ARIBAUD albert.u.boot at aribaud.net
Mon Aug 1 21:47:16 CEST 2011


Hi Matthias,

Le 01/08/2011 20:16, Matthias Weisser a écrit :
> Dear Albert
>
> Am 01.08.2011 17:11, schrieb Matthias Weisser:
>> auto gen asm-offsets.h for mb86r0x
>>
>> Signed-off-by: Matthias Weisser<weisserm at arcor.de>
>> ---
>> Changes in v2:
>>    - Added forgotten register structures
>>
>>   arch/arm/cpu/arm926ejs/mb86r0x/Makefile         |    2 +
>>   arch/arm/cpu/arm926ejs/mb86r0x/asm-offsets.c    |   65 ++++++++++++++++++++
>>   arch/arm/include/asm/arch-mb86r0x/asm-offsets.h |   74 -----------------------
>>   arch/arm/include/asm/arch-mb86r0x/mb86r0x.h     |   42 +++++++++++++
>>   4 files changed, 109 insertions(+), 74 deletions(-)
>>   create mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/asm-offsets.c
>>   delete mode 100644 arch/arm/include/asm/arch-mb86r0x/asm-offsets.h
>
> Would you please consider this patch for inclusion. Currently jadecpu is
> broken since [f456445f29d22bb31ad29fdf1d6b2769decd37a2]. It is not clear
> to me why the referenced patch breaks jadecpu (must be some make
> dependency stuff) but it slipped through my testing as I had applied the
> above patch in an earlier version when submitting the patch which breaks it.
>
> This patch fixes jadecpu and also gets rid of the hand written
> asm-offsets.h.
>
> I can't test it (no powerpc toolchain at hand) but the above mentioned
> commit may also break mpc512x based boards. If that is the case
> ./arch/powerpc/cpu/mpc512x/asm-offsets.h should also be autogenerated.
> If this is done we will not have any non-autogenerated asm-offsets.h in
> u-boot anymore.

Wolfgang, can you test on powerpc?

> Regards,
> Matthias

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list