[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-08 Thread Sam Ravnborg
> > With the above construct we do the "right thing" also for > headers exported to userspace. > But actually none of the headers using the above are > subject for export at the moment so we could use a > CONFIG_ symbol for the same. One thing worth adding is that this patch fixes: make ARCH

[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-08 Thread Sam Ravnborg
On Tue, Dec 09, 2008 at 12:26:05AM +0100, Arnd Bergmann wrote: > On Tuesday 09 December 2008, Geert Uytterhoeven wrote: > > > I have used the following include guard: > > > > > > #ifdef __uClinux__ > > > #include "atomic_no.h" > > > #else > > > #include "atomic_mm.h" > > > #endif > > > > > > gcc

[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-09 Thread Sam Ravnborg
On Tue, Dec 09, 2008 at 12:02:46PM +0100, Arnd Bergmann wrote: > On Tuesday 09 December 2008, Geert Uytterhoeven wrote: > > What are the other exported headers that differ? > > byteorder.h, param.h, ptrace.h, setup.h, sigcontext.h, siginfo.h, signal.h > and unistd.h. And diffing these files for t

[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-13 Thread Sam Ravnborg
On Tue, Dec 09, 2008 at 12:26:05AM +0100, Arnd Bergmann wrote: > On Tuesday 09 December 2008, Geert Uytterhoeven wrote: > > > I have used the following include guard: > > > > > > #ifdef __uClinux__ > > > #include "atomic_no.h" > > > #else > > > #include "atomic_mm.h" > > > #endif > > > > > > gcc

[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-13 Thread Sam Ravnborg
> >> > >>>I'm not sure if it's entirely correct, but I think you can use > >>> > >>>#ifdef __KERNEL__ > >>># ifdef CONFIG_MMU > >>># include "atomic_mm.h > >>># else > >>># include "atomic_no.h > >>># endif > >>>#else > >>># ifndef __uClinux__ > >>># include "atomic_mm.h > >>># else > >>># incl

[uClinux-dev] Re: Merge headerfiles for m68k and m68knommu to arch/m68k/include/asm

2008-12-13 Thread Sam Ravnborg
On Mon, Dec 08, 2008 at 09:58:14PM +0100, Sam Ravnborg wrote: > [this mail is cross posted to uclinux mailing list which is subscriber only] > > Following is a pseudo patch (a script + a patch) that merges > the include files for m68k and m68knommu in one place at: I fixed the miss

Re: [uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 1/6

2008-12-20 Thread Sam Ravnborg
On Sat, Dec 20, 2008 at 07:16:31AM -0700, Matt Waddel wrote: > This patch fixes a build error with the latest (4.3.2-45) > toolchain. .text.unlikely is required in the linker script. Is this a general thing or specific to uclinux? If it is general it belongs to: include/asm-generic/vmlinux.lds.h

Re: [uClinux-dev] linux-2.6.26-uc0 M5329EVB patches

2008-12-20 Thread Sam Ravnborg
On Sat, Dec 20, 2008 at 07:16:12AM -0700, Matt Waddel wrote: > Hi Greg, > > The next 6 patches fix minimal support for the M5329EVB in > the uClinux 2.6.26-uc0 kernel. These patches apply after the > linux-2.6.26-uc0.patch.gz patch has been applied. > > Let me know if there are any questions. I

[uClinux-dev] Re: [PATCH] m68k,m68knommu: merge header files

2009-01-16 Thread Sam Ravnborg
> >> > >>More review, testing, comments welcome... > >>Where to from here? > > > >I'll pull from it and give it some m68k test builds. > >After that, you can move it to for-next. If everything's well, it can go to > >Linus. > > Sounds like a plan. > > > >Or should I amend and add my SoB and put

Re: [uClinux-dev] [PATCH] m68k: Unify arch/m68k/include/asm/unistd.h

2009-02-01 Thread Sam Ravnborg
On Sun, Feb 01, 2009 at 10:46:30PM +1000, Greg Ungerer wrote: > Hi Geert, > > Geert Uytterhoeven wrote: > >>From b708bab9dbc93bc80bd06c9222ab34530736f737 Mon Sep 17 00:00:00 2001 > >From: Geert Uytterhoeven > >Date: Thu, 29 Jan 2009 21:21:40 +0100 > >Subject: [PATCH] m68k: Unify arch/m68k/include

[uClinux-dev] Re: [PATCH] Merge m68k and m68knommu

2009-10-18 Thread Sam Ravnborg
On Sat, Oct 17, 2009 at 06:02:58PM -0700, Steven King wrote: > This is a script and patch to merge the m68knommu arch into m68k. > > The script was inspired by the script Sam Ravnborg used to merge the > includes from m68knommu. For those files common to both arches but > diffe

Re: [uClinux-dev] Re: [PATCH] [Repost without wordwrapping] Merge m68k and m68knommu

2009-12-03 Thread Sam Ravnborg
On Fri, Dec 04, 2009 at 02:47:56PM +1000, Greg Ungerer wrote: > Hi Steven, > > Steven King wrote: >> On Sunday 18 October 2009 04:55:40 Steven King wrote: >>> This is a script and patch to merge the m68knommu arch into m68k. >> >> Ping. > > Sorry, I have just not had time to look at this yet. > Pro

Re: [uClinux-dev] Start files from initramfs

2010-05-29 Thread Sam Ravnborg
> > I used also a minimal configuration for the initramfs as described at > linux-2.6.33/Documentation/ramfs-rootfs-initramfs.txt. > -8<-8<-8<-8<-8< > dir /dev 755 0 0 > nod /dev/console 644 0 0

Re: [uClinux-dev] [PATCH] arch/m68k/ide.h fix for nommu

2010-06-07 Thread Sam Ravnborg
On Mon, Jun 07, 2010 at 11:39:30AM -0400, Jate Sujjavanich wrote: > Sounds good. Therefore, the patch becomes: > > diff --git a/arch/m68k/include/asm/ide.h b/arch/m68k/include/asm/ide.h > index 3958726..80e3e87 100644 > --- a/arch/m68k/include/asm/ide.h > +++ b/arch/m68k/include/asm/ide.h > @@ -1,

Re: [uClinux-dev] [PATCH] arch/m68k/ide.h fix for nommu

2010-06-11 Thread Sam Ravnborg
On Fri, Jun 11, 2010 at 10:05:27AM -0400, Jate Sujjavanich wrote: > > > -Original Message- > From: uclinux-dev-boun...@uclinux.org > [mailto:uclinux-dev-boun...@uclinux.org] On Behalf Of Sam Ravnborg > Sent: Monday, June 07, 2010 12:09 PM > To: uClinux developme

[uClinux-dev] Re: merge of m68knommu and m68k arch branches?

2011-02-17 Thread Sam Ravnborg
es and files. (Thanks to Stephen King > for the initial version of this script, and to > Sam Ravnborg for the m68k includes merge script this was based on). > Nothing outside of the arch/m68k and arch/m68knommu directories is > touched, and in the end there is no more arch/m68knommu. To ap

[uClinux-dev] Re: merge of m68knommu and m68k arch branches?

2011-02-21 Thread Sam Ravnborg
ng > > >> for the initial version of this script, and to > > >> Sam Ravnborg for the m68k includes merge script this was based on). > > >> Nothing outside of the arch/m68k and arch/m68knommu directories is > > >> touched, and in the end there is no more

[uClinux-dev] Re: merge of m68knommu and m68k arch branches?

2011-02-21 Thread Sam Ravnborg
> > > > > >> Is there a plan to move m68k to the generic facilities as well ? > > Moving m68k to genirq is (the next thing?) on my list... If I succeed migrating sparc32 to genirq I hope to be of a little help here. It looks like a bigger task to migrate m68k than it was/is to migrate sparc32. I

[uClinux-dev] Re: merge of m68knommu and m68k arch branches?

2011-02-22 Thread Sam Ravnborg
On Tue, Feb 22, 2011 at 08:40:53AM +0100, Geert Uytterhoeven wrote: > On Tue, Feb 22, 2011 at 08:29, Sam Ravnborg wrote: > >> >> Is there a plan to move m68k to the generic facilities as well ? > >> > >> Moving m68k to genirq is (the next thing?) on my li

Re: [uClinux-dev] [PATCH v2 1/6] m68k: merge mmu and non-mmu versions of muldi3

2011-04-20 Thread Sam Ravnborg
Hi Greg. > + > +#if defined(__mc68020__) || defined(__mc68030__) || \ > +defined(__mc68040__) || defined(__mc68060__) Why use these to decide if this is MMU or not? This code is not exposed to user-space so we can rely on CONFIG_* symbols. IMO the CONIFG_* symbols is easier to read/maintain.

Re: [uClinux-dev] [PATCH] m68k: merge mmu and non-mmu arch Makefiles

2011-08-10 Thread Sam Ravnborg
On Thu, Aug 11, 2011 at 02:39:25PM +1000, g...@snapgear.com wrote: > From: Greg Ungerer > > [This is a resend of this patch. If no-one has any objections then I > want to push this into linux-next, for eventual inclusion in the 3.2 > merge window.] Looks good. Acked-b

Re: [uClinux-dev] [PATCH] m68k: merge the mmu and non-mmu kernel/Makefiles

2011-08-10 Thread Sam Ravnborg
s between the mmu and non-mmu kernel/Makefiles can > easily be handled inside of a single Makefile. Merge the 2 back into > a single Makefile. Looks good (except the typo that is nto a typo:-) ) Acked-by: Sam Ravnborg ___ uClinux-dev mailing list u

Re: [uClinux-dev] [PATCH] m68k: reorganize Kconfig options to improve mmu/non-mmu selections

2011-08-10 Thread Sam Ravnborg
On Thu, Aug 11, 2011 at 03:10:21PM +1000, g...@snapgear.com wrote: > From: Greg Ungerer > > [This is a resend of this patch. Would like to hear what others think of > this change. It makes the top level configuration consistent for all m68k > type processors, and makes it much easier to allow MMU

Re: [uClinux-dev] [PATCH] m68knommu: enable device config when SPI_COLDFIRE_QSPI=m

2012-05-05 Thread Sam Ravnborg
On Sat, May 05, 2012 at 05:34:42PM -0700, Steven King wrote: > Hi Greg, > > The qspi consolidation omitted support for device initialization when the qspi > is built as a module. > > Signed-off-by: Steven King > > --- > arch/m68k/platform/520x/config.c |6 +++--- > arch/m68k/platform/523x/