From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Weisser Date: Mon, 01 Aug 2011 20:16:32 +0200 Subject: [U-Boot] [PATCH v2] arm: auto gen asm-offsets.h for mb86r0x In-Reply-To: <1312211512-10396-1-git-send-email-weisserm@arcor.de> References: <1309763869-26271-1-git-send-email-weisserm@arcor.de> <1312211512-10396-1-git-send-email-weisserm@arcor.de> Message-ID: <4E36ED80.4050701@arcor.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 Albert Am 01.08.2011 17:11, schrieb Matthias Weisser: > auto gen asm-offsets.h for mb86r0x > > Signed-off-by: Matthias Weisser > --- > 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. Regards, Matthias