> -----Original Message----- > From: Guennadi Liakhovetski [mailto:[EMAIL PROTECTED] > Sent: 26 March 2008 19:41 > To: [email protected] > Cc: Wolfgang Denk; Sascha Hauer; Peter Pearse > Subject: [PATCH v2 1/7] Separate omap24xx specific code from arm1136 > > From: Sascha Hauer <[EMAIL PROTECTED]> > > Move omap24xx code to cpu/arm1136/omap24xx, rename > include/asm-arm/arch-arm1136 to cpu/arm1136/omap24xx. > > Signed-off-by: Sascha Hauer <[EMAIL PROTECTED]> > Signed-off-by: Guennadi Liakhovetski <[EMAIL PROTECTED]> > ---snip---
> diff --git a/cpu/arm1136/omap24xx/interrupts.c > b/cpu/arm1136/omap24xx/interrupts.c > new file mode 100644 > index 0000000..a50fa39 > --- /dev/null > +++ b/cpu/arm1136/omap24xx/interrupts.c > @@ -0,0 +1,159 @@ > +/* > + * (C) Copyright 2004 > + * Texas Instruments > + * Richard Woodruff <[EMAIL PROTECTED]> > + * > + * (C) Copyright 2002 > + * Sysgo Real-Time Solutions, GmbH <www.elinos.com> > + * Marius Groeger <[EMAIL PROTECTED]> > + * Alex Zuepke <[EMAIL PROTECTED]> > + * > + * (C) Copyright 2002 > + * Gary Jennejohn, DENX Software Engineering, <[EMAIL PROTECTED]> > + * > + * See file CREDITS for list of people who contributed to this > + * project. > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of > + * the License, or (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, write to the Free Software > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, > + * MA 02111-1307 USA > + */ > + > +#include <common.h> > +#include <asm/arch/bits.h> > +#include <asm/arch/omap2420.h> > + > +#define TIMER_LOAD_VAL 0 > + > +/* macro to read the 32 bit timer */ > +#define READ_TIMER (*(volatile ulong *)(CFG_TIMERBASE+TCRR)) I'm assuming you have no objection to me patching this to #define READ_TIMER (*((volatile ulong *)(CFG_TIMERBASE+TCRR))) to get apollon & omap2420h4 to build with arm-linux-gcc (GCC) 4.0.0 (DENX ELDK 4.0 4.0.0) . Then I can submit for merge tomorrow (Sunday) Regards Peter ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
