...@lists.denx.de] On
Behalf Of Peng Fan
Sent: Thursday, September 11, 2014 9:56 AM
To: Estevam Fabio-R49496; Li Ye-B37916
Cc: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] imx:mx6sxsabresd add qspi support
Configure the pad setting and enable qspi clock to support qspi flashes
access
Hi,
just ping, Any comments about this patch?
Regards,
Peng.
On 09/11/2014 09:54 AM, Peng Fan wrote:
Add QSPI support for mx6solox.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v2:
Take Fabio's suggestion, split soc code and board code into two patches.
arch/arm
Hi,
On 10/09/2014 06:37 PM, Jagan Teki wrote:
Hi Peng Fan,
Before reviewing these two patches, I'm requesting some sort work from
your side like
Can you update/fix the driver drivers/spi/fsl_qspi.c without using
flash opcodes.
Using flash opcode's with in the (q)spi driver
Use QSPI_CMD_xx instead of flash opcodes
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v3:
Use QSPI_CMD_XX instead of flash opcodes. To fsl qspi controller, the LUT
should be pre programmed with QSPI CMD.
Changelog v2:
none
drivers/spi/fsl_qspi.c | 64
According cs, use different amba_base to choose the corresponding
flash devices. If not, `sf probe 1:0` and `sf probe 1:1` will
choose the same flash device, but not different flash devices.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v3:
none
Changelog v2:
none
drivers
Add QSPI support for mx6solox.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v3:
none
Changelog v2:
Take Fabio's suggestion, split soc code and board code into two patches.
arch/arm/cpu/armv7/mx6/clock.c | 50
arch/arm/include/asm
Configure the pad setting and enable qspi clock to support qspi
flashes access.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v3:
none
Changelog v2:
Take Fabio's suggestion, split soc code and board code into two patches.
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 40
Hi,
On 08/21/2014 06:44 PM, Stefano Babic wrote:
Hi Alexandre,
On 21/08/2014 11:08, Alexandre Delove wrote:
Hello
I am trying to disable the memory management unit on my sabreLite board, but
i don't find what i should do. I also want to change the mapping of the MMU,
but i don't know
|Host
=kgdb |(gdb)b bootz
|(gdb)c
=bootz |
|(gdb)Here stop because of breakpoint
|(gdb)q
Signed-off-by: Peng Fan van.free...@gmail.com
---
common/kgdb.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git
From: Peng Fan van.free...@gmail.com
There are two different ways to read out the data from the flash:
the IP Command Read and the AHB Command Read.
The IC guy suggests we use the AHB Command Read which is faster
then the IP Command Read. (What's more is that there is a bug in
the IP Command
From: Peng Fan van.free...@gmail.com
This patch set is to support QSPI for mx6sxsabresd board. And
register read/write is implmented. AHB read is also supported to
improve flash read performance.
All the three patches have been tested on mx6sxsabresd board.
Peng Fan (3):
ARM:MX6SX Add QuadSPI
From: Peng Fan van.free...@gmail.com
Add QuadSPI support for mx6sxsabresd board.
There are two 16MB S25FL128S flashes on board. They are connected to
QSPI2 interface. i.MX6SX supports two QuadSPI interfaces, QSPI1/2.
The two flash devices are connected to A1/B1 of QSPI2.
Signed-off-by: Peng Fan
From: Peng Fan van.free...@gmail.com
Add qspi_op_wrr to support status and configuration register write in
flash devices.
Signed-off-by: Peng Fan van.free...@gmail.com
---
drivers/spi/fsl_qspi.c | 77 --
1 file changed, 74 insertions(+), 3
On 09/10/2014 08:40 PM, Fabio Estevam wrote:
On Wed, Sep 10, 2014 at 3:16 AM, Peng Fan peng@freescale.com wrote:
From: Peng Fan van.free...@gmail.com
Add QuadSPI support for mx6sxsabresd board.
There are two 16MB S25FL128S flashes on board. They are connected to
QSPI2 interface
Add QSPI support for mx6solox.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v2:
Take Fabio's suggestion, split soc code and board code into two patches.
arch/arm/cpu/armv7/mx6/clock.c| 50 +++
arch/arm/include/asm/arch-mx6/clock.h | 3
Configure the pad setting and enable qspi clock to support qspi
flashes access.
This patch has been tested on mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
---
Changelog v2:
Take Fabio's suggestion, split soc code and board code into two patches.
This patch needs
,
fsl_esdhc_mmc_init will use wrong base address to initialize SDHCx.
Peng Fan (3):
imx:mx6sxsabresd: change CONFIG_SYS_FSL_ESDHC_ADDR
imx:mx6qarm2: change CONFIG_SYS_FSL_ESDHC_ADDR
imx:mx6slevk: change CONFIG_SYS_FSL_ESDHC_ADDR
include/configs/mx6qarm2.h | 2 +-
include/configs/mx6slevk.h | 2
Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC2_BASE_ADDR which is
used in board_mmc_init.
Signed-off-by: Peng Fan peng@freescale.com
---
include/configs/mx6slevk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index
Define CONFIG_SYS_FSL_ESDHC_ADDR using USDHC4_BASE_ADDR which is used
in board_mmc_init.
If board_mmc_init failed, cpu_mmc_init-fsl_esdhc_mmc_init will use
CONFIG_SYS_FSL_ESDHC_ADDR to initialize sdhc. So set this macro to
correct value.
Signed-off-by: Peng Fan peng@freescale.com
is invoked.
Signed-off-by: Peng Fan peng@freescale.com
---
include/configs/mx6qarm2.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index fd651cf..fc0e284 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs
PFUZ is connected to I2C bus 0, so change 1 - 0.
Using this patch PFUZ can be correctly probed:
PMIC: PFUZE100 ID=0x11
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/board
On 10/31/2014 08:01 PM, Fabio Estevam wrote:
On Fri, Oct 31, 2014 at 1:08 AM, Peng Fan peng@freescale.com wrote:
The PFUZ probe failed with the following msg:
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=0
wait_for_sr_state: failed
Add usb support for mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 29 +
include/configs/mx6sxsabresd.h | 14 ++
2 files changed
Add usb support for mx6qarm2 board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
board/freescale/mx6qarm2/mx6qarm2.c | 27 +++
include/configs/mx6qarm2.h | 14 ++
2 files changed, 41 insertions(+)
diff
Add usb support for mx6slevk board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
board/freescale/mx6slevk/mx6slevk.c | 29 +
include/configs/mx6slevk.h | 14 ++
2 files changed, 43 insertions
Add usb support for mx6sabresd.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
board/freescale/mx6sabresd/mx6sabresd.c | 53 +
include/configs/mx6sabresd.h| 14 +
2 files changed, 67 insertions
function. ehci_hcd_init and otg power polarity in ehci-mx6.c are not touched.
Thus usb start can not work fine. As this is new feature support, post
this patch set for review first.
In future patch, related patch that maybe bugfix to make `usb start` fine
will be sent out.
Peng Fan (5
Add a new function mxc_iomux_set_gpr_register to
set the iomux gpr register.
32-bit general purpose registers according to SoC
requirements for any usage.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Nitin Garg nitin.g...@freescale.com
This patch arm:imx-common introduce a new function to set gpr
missed to add the function prototype.
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/include/asm/imx-common/iomux-v3.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h
b
Add pad settings for usb support.
This patch imx:mx6slevk add usb support missed to add pad
definition.
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/arch-mx6
the board related kgdb serial code is not fine for patch review,
I just sent out the common code for review.
I am not sure whether this patch set will break other platform's kgdb support
or not, so request for comment.
Peng Fan (2):
kgdb: add breakpoint support
arm:kgdb add KGDB support for arm
The register save/restore:
Use get_bad_stack and bad_save_user_regs to save regs.
Introduce und_restore_regs to restore the previous regs before
trigger a breakpoint.
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/include/asm/proc-armv/ptrace.h | 2 +-
arch/arm/include/asm
Add Z/z protocal support for breakpoint set/remove.
Signed-off-by: Peng Fan peng@freescale.com
---
common/kgdb.c | 273 +
include/kgdb.h | 35
2 files changed, 308 insertions(+)
diff --git a/common/kgdb.c b/common/kgdb.c
On 11/01/2014 03:39 PM, Li Ye-B37916 wrote:
Hi Peng,
On 11/1/2014 10:19 AM, Peng Fan wrote:
Add a new function mxc_iomux_set_gpr_register to
set the iomux gpr register.
32-bit general purpose registers according to SoC
requirements for any usage.
Signed-off-by: Peng Fan peng
Hi,
在 11/3/2014 8:28 PM, Stefano Babic 写道:
Hi Peng,
On 01/11/2014 03:19, Peng Fan wrote:
Add usb support for mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 29
Changes v2:
- move pinmux setting into board_init
- add otg polarity setting in board_ehci_hcd_init
- Introduce a new weak function to give board a choice to decide the work mode
of the otg port, since a otg port can also work in host mode without
touch ID pin.
Peng Fan (3):
usb:ehci
Include a weak function board_ehci_usb_mode to gives board code
a choice. If the board want the otg port work in host mode but not
device mode, this should be handled.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v2:
Introduce a new weak
Add usb support for mx6slevk board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v2:
Add otg polarity setting
move pinmux into board_init
arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 +++
board/freescale/mx6slevk/mx6slevk.c
Add usb support for mx6sxsabresd board.
There are two usb port on mx6sxsabresd board:
1. OTG
2. OTG
The second port is actually an otg port with a USB A type interface on
the board.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v2:
Add otg
在 11/4/2014 6:33 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 08:50:00 AM, Peng Fan wrote:
Include a weak function board_ehci_usb_mode to gives board code
a choice.
What choice?
If the board want the otg port work in host mode but not
device mode, this should be handled.
How
在 11/4/2014 6:31 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 08:49:59 AM, Peng Fan wrote:
So uh, what exactly does this patchset do ? It's not clear at all from the
subject and any description is completely missing.
To my knowledge, i.MX6 already does have USB support in U-Boot, so
Hi Simon,
在 11/4/2014 2:46 PM, Simon Glass 写道:
Hi Peng,
On 31 October 2014 23:12, Peng Fan peng@freescale.com wrote:
Add Z/z protocal support for breakpoint set/remove.
Signed-off-by: Peng Fan peng@freescale.com
This looks good to me - I just have a few bits below.
---
common
Hi Simon,
在 11/4/2014 2:58 PM, Simon Glass 写道:
HI Peng,
On 31 October 2014 23:12, Peng Fan peng@freescale.com wrote:
The register save/restore:
Use get_bad_stack and bad_save_user_regs to save regs.
Introduce und_restore_regs to restore the previous regs before
trigger a breakpoint
Hi Marek,
在 11/4/2014 7:01 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 11:50:29 AM, Peng Fan wrote:
在 11/4/2014 6:33 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 08:50:00 AM, Peng Fan wrote:
Include a weak function board_ehci_usb_mode to gives board code
a choice.
What
Hi Jeroen,
在 11/4/2014 7:40 PM, Jeroen Hofstee 写道:
Hello Peng,
On 04-11-14 08:50, Peng Fan wrote:
Include a weak function board_ehci_usb_mode to gives board code
a choice. If the board want the otg port work in host mode but not
device mode, this should be handled.
Signed-off-by: Peng Fan
在 11/5/2014 1:33 AM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 02:29:56 PM, Peng Fan wrote:
Hi Marek,
在 11/4/2014 7:01 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 11:50:29 AM, Peng Fan wrote:
在 11/4/2014 6:33 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 08:50:00 AM
在 11/5/2014 5:03 PM, Marek Vasut 写道:
On Wednesday, November 05, 2014 at 07:00:32 AM, Peng Fan wrote:
在 11/5/2014 1:33 AM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 02:29:56 PM, Peng Fan wrote:
Hi Marek,
在 11/4/2014 7:01 PM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 11:50:29
host port
In order to make host port work, board_usb_phy_mode return 0 to let
ehci-mx6.c driver decide otg2 core to works in host mode.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v3:
implement board_usb_phy_mode
Changes v2:
Add otg
--- board host port
In order to make host port work, board_usb_phy_mode return 0 to let
ehci-mx6.c driver decide otg2 core to works in host mode.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v3:
implement board_usb_phy_mode
Changes v2:
Add otg
Peng Fan (3):
usb:ehci-mx6 add board_usb_phy_mode function
imx:mx6sxsabresd add board level support for usb
imx:mx6slevk add board level support for usb
arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 +++
board/freescale/mx6slevk/mx6slevk.c | 63 +
board
) ? USB_INIT_DEVICE :
USB_INIT_HOST; will always set 'type' with USB_INIT_DEVICE.
So introduce this weak function to let board level code can decide to work
in host or device mode, if board level code want to implement this function.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37
在 11/7/2014 4:20 AM, Marek Vasut 写道:
On Wednesday, November 05, 2014 at 10:18:25 AM, Peng Fan wrote:
在 11/5/2014 5:03 PM, Marek Vasut 写道:
On Wednesday, November 05, 2014 at 07:00:32 AM, Peng Fan wrote:
在 11/5/2014 1:33 AM, Marek Vasut 写道:
On Tuesday, November 04, 2014 at 02:29:56 PM, Peng
在 11/7/2014 4:25 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 02:08:12 AM, Peng Fan wrote:
Include a weak function board_usb_phy_mode.
usb_phy_enable decide whether the controller in device mode or in host mode
by '*phy_ctrl USBPHY_CTRL_OTG_ID'.
There are two usb port
在 11/7/2014 4:26 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote:
Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode
There are two usb port on mx6slevk board:
1. otg port
2. host port
The following are the connection between usb controller
在 11/7/2014 7:09 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote:
[...]
@@ -160,7 +174,7 @@ static int usb_phy_enable(int index, struct usb_ehci
*ehci) val |= (USBPHY_CTRL_ENUTMILEVEL2 | USBPHY_CTRL_ENUTMILEVEL3);
__raw_writel(val, phy_ctrl
在 11/7/2014 7:10 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:08:03 PM, Peng Fan wrote:
在 11/7/2014 4:26 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 02:08:14 AM, Peng Fan wrote:
Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode
There are two usb port
在 11/7/2014 8:17 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:45:51 PM, Peng Fan wrote:
在 11/7/2014 7:09 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote:
[...]
@@ -160,7 +174,7 @@ static int usb_phy_enable(int index, struct
usb_ehci *ehci) val
在 11/8/2014 12:07 PM, Peng Fan 写道:
在 11/7/2014 8:17 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:45:51 PM, Peng Fan wrote:
在 11/7/2014 7:09 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:03:30 PM, Peng Fan wrote:
[...]
@@ -160,7 +174,7 @@ static int usb_phy_enable(int
to decide which mode
to work at.
- move pinmux setting into board_init
- add otg polarity setting in board_ehci_hcd_init
- set pinmux struct static
Peng Fan (3):
usb:ehci-mx6 add phy mode query function
imx:mx6sxsabresd add board level support for usb
imx:mx6slevk add board level support
--- board host port
In order to make host port work, board_usb_phy_mode return USB_INIT_HOST
to make host port work in HOST mode.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v4:
reimplement board_usb_phy_mode.
Changes v3:
Take Marek's
.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v4:
- Take Marek's suggestions, implement usb_phy_mode function and
introduce a weak function board_usb_phy_mode.
- change usb_phy_enable's return value with 0.
- add prototype
host port
In order to make host port work, board_usb_phy_mode return USB_INIT_HOST
to let host port work in host mode.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye Li b37...@freescale.com
---
Changes v4:
reimplement board_usb_phy_mode
Changes v3:
implement
On 11/8/2014 7:33 PM, Marek Vasut wrote:
On Saturday, November 08, 2014 at 05:07:21 AM, Peng Fan wrote:
在 11/7/2014 8:17 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:45:51 PM, Peng Fan wrote:
在 11/7/2014 7:09 PM, Marek Vasut 写道:
On Friday, November 07, 2014 at 12:03:30 PM, Peng
Hi Stefano,
Would you please help reviewing this patch?
On 11/1/2014 8:16 AM, Fabio Estevam wrote:
On Fri, Oct 31, 2014 at 1:08 AM, Peng Fan peng@freescale.com wrote:
The PFUZ probe failed with the following msg:
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer
-by: Peng Fan peng@freescale.com
---
arch/arm/cpu/armv7/mx6/clock.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c
index 80b11aa..99dba07 100644
--- a/arch/arm/cpu/armv7/mx6/clock.c
+++ b/arch/arm/cpu/armv7/mx6
Add pinmux settings and implement board_ehci_hcd_init
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6qarm2/mx6qarm2.c | 42 +
include/configs/mx6qarm2.h | 14 +
2 files changed, 56 insertions(+)
diff --git a/board
Add pinmux settings, implement board_ehci_hcd_init and board_ehci_power
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6sabresd/mx6sabresd.c | 68 +
include/configs/mx6sabresd.h| 14 +++
2 files changed, 82 insertions(+)
diff
Calculate ecc strength according oobsize, but not hardcoded
which is not aligned with kernel driver
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
drivers/mtd/nand/mxs_nand.c | 22 --
1 file changed, 4 insertions(+), 18 deletions
-off-by: Peng Fan peng@freescale.com
---
arch/arm/include/asm/imx-common/regs-bch.h | 2 ++
drivers/mtd/nand/mxs_nand.c| 33 ++
2 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/arch/arm/include/asm/imx-common/regs-bch.h
b/arch/arm
Add spi nor boot support for mx6slevk board.
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6slevk/MAINTAINERS | 1 +
configs/mx6slevk_spinor_defconfig| 3 +++
include/configs/mx6slevk.h | 13 -
3 files changed, 16 insertions(+), 1 deletion
select SUPPORT_SPL for mx6sxsabresd.
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5eb1d03..46e708f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -637,6 +637,7 @@ config
Add SPL support in mx6sxsabresd header file.
Signed-off-by: Peng Fan peng@freescale.com
---
include/configs/mx6sxsabresd.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 61a7a7a..19ac3dc 100644
--- a/include
Since mx6sx's memory space is different to mx6dq, redefine the SPL
related macro for mx6sx chip.
Signed-off-by: Peng Fan peng@freescale.com
---
include/configs/imx6_spl.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index
Add board level spl support for mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6sxsabresd/MAINTAINERS| 1 +
board/freescale/mx6sxsabresd/mx6sxsabresd.c | 168
2 files changed, 169 insertions(+)
diff --git a/board
Add a SPL default configuration file for mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
---
configs/mx6sxsabresd_spl_defconfig | 4
1 file changed, 4 insertions(+)
create mode 100644 configs/mx6sxsabresd_spl_defconfig
diff --git a/configs/mx6sxsabresd_spl_defconfig
b
;
to others, MMDC1 effects as the original mmdc1-entry = value.
Peng Fan (6):
imx:mx6sxsabresd add spl config file
imx:mx6sxsabresd select SUPPORT_SPL
imx:mx6sxsabresd spl support in header file
imx:mx6sx add dram io configure for mx6sx
imx:mx6 add mx6sx in imx spl header file
.
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/cpu/armv7/mx6/ddr.c| 96 -
arch/arm/include/asm/arch-mx6/mx6-ddr.h | 46
2 files changed, 128 insertions(+), 14 deletions(-)
diff --git a/arch/arm/cpu/armv7/mx6/ddr.c b/arch/arm
value with OPCODE_xx.
Since Revb board's qspi flash support 4K erase, 4K erase is added in driver.
Peng Fan (5):
QuadSPI: use QSPI_CMD_xx instead of flash opcodes
QuadSPI: use correct amba_base
arm:mx6sx add QSPI support
imx:qspi add 4K erase support
imx:mx6sxsabresd add qspi support
Use QSPI_CMD_xx instead of flash opcodes
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v4:
None
Changes v3:
Use QSPI_CMD_XX instead of flash opcodes. To fsl qspi controller,
the LUT should be pre programmed with QSPI CMD.
Changes v2:
None
drivers/spi/fsl_qspi.c | 64
According cs, use different amba_base to choose the corresponding
flash devices. If not, `sf probe 1:0` and `sf probe 1:1` will
choose the same flash device, but not different flash devices.
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v4:
None
Changes v3:
None
Changes v2
Add 4k erase command support for qspi driver. reuse the 64k erase function,
but change the function name from qspi_op_se to qspi_op_erase, since it
supports 64k and 4k erase.
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v4:
New patch in v4. This patch is to support 4k erase
Add QSPI support for mx6solox.
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v4:
None
Changes v3:
None
Changes v2:
Take Fabio's suggestion, split soc code and board code into two patches.
arch/arm/cpu/armv7/mx6/clock.c | 50
arch/arm
Configure the pad setting and enable qspi clock to support qspi
flashes access.
Add QSPI related macro in configuration header file.
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v4:
None
Changes v3:
None
Changes v2:
Take Fabio's suggestion, split soc code and board code
rebasing, I sent a v4 patch set. Please review.
Thanks,
Peng Fan.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi Jagan,
On 12/30/2014 8:38 PM, Jagan Teki wrote:
On 30 December 2014 at 08:44, Peng Fan peng@freescale.com wrote:
Add spi nor boot support for mx6slevk board.
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6slevk/MAINTAINERS | 1 +
configs
On 12/31/2014 5:35 PM, Jagan Teki wrote:
On 31 December 2014 at 08:31, Peng Fan peng@freescale.com wrote:
This patch set is to support qspi for mx6sxsabresd board.
To mx6sxsabresd Revb board, 32M flash is used, but in header file,
CONFIG_SPI_FLASH_BAR is not defined, and we still use
Hi, Simon
On 1/23/2015 5:25 AM, Simon Glass wrote:
Hi,
On 21 January 2015 at 04:09, Peng Fan peng@freescale.com wrote:
Abstracting dev_get_addr can improve drivers that want to
get device's address.
Signed-off-by: Peng Fan peng@freescale.com
---
drivers/core/device.c | 19
Hi Nikolay,
On 2/2/2015 6:24 PM, Nikolay Dimitrov wrote:
Hi Peng,
On 01/19/2015 10:29 AM, Peng Fan wrote:
Hi Stefano,
On 1/19/2015 4:18 PM, Stefano Babic wrote:
Hi Peng,
series looks ok to me - just a small question:
On 30/12/2014 10:24, Peng Fan wrote:
Add board level spl support
If CONFIG_ARMV7_PSCI is not defined and CONFIG_ARMV7_SECURE_BASE is defined,
smp_kicl_all_cpus may enable secondary cores and runs into secure_ram_addr(
_smp_pen), before code is relocated to secure ram.
So need relocation to secure ram before enable secondary cores.
Signed-off-by: Peng Fan peng
Hi Simon,
On 1/20/2015 3:45 AM, Simon Glass wrote:
Hi Peng.
On 18 January 2015 at 23:11, Peng Fan peng@freescale.com wrote:
This patch supports getting gpios' configuration from dtb.
CONFIG_OF_CONTROL is used to indicated which part is for device tree,
and which is not.
This patch
Hi Stefano,
On 1/19/2015 4:18 PM, Stefano Babic wrote:
Hi Peng,
series looks ok to me - just a small question:
On 30/12/2014 10:24, Peng Fan wrote:
Add board level spl support for mx6sxsabresd board.
Signed-off-by: Peng Fan peng@freescale.com
---
board/freescale/mx6sxsabresd
=arm menuconfig`
Signed-off-by: Peng Fan peng@freescale.com
---
drivers/gpio/mxc_gpio.c | 76 +
1 file changed, 76 insertions(+)
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c
index 8bb9e39..8603068 100644
--- a/drivers/gpio
Hi Jagan,
On 1/19/2015 2:47 PM, Jagan Teki wrote:
Hi Peng,
On 17 January 2015 at 11:29, Peng Fan peng@freescale.com wrote:
Hi Simon ,Jagan
This patch is based on git://git.denx.de/u-boot-spi.git master branch,
since some fsl_qspi's new feature is still in this git repo and have
not been
Hi Marek,
And this one.
On 12/19/2014 12:39 PM, Peng Fan wrote:
If ecc chunk data size is 512 and oobsize is bigger than 512, there is
a chance that block_mark_bit_offset conflicts with bch ecc area.
The following graph is modified from kernel gpmi-nand.c driver with each data
block 512 bytes
Hi Marek,
Since you are familiar with this driver, would you please help review
this patch?
On 12/19/2014 12:39 PM, Peng Fan wrote:
Calculate ecc strength according oobsize, but not hardcoded
which is not aligned with kernel driver
Signed-off-by: Peng Fan peng@freescale.com
Signed-off
board_early_init_f to board_init
+ define CONFIG_DM ,CONFIG_DM_GPIO and CONFIG_OF_CONTROL
+ Add device tree file and do related configuration in
`make ARCH=arm menuconfig`
These will be done in future patches by step.
Signed-off-by: Peng Fan peng@freescale.com
---
Changes v2:
1. remove
Hi, Marek
On 1/20/2015 7:04 PM, Marek Vasut wrote:
On Tuesday, January 20, 2015 at 07:35:26 AM, Peng Fan wrote:
Hi Marek,
Since you are familiar with this driver, would you please help review
this patch?
Hi!
I commented on both. Next time, please CC me and Stefano, since the patches
might
Hi, Marek
On 1/20/2015 7:03 PM, Marek Vasut wrote:
On Friday, December 19, 2014 at 05:39:13 AM, Peng Fan wrote:
If ecc chunk data size is 512 and oobsize is bigger than 512, there is
a chance that block_mark_bit_offset conflicts with bch ecc area.
The following graph is modified from kernel
Hi Igor,
Just kindly remind, did you miss this one? Since you ack the other
patches in this patch set.
On 1/21/2015 7:09 PM, Peng Fan wrote:
This patch add DT support for mxc gpio driver.
There are one place using CONFIG_OF_CONTROL macro.
1. The U_BOOT_DEVICES and mxc_plat array
Hi, Przemyslaw
On 1/15/2015 10:58 PM, Przemyslaw Marczak wrote:
Hello Peng,
On 01/15/2015 11:18 AM, Peng Fan wrote:
This patch is to implement pfuze_mode_init and pfuze_regulator_mode_set
function, and add prototype in header file.
pfuze_mode_init is to set switching mode for all buck
1 - 100 of 5447 matches
Mail list logo