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
---
include/configs/T4240RDB.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/T4240RDB.h b/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
---
arch/powerpc/cpu
The fsl_immap.h header file had been included in common.h
header file. So remove duplicated header.
Signed-off-by: Chunhe Lan
---
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 insertions(+), 3
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
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files changed, 3 insertions
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
---
board/freescale/t4rdb/eth.c |2 +-
board/freescale/t4rdb/t4_rcw.cfg |4 ++--
2 files changed, 3 insertions
Signed-off-by: Chunhe Lan
---
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/T4240RDB.h
@@ -12,6
properties, but will ignore fsl,hydra-mdio-muxval.
Signed-off-by: Chunhe Lan
---
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..a934c8
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
---
include/configs/C29XPCIE.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/C29XPCIE.h b
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
---
include/configs/P1023RDB.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/P1023RDB.h
This support of CPLD includes
- Files and register definitions
- Command to switch alternate bank
- Command to switch default bank
Signed-off-by: Chunhe Lan
---
board/freescale/t4rdb/Makefile |1 +
board/freescale/t4rdb/cpld.c | 136
Signed-off-by: Chunhe Lan
---
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/configs/P1023RDB.h
This support of CPLD includes
- Files and register definitions
- Command to switch alternate bank
- Command to switch default bank
Signed-off-by: Chunhe Lan
---
board/freescale/t4rdb/Makefile |1 +
board/freescale/t4rdb/cpld.c | 136
-off-by: Chunhe Lan
---
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/freescale/t4rdb/eth.c
-off-by: Chunhe Lan
---
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/freescale/t4rdb/eth.c
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
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
---
boards.cfg |1 +
include/configs/T4240RDB.h |4
2 files changed
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
Signed-off-by: Chunhe Lan
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++
arch/powerpc/include/asm
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
Signed-off-by: Chunhe Lan
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++
arch/powerpc/include/asm
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
---
drivers/net/phy/cortina.c | 28 ++--
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/drivers/net
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
Signed-off-by: Chunhe Lan
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 +++
arch/powerpc/include/asm
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
---
drivers/mtd/nand/nand_ids.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/nand_ids.c b
This patch adds support for VSC8664 PHY module which can
be found on Freescale's T4240RDB boards.
Signed-off-by: Chunhe Lan
---
drivers/net/phy/vitesse.c | 46 +
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/drivers/ne
UART:
Dual RJ45 ports
Signed-off-by: Chunhe Lan
---
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/eth.c | 146
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
Cc: Joe Hershberger
---
drivers/net/phy/atheros.c
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
Signed-off-by: Chunhe Lan
Cc: Scott Wood
Cc: Heiko Schocher
---
Changes for v2:
- No change
Changes for v3:
- Rework codes for the
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
Signed-off-by: Chunhe Lan
Cc: Scott Wood
Cc: Heiko Schocher
---
Changes for
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
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
drivers/i2c/fsl_i2c.c | 58 +++-
1 files changed, 56
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
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/cpu/mpc85xx
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
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
drivers/i2c/fsl_i2c.c | 58 +++-
1 files changed, 56
this errata
by IS_SVR_REV(svr, maj, min) function.
Signed-off-by: Zhao Chenhui
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/cpu/mpc85xx/cmd_errata.c |6 ++
arch/powerpc/include/asm/config_mpc85xx.h | 16
arch/powerpc/include/asm/fsl_i2c.h
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105 +
board/freescale/p1023rdb/law.c
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
Cc: Scott Wood
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105 +
board/freescale/p1023rdb/law.c | 34
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
Cc: Scott Wood
---
arch/powerpc/cpu/mpc85xx/Makefile |1 +
board/freescale/p1023rdb/Makefile | 33 +++
board/freescale/p1023rdb/ddr.c | 105 +
board/freescale/p1023rdb/law.c | 34
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 FS
Type A ports
I2C:
AT24C08 8K Board EEPROM (8 bit address)
Signed-off-by: Chunhe Lan
---
board/freescale/p1023rdb/Makefile | 32 +++
board/freescale/p1023rdb/law.c | 34 +++
board/freescale/p1023rdb/p1023rdb.c | 194
board/freescale/p1023rdb/tlb.c | 116
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
Tested-by: Chunhe Lan
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
---
arch/powerpc/config.mk |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index
file, so do not do
anything.
But, when booting from nand flash, need to do some operations:
o Disable the NOR node by setting status = "disabled";
o Enable the NAND node by setting status = "okay";
Signed-off-by: Chunhe Lan
---
Changes for v2:
- use
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
---
Changes for v2:
- renamed from fdt_set_n
On Tue, 30 Aug 2011 13:24:34 +0800, Wolfgang Denk wrote:
> Dear Chunhe Lan,
>
> In message <1314675698-9847-1-git-send-email-chunhe@freescale.com>
> you wrote:
> ...
>> status = "okay";
> ...
>> When booting from nor fl
On Tue, 30 Aug 2011 13:20:48 +0800, Wolfgang Denk 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
>> v
disabled in the default dts file,
so do not do 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
---
board/freescale/p1023rds/p1023rds.c |
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
---
include/fdt_support.h |7 +++
1 files change
On Tue, 30 Aug 2011 04:23:11 +0800, Tabi Timur-B04825
wrote:
> On Mon, Aug 29, 2011 at 2:15 AM, Chunhe Lan
> wrote:
>> In the p1023rds, accessing exclusively nor flash or nand flash device by
>> BR0/OR0.
>
> This is not an English sentence. I do not understand wha
On Mon, 29 Aug 2011 15:42:09 +0800, Wolfgang Denk 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.
> ...
&g
flash, the status of nor node is null that means it
is enabled and the status of nand node is disabled in the default dts file,
so do not do 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
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
---
include/fdt_support.h |7 +++
1 files change
On Mon, 29 Aug 2011 02:15:15 +0800, Kumar Gala
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
On Mon, 29 Aug 2011 02:14:20 +0800, Kumar Gala
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
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
---
include/fdt_support.h |7 +++
1 files changed, 7 i
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
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
---
common/fdt_support.c |8 +++-
include/fdt_support
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
---
common/fdt_support.c | 17 -
inclu
58 matches
Mail list logo