Re: fdt: move code from socppc to sys/dev/fdt/

2016-03-03 Thread Mark Kettenis
i, > > > > > > to allow FDT to be used on ARM I think we should move the FDT code from > > > socppc to sys/dev/fdt/. Opinions? > > > > i like this. > > > > does it need a directory of its own? could it be dev/ofw/fdt.c? > > > > I w

Re: fdt: move code from socppc to sys/dev/fdt/

2016-03-02 Thread Patrick Wildt
On Thu, Mar 03, 2016 at 09:38:25AM +1000, David Gwynne wrote: > > > On 2 Mar 2016, at 20:49, Patrick Wildt <patr...@blueri.se> wrote: > > > > Hi, > > > > to allow FDT to be used on ARM I think we should move the FDT code from > > socppc to sys/dev

Re: fdt: move code from socppc to sys/dev/fdt/

2016-03-02 Thread David Gwynne
> On 2 Mar 2016, at 20:49, Patrick Wildt <patr...@blueri.se> wrote: > > Hi, > > to allow FDT to be used on ARM I think we should move the FDT code from > socppc to sys/dev/fdt/. Opinions? i like this. does it need a directory of its own? could it be dev/ofw/fdt.c?

Re: fdt: move code from socppc to sys/dev/fdt/

2016-03-02 Thread Richard Procter
On Wed, 2 Mar 2016, Patrick Wildt wrote: > Hi, > > to allow FDT to be used on ARM I think we should move the FDT code from > socppc to sys/dev/fdt/. Opinions? > > Could someone test this diff for me? Sure --- it compiles and boots on socppc (RB600A). I applied patch to

fdt: move code from socppc to sys/dev/fdt/

2016-03-02 Thread Patrick Wildt
Hi, to allow FDT to be used on ARM I think we should move the FDT code from socppc to sys/dev/fdt/. Opinions? Could someone test this diff for me? Patrick diff --git sys/arch/socppc/conf/files.socppc sys/arch/socppc/conf/files.socppc index d1fab5e..ade4e53 100644 --- sys/arch/socppc/conf