Re: [PATCH 1/5] powerpc: Add platform support for AmigaOne

2009-01-12 Thread Gerhard Pircher
Original-Nachricht Datum: Mon, 12 Jan 2009 16:08:07 +1100 Von: Benjamin Herrenschmidt b...@kernel.crashing.org An: Scott Wood scottw...@freescale.com CC: Gerhard Pircher gerhard_pirc...@gmx.net, linuxppc-dev@ozlabs.org Betreff: Re: [PATCH 1/5] powerpc: Add platform support

Re: [PATCH 1/5] powerpc: Add platform support for AmigaOne

2009-01-11 Thread Benjamin Herrenschmidt
+ /* Flush and disable I/D cache. */ + __asm__ __volatile__ (mfspr3, 1008::: r3); + __asm__ __volatile__ (ori 5, 5, 0xcc00 ::: r5); + __asm__ __volatile__ (ori 4, 3, 0xc00::: r4); + __asm__ __volatile__ (andc 5, 3, 5::: r5); Don't do

Re: [PATCH 1/5] powerpc: Add platform support for AmigaOne

2009-01-07 Thread Grant Likely
On Wed, Jan 7, 2009 at 6:54 AM, Gerhard Pircher gerhard_pirc...@gmx.net wrote: + +void amigaone_show_cpuinfo(struct seq_file *m) +{ + struct device_node *root; + const char *model = ; + + root = of_find_node_by_path(/); + if (root) + model =

Re: [PATCH 1/5] powerpc: Add platform support for AmigaOne

2009-01-07 Thread Gerhard Pircher
Original-Nachricht Datum: Wed, 7 Jan 2009 13:07:18 -0600 Von: Scott Wood scottw...@freescale.com An: Gerhard Pircher gerhard_pirc...@gmx.net CC: linuxppc-dev@ozlabs.org Betreff: Re: [PATCH 1/5] powerpc: Add platform support for AmigaOne On Wed, Jan 07, 2009 at 02:54:57PM