Re: [PATCH v2 2/3] powerpc: Add support for creating FIT uImages

2010-01-02 Thread Grant Likely
On Fri, Jan 1, 2010 at 7:18 AM, Wolfgang Denk wrote: >> Rather than adding new paths to arch/powerpc/boot/wrapper, I would >> rather see a new script used for generating FIT image that isn't >> complicated by all the current wrapper cruft.  Also, the Makefile rule >> doesn't need to depend on $(wr

Re: [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
On Fri, Jan 1, 2010 at 7:12 AM, Wolfgang Denk wrote: > Dear Grant, > > In message you > wrote: >> >> Thinking further, I do actually have another concern, at least with >> regard to the way the current patch set implements things.  Is it >> expected or even "recommended" that fit images will *al

Re: [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
On Fri, Jan 1, 2010 at 3:44 AM, Wolfgang Denk wrote: > Dear Peter, > > In message <1262301038.29396.137.ca...@localhost.localdomain> you wrote: >> What do you think about changing the U-Boot documentation to rename >> those 2 image types to: >> 1 uImages >> 2 FIT Images > > Let's make this "uImage

Re: [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
On Thu, Dec 31, 2009 at 3:44 PM, Wolfgang Denk wrote: > Dear Grant Likely, > > In message you > wrote: >> >> IIRC, uImage.fit.initrd.% should appear before uImage.fit.% in the >> Makefile so that make behaves more consistently.  Speaking of which, >> the number of '.' in the name is getting rath

Re: [U-Boot] [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
Hi Peter, On Wed, Dec 30, 2009 at 6:10 PM, Peter Tyser wrote: > On Wed, 2009-12-30 at 17:01 -0700, Grant Likely wrote: >> On Wed, Dec 30, 2009 at 4:39 PM, Peter Tyser wrote: >> > Hi Grant, >> > I put U-Boot ML on CC. >> >> Thinking further, I do actually have another concern, at least with >> re

Re: How to access PPC460EX SDRAM space from PCI/PCIe.

2010-01-02 Thread Lonsn
Hi: Thank you for your reply and Happy New Year! According to the canyonlands.dts and arch/powerpc/sysdev/ppc4xx_pci.c files in the linux kernel, 2GB has been mappend to inbound PCI memory region, The followings are PIM init codes related in the kernel: /**/

Re: [PATCH 1/2] pmac-zilog: add platform driver

2010-01-02 Thread Finn Thain
On Sat, 2 Jan 2010, Geert Uytterhoeven wrote: > On Tue, Nov 17, 2009 at 10:04, Finn Thain > wrote: > > Add platform driver to the pmac-zilog driver for mac 68k, putting the > > powermac-specific bits inside #ifdef CONFIG_PPC_PMAC. > > > --- linux-2.6.31.orig/drivers/serial/pmac_zilog.c      

Re: [PATCH net-next 2/3] can: mscan-mpc5xxx: add support for the MPC521x processor

2010-01-02 Thread Wolfgang Grandegger
Wolfram Sang wrote: > On Sat, Jan 02, 2010 at 09:17:53AM +0100, Wolfgang Grandegger wrote: >> From: Wolfgang Grandegger >> >> The main differences compared to the MSCAN on the MPC5200 are: >> >> - More flexibility in choosing the CAN source clock and frequency: >> >> Three different clock source

Re: [PATCH net-next 1/3] can: mscan: fix improper return if dlc < 8 in start_xmit function

2010-01-02 Thread Wolfgang Grandegger
Wolfram Sang wrote: > On Sat, Jan 02, 2010 at 09:17:52AM +0100, Wolfgang Grandegger wrote: >> From: Wolfgang Grandegger >> >> The start_xmit function of the MSCAN Driver did return improperly if >> the CAN dlc check failed (skb not freed and invalid return code). This >> patch adds a proper check

Re: [PATCH net-next 0/3] can: mscan-mpc5xxx: add support for the Freescale MPC512x

2010-01-02 Thread Wolfgang Grandegger
Wolfram Sang wrote: > On Sat, Jan 02, 2010 at 09:17:51AM +0100, Wolfgang Grandegger wrote: >> This patch series adds support for the MPC512x from Freescale to >> the mpc5xxx_can MSCAN driver. > > Yay, cool :) I will test the patches with our board when I am back in the > office next week. So far,

Re: [PATCH net-next 3/3] powerpc/mpc5xxx: add OF platform binding doc for FSL MSCAN devices

2010-01-02 Thread Wolfram Sang
On Sat, Jan 02, 2010 at 09:17:54AM +0100, Wolfgang Grandegger wrote: > From: Wolfgang Grandegger > > This patch adds documentation for the MSCAN OF device bindings for > the MPC512x and moves the one for the MPC5200 to the new common file > "Documentation/powerpc/dts-bindings/fsl/can.txt". > > S

Re: [PATCH net-next 2/3] can: mscan-mpc5xxx: add support for the MPC521x processor

2010-01-02 Thread Wolfram Sang
On Sat, Jan 02, 2010 at 09:17:53AM +0100, Wolfgang Grandegger wrote: > From: Wolfgang Grandegger > > The main differences compared to the MSCAN on the MPC5200 are: > > - More flexibility in choosing the CAN source clock and frequency: > > Three different clock sources can be selected: "ip", "

Re: [PATCH net-next 1/3] can: mscan: fix improper return if dlc < 8 in start_xmit function

2010-01-02 Thread Wolfram Sang
On Sat, Jan 02, 2010 at 09:17:52AM +0100, Wolfgang Grandegger wrote: > From: Wolfgang Grandegger > > The start_xmit function of the MSCAN Driver did return improperly if > the CAN dlc check failed (skb not freed and invalid return code). This > patch adds a proper check of the frame lenght and da

Re: [PATCH net-next 0/3] can: mscan-mpc5xxx: add support for the Freescale MPC512x

2010-01-02 Thread Wolfram Sang
On Sat, Jan 02, 2010 at 09:17:51AM +0100, Wolfgang Grandegger wrote: > This patch series adds support for the MPC512x from Freescale to > the mpc5xxx_can MSCAN driver. Yay, cool :) I will test the patches with our board when I am back in the office next week. So far, a few comments by having a loo

Re: [PATCH 1/2] pmac-zilog: add platform driver

2010-01-02 Thread Geert Uytterhoeven
On Tue, Nov 17, 2009 at 10:04, Finn Thain wrote: > Add platform driver to the pmac-zilog driver for mac 68k, putting the > powermac-specific bits inside #ifdef CONFIG_PPC_PMAC. > --- linux-2.6.31.orig/drivers/serial/pmac_zilog.c       2009-11-17 > 17:07:28.0 +1100 > +++ linux-2.6.31/driv

[PATCH net-next 0/3] can: mscan-mpc5xxx: add support for the Freescale MPC512x

2010-01-02 Thread Wolfgang Grandegger
This patch series adds support for the MPC512x from Freescale to the mpc5xxx_can MSCAN driver. Wolfgang Wolfgang Grandegger (3): can: mscan: fix improper return if dlc < 8 in start_xmit function can: mscan-mpc5xxx: add support for the MPC521x processor powerpc/mpc5xxx: add OF platform bindi

[PATCH net-next 2/3] can: mscan-mpc5xxx: add support for the MPC521x processor

2010-01-02 Thread Wolfgang Grandegger
From: Wolfgang Grandegger The main differences compared to the MSCAN on the MPC5200 are: - More flexibility in choosing the CAN source clock and frequency: Three different clock sources can be selected: "ip", "ref" or "sys". For the latter two, a clock divider can be defined as well. If the

[PATCH net-next 1/3] can: mscan: fix improper return if dlc < 8 in start_xmit function

2010-01-02 Thread Wolfgang Grandegger
From: Wolfgang Grandegger The start_xmit function of the MSCAN Driver did return improperly if the CAN dlc check failed (skb not freed and invalid return code). This patch adds a proper check of the frame lenght and data size and returns now correctly. Furthermore, a typo has been fixed. Signed-

[PATCH net-next 3/3] powerpc/mpc5xxx: add OF platform binding doc for FSL MSCAN devices

2010-01-02 Thread Wolfgang Grandegger
From: Wolfgang Grandegger This patch adds documentation for the MSCAN OF device bindings for the MPC512x and moves the one for the MPC5200 to the new common file "Documentation/powerpc/dts-bindings/fsl/can.txt". Signed-off-by: Wolfgang Grandegger --- Documentation/powerpc/dts-bindings/fsl/can.