[PATCH] omap3 towards thumb2 support

Premi, Sanjeev premi at ti.com
Mon Jan 16 06:30:23 EST 2012


> -----Original Message-----
> From: barebox-bounces at lists.infradead.org 
> [mailto:barebox-bounces at lists.infradead.org] On Behalf Of Sascha Hauer
> Sent: Monday, January 16, 2012 3:48 PM
> To: barebox at lists.infradead.org
> Subject: [PATCH] omap3 towards thumb2 support
> 
> The following patches rework the omap3 support to be thumb2 safe.
> The initialisation order is changed so that more stuff can be
> done in a regular C environment rather than in lowlevel time.
> 
> Together with git://git.pengutronix.de/git/barebox.git work/thumb2
> the beagle board Xload config now fits into 34k.
> 
> The following changes since commit 
> be07ecb5c50e007d71f75145938c66bd04960b43:
> 
>   omap343xdsp: move to arch/arm/boards/omap343xdsp 
> (2012-01-16 10:28:00 +0100)
> 
> are available in the git repository at:
>   git://git.pengutronix.de/git/barebox.git work/omap3
> 
> Sascha Hauer (10):

I was able to pull in your branch and encountered a minor
issue - fixed by the patch at end of this mail.

How can I enable thumb2? Didn't find aything obvious in
omap3530_beagle_xload_defconfig.

~sanjeev

>From 60293bdf05090245456931061895470a8900ca9d Mon Sep 17 00:00:00 2001
From: Sanjeev Premi <premi at ti.com>
Date: Mon, 16 Jan 2012 16:51:04 +0530
Subject: [PATCH] ARM OMAP3: Fix compile errors

Encountered this error wile compiling for omap3evm:
  CC      arch/arm/boards/omap3evm/board.o
arch/arm/boards/omap3evm/board.c:62:24: fatal error:
 mach/board.h: No such file or directory compilation terminated.

File mach/board.h doesn't exist since this commit:
  be2559e : ARM omap3: move board_init to pure_initcall

Fixed the same for omap343xsdp as well.

Signed-off-by: Sanjeev Premi <premi at ti.com>
---
 arch/arm/boards/omap343xdsp/board.c |    1 -
 arch/arm/boards/omap3evm/board.c    |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/omap343xdsp/board.c b/arch/arm/boards/omap343xdsp/board.c
index 4ad6f13..b5174f3 100644
--- a/arch/arm/boards/omap343xdsp/board.c
+++ b/arch/arm/boards/omap343xdsp/board.c
@@ -61,7 +61,6 @@
 #include <mach/control.h>
 #include <mach/omap3-mux.h>
 #include <mach/gpmc.h>
-#include <mach/board.h>
 #include <errno.h>
 
 /******************** Board Boot Time *******************/
diff --git a/arch/arm/boards/omap3evm/board.c b/arch/arm/boards/omap3evm/board.c
index fdd5227..21d2504 100644
--- a/arch/arm/boards/omap3evm/board.c
+++ b/arch/arm/boards/omap3evm/board.c
@@ -59,7 +59,6 @@
 #include <mach/control.h>
 #include <mach/omap3-mux.h>
 #include <mach/gpmc.h>
-#include <mach/board.h>
 #include <errno.h>
 
 
-- 
1.7.0.4



More information about the barebox mailing list