[PATCH] powerpc/p1023rds: Add nand flash node support in the dts

2011-08-15 Thread Chunhe Lan
In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. When booting from nor flash, nand node is disabled and nor node is enabled in the default dts. So, when booting from nand flash, u-boot should do some operations: o The status property of nand node should be

[PATCH] mcu_mpc8349emitx.c: add shutdown request support

2011-08-15 Thread Fabio Baltieri
This patch add support for calling ctrl_alt_del() when the power button is pressed for more than about 2 seconds on some freescale MPC83xx evaluation boards and reference design. The code uses a kthread to poll the CTRL_BTN bit each second. Also change Kconfig entry of the driver to bool, as

Re: [PATCH v3] mtd: eLBC NAND: update ecc_stats.corrected when lteccr available

2011-08-15 Thread Artem Bityutskiy
On Tue, 2011-07-26 at 15:07 -0500, Michael Hench wrote: update ecc_stats.corrected if LTECCR register is available. v2: kernel standard C formatting v3: kernel standard C formatting again, changed a comment to get under 80 chars Signed-off-by: Michael Hench michaelhe...@gmail.com

Re: [PATCH v12 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-15 Thread Robin Holt
Grant, Earlier, you had asked for a more specific name for the compatible property of the Freescale flexcan device. I still have not gotten a more specific answer. Hopefully Marc can give you more details about the flexcan implementations. Other than an agreement on the compatible property, I

Re: [PATCH v12 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-15 Thread Grant Likely
On Mon, Aug 15, 2011 at 9:03 AM, Robin Holt h...@sgi.com wrote: Grant, Earlier, you had asked for a more specific name for the compatible property of the Freescale flexcan device.  I still have not gotten a more specific answer.  Hopefully Marc can give you more details about the flexcan

Re: [PATCH v12 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-15 Thread Robin Holt
On Mon, Aug 15, 2011 at 09:13:50AM -0600, Grant Likely wrote: On Mon, Aug 15, 2011 at 9:03 AM, Robin Holt h...@sgi.com wrote: Grant, Earlier, you had asked for a more specific name for the compatible property of the Freescale flexcan device.  I still have not gotten a more specific

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Artem Bityutskiy
On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote: + /* + * Hack for supporting the flash chip whose writesize is + * larger than 2K bytes. + */ + if (mtd-writesize 2048) { + elbc_fcm_ctrl-subpage_shift = ffs(mtd-writesize 11) - 1; +

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Scott Wood
On 08/15/2011 10:59 AM, Artem Bityutskiy wrote: On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote: +/* + * Hack for supporting the flash chip whose writesize is + * larger than 2K bytes. + */ +if (mtd-writesize 2048) { +

Re: [PATCH v12 3/6] flexcan: Fix up fsl-flexcan device tree binding.

2011-08-15 Thread Marc Kleine-Budde
On 08/15/2011 05:03 PM, Robin Holt wrote: Earlier, you had asked for a more specific name for the compatible property of the Freescale flexcan device. I still have not gotten a more specific answer. Hopefully Marc can give you more details about the flexcan implementations. There are at

Re: [PATCH v2] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-08-15 Thread Artem Bityutskiy
On Mon, 2011-08-15 at 11:11 -0500, Scott Wood wrote: On 08/15/2011 10:59 AM, Artem Bityutskiy wrote: On Tue, 2011-07-12 at 12:48 +0800, b35...@freescale.com wrote: + /* + * Hack for supporting the flash chip whose writesize is + * larger than 2K bytes. + */ + if (mtd-writesize

Re: [PATCH 8/9] arch/powerpc/sysdev/ehv_pic.c: add missing kfree

2011-08-15 Thread Tabi Timur-B04825
On Mon, Aug 8, 2011 at 7:18 AM, Julia Lawall ju...@diku.dk wrote: diff --git a/arch/powerpc/sysdev/ehv_pic.c b/arch/powerpc/sysdev/ehv_pic.c index af1a5df..b6731e4 100644 --- a/arch/powerpc/sysdev/ehv_pic.c +++ b/arch/powerpc/sysdev/ehv_pic.c @@ -280,6 +280,7 @@ void __init