Now cortina driver uses macro CONFIG_SYS_CORTINA_FW_IN_NOR
to define that firmware of cortina driver is stored in the
nor flash.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/configs/T4240RDB.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include
This patch adds SD boot support for T4240RDB board. SPL
framework is used. PBL initializes the internal RAM and
copies SPL to it. Then SPL initializes DDR using SPD and
copies u-boot from SD card to DDR, finally SPL transfers
control to u-boot.
Signed-off-by: Chunhe Lan chunhe@freescale.com
The fsl_immap.h header file had been included in common.h
header file. So remove duplicated header.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/ddr/fsl/ctrl_regs.c|1 -
drivers/ddr/fsl/fsl_ddr_gen4.c |1 -
drivers/ddr/fsl/util.c |1 -
3 files changed, 0
SerDes 2 protocol 56 is not valid any longer due to
the new RCW; protocol 55 is used instead, so add
SerDes 2 protocol 55 to align with RCW.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files
SerDes 2 protocol 56 is not valid any longer due to
the new RCW; protocol 55 is used instead, so add
SerDes 2 protocol 55 to align with RCW.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/configs/T4240RDB.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 5ab1b47..eff1db9 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs
, but will ignore fsl,hydra-mdio-muxval.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/corenet_ds/eth_hydra.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/board/freescale/corenet_ds/eth_hydra.c
b/board/freescale/corenet_ds/eth_hydra.c
index 35825c4
Add configs:
o CONFIG_SYS_GENERIC_BOARD
o CONFIG_DISPLAY_BOARDINFO
in P1023RDB config header file to use U-boot generic
board code.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/configs/P1023RDB.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git
Add configs:
o CONFIG_SYS_GENERIC_BOARD
o CONFIG_DISPLAY_BOARDINFO
in C29XPCIE config header file to use U-boot generic
board code.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/configs/C29XPCIE.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git
This support of CPLD includes
- Files and register definitions
- Command to switch alternate bank
- Command to switch default bank
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/Makefile |1 +
board/freescale/t4rdb/cpld.c | 136
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/configs/P1023RDB.h | 43 +++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index ba3da06..6b29add 100644
--- a/include
This support of CPLD includes
- Files and register definitions
- Command to switch alternate bank
- Command to switch default bank
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/Makefile |1 +
board/freescale/t4rdb/cpld.c | 136
-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c
index d220475..142c6a8 100644
--- a/board
-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c
index d220475..142c6a8 100644
--- a/board
SRDS_PRTCL_Sx option.
The alternate option has the same functionality as
the original option; the only difference being LC VCO
rather than Ring VCO.
The alternate Protocols are:
Serdes1: 27 instead of 28
Serdes2: Not impacted
Serdes3: 1 instead of 2
Serdes4: 9 instead of 10
Signed-off-by: Chunhe
By default, all PEX inbound windows PEX_PEXIWARn[TRGT] are
mapped to 0xF, which is local memory. But for BSC9132, 0xF
is CCSR, 0x0 is local memory.
Signed-off-by: Minghuan Lian minghuan.l...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/cpu/mpc85xx
T4160RDB shares the same platform as T4240RDB. T4160 is
a low power version of T4240, with the eight e6500 cores,
two DDR3 controllers, and same peripheral bus interfaces.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
boards.cfg |1 +
include/configs/T4240RDB.h
.
This patch can change the mapping of targets of inbound windows
PEX_PEXIWARn[TRGT] to the following value:
Local address space – 0x0 (from 0xF)
Signed-off-by: Minghuan Lian minghuan.l...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c
Before CORTINA driver only supports two phy addresses.
This patch adds the four phy addresses support for
CORTINA PHY module.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/net/phy/cortina.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions
.
This patch can change the mapping of targets of inbound windows
PEX_PEXIWARn[TRGT] to the following value:
Local address space – 0x0 (from 0xF)
Signed-off-by: Minghuan Lian minghuan.l...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c
This patch adds support for VSC8664 PHY module which can
be found on Freescale's T4240RDB boards.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/net/phy/vitesse.c | 46 +
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git
The Micron MT29F16G parts are 2048Mbytes x 8 bits 3.3V
parts with the 0x48 identifier. Add these to the list
of known devices IDs.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
drivers/mtd/nand/nand_ids.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/cpu/mpc85xx/t4240_ids.c |2 +
board/freescale/t4rdb/Makefile | 12 +
board/freescale/t4rdb/ddr.c | 118 ++
board/freescale/t4rdb/ddr.h | 78
board/freescale/t4rdb
The both AR8031 and AR8035 belong to Atheros 803x serial PHY.
So the phy id mask of AR8031 is the same to the phy id mask
of AR8035. The right mask value is 0x4f.
This patch has been tested on the P1010 and P1023.
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Joe Hershberger
value 0x10, 0x11 and 0x20.
The CONFIG_SYS_FSL_A004447_SVR_REV = 0x00 represents that one
version of platform has this I2C errata. So enable this errata
by IS_SVR_REV(svr, maj, min) function.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc
When the code detected that the bus is hung (e.g. SDA stuck low),
send 9 pulses on SCL to try to fixup the bus.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
Cc: Heiko Schocher h...@denx.de
value 0x10, 0x11 and 0x20.
The CONFIG_SYS_FSL_A004447_SVR_REV = 0x00 represents that one
version of platform has this I2C errata. So enable this errata
by IS_SVR_REV(svr, maj, min) function.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc
When the code detected that the bus is hung (e.g. SDA stuck low),
send 9 pulses on SCL to try to fixup the bus.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
drivers/i2c/fsl_i2c.c | 58
this errata
by IS_SVR_REV(svr, maj, min) function.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |6 ++
arch/powerpc/include/asm
When the code detected that the bus is hung (e.g. SDA stuck low),
send 9 pulses on SCL to try to fixup the bus.
Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
drivers/i2c/fsl_i2c.c | 58
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105
On 06/12/2013 02:00 AM, Scott Wood wrote:
On 06/09/2013 05:24:05 AM, Chunhe Lan wrote:
+/* W**G* - Flash, localbus */
+/* This will be changed to *I*G* after relocation to RAM. */
+SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH_BASE_PHYS,
+ MAS3_SX|MAS3_SW
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/p1023rdb/Makefile | 32 +++
board/freescale/p1023rdb/law.c | 34 +++
board/freescale/p1023rdb/p1023rdb.c | 194
board/freescale/p1023rdb
On 04/16/2013 09:57 PM, Sinan Akman wrote:
Chunhe Lan wrote:
P1023RDB Specification:
---
Memory subsystem:
512MB DDR3 (Fixed DDR on board)
64MB NOR flash
128MB NAND flash
Chunhe, what is the orderable part number of
this board, I don't see anything on the FSL web
The PCI Express internal transmit and receive buffers are ECC protected.
When these buffers are being read before they are written, a false
multi-bit ECC error is likely to occur. So disable the PCI Express ECC
error reporting.
The Workaround is for the T4 silicon rev 1.0.
Signed-off-by: Chunhe
Scott Wood wrote:
GOT is now handled the way the main u-boot.lds does it. Without this,
the boot hangs when built with newer GCC (since 4.6). Older toolchains
hid the issue by converting -fpic to -fPIC.
Signed-off-by: Scott Wood scottw...@freescale.com
Tested-by: Chunhe Lan chunhe
Wolfgang Denk wrote:
Dear Chunhe Lan,
In message 1334719161-3500-1-git-send-email-chunhe@freescale.com
you wrote:
The -fPIC/-fpic flag belongs with -mrelocatable. The -fpic flag can
limit the size of the GOT and produce smaller binaries, so it causes
some GOT entries to be lost
promotes -fpic flag to -fPIC flag.
This reverts that portion of the
commit 33ee4c92339ee386662c0ee2d221098c5cc8b07e.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
arch/powerpc/config.mk |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/config.mk b/arch
On Tue, 30 Aug 2011 13:20:48 +0800, Wolfgang Denk w...@denx.de wrote:
Dear Chunhe Lan,
In message 1314675674-9825-1-git-send-email-chunhe@freescale.com
you wrote:
The do_fixup_by_path_string() will set the specified node's property to
the
value contained in status. It would just
On Tue, 30 Aug 2011 13:24:34 +0800, Wolfgang Denk w...@denx.de wrote:
Dear Chunhe Lan,
In message 1314675698-9847-1-git-send-email-chunhe@freescale.com
you wrote:
...
status = okay;
...
When booting from nor flash, the status of nor node is null that means
The do_fixup_by_path_string() will set the specified node's property to the
value contained in status. It would just be an inline wrapper for
do_fixup_by_path() that calls strlen on the argument.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
Changes for v2:
- renamed from
= disabled;
o Enable the NAND node by setting status = okay;
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
Changes for v2:
- used do_fixup_by_path_string() instead of fdt_set_node_status()
Changes for v3:
- none
Changes for v4:
- modified comments from Kumar Gala
The do_fixup_by_path_string() will set the specified node's property to the
value contained in status. It would just be an inline wrapper for
do_fixup_by_path() that calls strlen on the argument.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/fdt_support.h |7 +++
1 files
anything.
But, when booting from nand flash, need to do some operations:
o the status of nor node should be disabled.
o the status of nand node should be enabled.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/p1023rds/p1023rds.c |5 +
1 files changed
On Mon, 29 Aug 2011 15:42:09 +0800, Wolfgang Denk w...@denx.de wrote:
Dear Chunhe Lan,
In message 1314602152-9114-1-git-send-email-chunhe@freescale.com
you wrote:
In the p1023rds, accessing exclusively nor flash or nand flash device by
BR0/OR0.
...
When booting from nor flash
On Tue, 30 Aug 2011 04:23:11 +0800, Tabi Timur-B04825
b04...@freescale.com wrote:
On Mon, Aug 29, 2011 at 2:15 AM, Chunhe Lan chunhe@freescale.com
wrote:
In the p1023rds, accessing exclusively nor flash or nand flash device by
BR0/OR0.
This is not an English sentence. I do
The do_fixup_by_path_string() will set the specified node's property to the
value contained in status. It would just be an inline wrapper for
do_fixup_by_path() that calls strlen on the argument.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/fdt_support.h |7 +++
1 files
should be disabled.
o the status of nand node should be enabled.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
board/freescale/p1023rds/p1023rds.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/board/freescale/p1023rds/p1023rds.c
b/board/freescale
On Mon, 29 Aug 2011 02:14:20 +0800, Kumar Gala kumar.g...@freescale.com
wrote:
On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote:
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
On Mon, 29 Aug 2011 02:15:15 +0800, Kumar Gala kumar.g...@freescale.com
wrote:
On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote:
The do_fixup_by_path_string() will set the specified
node's property to the value contained in status.
It would just be a wrapper for do_fixup_by_path
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 dtb. So, when
booting from nand flash, nand node should be enabled and nor
node should be disabled.
Signed-off-by: Chunhe Lan
The do_fixup_by_path_string() will set the specified
node's property to the value contained in status.
It would just be a wrapper for do_fixup_by_path()
that calls strlen on the argument.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
include/fdt_support.h |7 +++
1 files changed
The do_fixup_by_path_string() will set the specified
node's property to the value contained in status.
It would just be a wrapper for do_fixup_by_path()
that calls strlen on the argument.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
common/fdt_support.c |8 +++-
include
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 dtb. So, when
booting from nand flash, nand node should be enabled and nor
node should be disabled.
Signed-off-by: Chunhe Lan
Add a fdt_set_node_status function that will set the specified
node's status to the value contained in status. If the node
doesn't have status property that will be created.
Signed-off-by: Chunhe Lan chunhe@freescale.com
---
common/fdt_support.c | 17 -
include
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 dtb. So, when
booting from nand flash, nand node should be enabled and nor
node should be disabled.
Signed-off-by: Chunhe Lan
58 matches
Mail list logo