|-|
| kernel |
| (5MB) |
0x70 |-|
| file system |
| (9MB) |
0x100 |-|
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
Based on 'next' branch on git tree:
git
/mpic_msgr.o] Error 1
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
arch/powerpc/include/asm/mpic_msgr.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/include/asm/mpic_msgr.h
b/arch/powerpc/include/asm/mpic_msgr.h
index 3ec37dc..326d33c 100644
--- a/arch
Also fix issue of accessing invalid msgr pointer issue. The local
msgr pointer in fucntion mpic_msgr_get will be accessed before
getting a valid address which will cause kernel crash.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
arch/powerpc/sysdev/mpic_msgr.c | 10 +-
1
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
arch/powerpc/sysdev/mpic_msgr.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/sysdev/mpic_msgr.c b/arch/powerpc/sysdev/mpic_msgr.c
index dc1cfe3..483d8fa 100644
--- a/arch/powerpc/sysdev/mpic_msgr.c
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
arch/powerpc/boot/dts/fsl/pq3-mpic-message-B.dtsi | 43 +
arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi | 10 +
2 files changed, 53 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/fsl
to one x4 PCIe SLOT2
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
Based on http://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git
arch/powerpc/boot/dts/p2040rdb.dts | 166 +++
arch/powerpc/boot/dts/p2040si.dtsi | 623 ++
arch
, that is we can't clear the rx FIFO,
then the CPU will loop on the espi rx interrupt.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
The patch 2/2 is againsted on this patch, so I resent this patch again
for convience which sent several weeks ago.
drivers/spi/spi_fsl_espi.c | 19
Or else we cann't operate on the right address when the trans length
is greater than 65535.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
drivers/spi/spi_fsl_espi.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/spi_fsl_espi.c b
, that is we can't clear the rx FIFO,
then the CPU will loop on the espi rx interrupt.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
drivers/spi/spi_fsl_espi.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi_fsl_espi.c b/drivers/spi
Also modifiy the document of cell-index in SPI controller. Add the
SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24
is 0x. When used mkfs.ext2 command to create ext2
filesystem on the flash, the read length will exceed the max value of
the SPCOM[TRANSLEN] field.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
- Added support to the transaction
the code operated the register to the
driver code, not the common code.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
drivers/spi/Kconfig |5 +
drivers/spi/Makefile |1 +
drivers/spi/spi_fsl_lib.c | 237
Signed-off-by: Mingkai Hu mingkai...@freescale.com
Acked-by: Grant Likely grant.lik...@secretlab.ca
---
v4:
- Updated to latest kernel base(Linux 2.6.36-rc7).
- Made changes according to Grant's comments.
drivers/mtd/devices/m25p80.c |5 +
1 files changed, 5 insertions(+), 0 deletions
This patchset refactor the file spi_mpc8xxx.c to abstract some common
code as a lib used by the SPI/eSPI controller driver, move the SPI
controller driver code to spi_fsl_spi.c, and add the eSPI controller
support with spi_fsl_espi.c.
v4 main change:
- Update to the latest kernel base(Linux
Also modifiy the document of cell-index in SPI controller. Add the
SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v3:
- Add fsl,p4080-espi compatible property.
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v3:
- Move the SPI flash partition code to the probe function.
drivers/mtd/devices/m25p80.c | 39 +++
1 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/drivers/mtd/devices/m25p80.c b
the code operated the register to the
driver code, not the common code.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v3:
- Update to the latest kernel base.
- Add a void *reg_base to compatible for SPI and eSPI register base.
drivers/spi/Kconfig |5 +
drivers/spi/Makefile
, the command and data are put into different transfers, so
we need to combine all the transfers to one transfer in order to pass
the transfer to eSPI controller.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v3:
- Update to the latest kernel base.
drivers/spi/Kconfig|9
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v3:
- Add spi-quirk-trans-len-limit property to the board's dts.
Documentation/powerpc/dts-bindings/fsl/spi.txt |3 +++
arch/powerpc/boot/dts/mpc8536ds.dts|1 +
arch/powerpc/boot/dts/p4080ds.dts |1 +
3
In-Reply-To:
This patchset refactor the file spi_mpc8xxx.c to abstract some common
code as a lib used by the SPI/eSPI controller driver, move the SPI
controller driver code to spi_fsl_spi.c, and add the eSPI controller
support with spi_fsl_espi.c.
Tested on P4080DS and MPC8536DS board based on
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v2:
- Remove the whitespace inconsitencies
arch/powerpc/boot/dts/mpc8536ds.dts | 52 +++
arch/powerpc/boot/dts/p4080ds.dts | 11 +++-
2 files changed, 56 insertions(+), 7 deletions(-)
diff --git
Also modifiy the document of cell-index in SPI controller.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v2:
- Add cell-index clarification
- Add mpc8536 chip name to the compatible value
Documentation/powerpc/dts-bindings/fsl/spi.txt | 24 +++-
1 files changed
, the command and data are put into different transfers, so
we need to combine all the transfers to one transfer in order to pass
the transfer to eSPI controller.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v2:
- Rename fsl_espi.c to spi_fsl_espi.c, also the config name
- Move register
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v2:
- Move the flash partition function from of_spi.c to MTD driver
drivers/mtd/devices/m25p80.c | 29 +
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers
to read page by page.
For other SPI flash driver, also needed to supply the read function
if used the eSPI controller.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
v2:
- Add SPI_MASTER_TRANS_LIMIT flag to indicate the master's trans length
limitation, so the MTD driver can select
This patchset refactor the file spi_mpc8xxx.c to abstract some common code
as a lib used by the SPI/eSPI controller driver, move the SPI controller
driver code to fsl_spi.c, and add the eSPI controller support with fsl_espi.c.
Tested on P4080DS and MPC8536DS board based on latest Linux tree.
to read page by page.
For other SPI flash driver, also needed to change the read function
if used the eSPI controller.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
drivers/mtd/devices/m25p80.c | 18 ++
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
Documentation/powerpc/dts-bindings/fsl/spi.txt | 20
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt
b/Documentation/powerpc/dts-bindings/fsl/spi.txt
index
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
drivers/of/of_spi.c | 11 +++
drivers/spi/spi_mpc8xxx.c |1 +
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/drivers/of/of_spi.c b/drivers/of/of_spi.c
index 5fed7e3..284ca0e 100644
--- a/drivers
in the same message are needed to combine to one transfer.
Signed-off-by: Mingkai Hu mingkai...@freescale.com
---
drivers/spi/Kconfig |7 +
drivers/spi/Makefile |1 +
drivers/spi/fsl_espi.c| 562 +
drivers/spi/spi_mpc8xxx.h | 12 +
4
30 matches
Mail list logo