Hi Jate,

Jate Sujjavanich wrote:
I have cherry picked the patch into my local 2.6.34 kernel. Using the coldfire 
qspi driver, I the following error:

drivers/spi/coldfire_qspi.c: In function 'mcfqspi_irq_handler':
drivers/spi/coldfire_qspi.c:166: error: 'TASK_NORMAL' undeclared (first use in 
this function)
drivers/spi/coldfire_qspi.c:166: error: (Each undeclared identifier is reported 
only once

It is solved by adding the following include to coldfire_sqpi.c:

#include <linux/sched.h>

That patch has already been pulled into Linus's tree. So I have
created a new patch with this fix. Currently sitting on the for-linus
(and for-next) branches of the m68knommu git tree.

Thanks
Greg


-----Original Message-----
From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev-boun...@uclinux.org] 
On Behalf Of Steven King
Sent: Friday, January 22, 2010 3:43 PM
To: Greg Ungerer
Cc: uclinux-dev@uclinux.org
Subject: [uClinux-dev] [PATCH] m68knommu: Coldfire QSPI platform support

Hi Greg.

Since Grant has added the coldfire-qspi driver to next-spi, here is the
platform support for the parts that have qspi hardware.  This sets up
gpio to do the spi chip select using the default chip select pins; it should
be trivial for boards that require different or additional spi chip selects to
use other gpios as needed.


Signed-off-by: Steven King <sfk...@fdwdc.com>
---

Platform support for Coldfire QSPI module.

 arch/m68k/include/asm/mcfqspi.h       |   64 ++++++++++++
 arch/m68k/include/asm/m520xsim.h      |    1 +
 arch/m68k/include/asm/m523xsim.h      |    5 +
 arch/m68k/include/asm/m5249sim.h      |    2 +
 arch/m68k/include/asm/m527xsim.h      |    7 ++
 arch/m68k/include/asm/m528xsim.h      |   67 +------------
 arch/m68k/include/asm/m532xsim.h      |    1 +
 arch/m68knommu/platform/520x/config.c |  149 +++++++++++++++++++++++++++
 arch/m68knommu/platform/523x/config.c |  170 ++++++++++++++++++++++++++++++
 arch/m68knommu/platform/5249/config.c |  167 ++++++++++++++++++++++++++++++
 arch/m68knommu/platform/527x/config.c |  182 +++++++++++++++++++++++++++++++++
 arch/m68knommu/platform/528x/config.c |  137 +++++++++++++++++++++++++
 arch/m68knommu/platform/532x/config.c |  124 ++++++++++++++++++++++
 13 files changed, 1010 insertions(+), 66 deletions(-)


--
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close                             FAX:         +61 7 3217 5323
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to