On 06/12/2014 10:22 PM, Prabhakar Kushwaha wrote:
Hi Roy,
On 6/13/2014 1:19 AM, Roy Zang wrote:
Even u-boot boots up, the pcie link may not setup correctly when
Freescale SOC acts as endpoint.
So change the link status from 'no link' to 'undetermined' to
reduce the confus
On 06/12/2014 03:56 PM, Wolfgang Denk wrote:
Dear Roy Zang,
In message <1402602563-26705-1-git-send-email-tie-fei.z...@freescale.com> you
wrote:
Even u-boot boots up, the pcie link may not setup correctly when
Freescale SOC acts as endpoint.
So change the link status from '
Even u-boot boots up, the pcie link may not setup correctly when
Freescale SOC acts as endpoint.
So change the link status from 'no link' to 'undetermined' to
reduce the confusion.
The link status can check from host side eventually.
Signed-off-by: Roy Zang
---
drivers/pci/f
MEM_PLL_RAT on T4240/T4160 Rev2.0 uses a value which is half of Rev1.0.
It's 12 in Rev1.0, for Rev2.0 it uses 6.
Signed-off-by: Roy Zang
Signed-off-by: Shaohui Xie
Reviewed-by: Yusong Sun
---
arch/powerpc/cpu/mpc85xx/speed.c |8
1 file changed, 8 insertions(+)
diff --git a
B4860 and B4420 has PCIe version 2.4 IP instead of 3.x
Signed-off-by: Roy Zang
---
arch/powerpc/include/asm/config_mpc85xx.h |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/config_mpc85xx.h
b/arch/powerpc/include/asm/config_mpc85xx.h
index 01d3d37..1d46b14 100644
atch changes code to
use 'Header Type' field to identify if the PCIE is RC or EP mode.
This patch fixes the PCIe card link up issue on T4240QDS.
Signed-off-by: Roy Zang
Signed-off-by: Minghuan Lian
---
arch/powerpc/include/asm/config_mpc85xx.h |1 +
arch/powerpc/inclu
Some legacy RGMII phys don't have in band signaling for the
speed information. so set the RGMII MAC mode according to
the speed got from PHY.
Signed-off-by: Roy Zang
Reported-by: John Traill
---
arch/powerpc/include/asm/fsl_memac.h |4
drivers/net/fm/memac.c |
Signed-off-by: Roy Zang
---
arch/powerpc/include/asm/immap_85xx.h | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/powerpc/include/asm/immap_85xx.h
b/arch/powerpc/include/asm/immap_85xx.h
index 296b549..0f15799 100644
--- a/arch/powerpc/include/asm
CONFIG_FSL_SATA_V2 to board
configuration header file.
This patch reverts Timur's
commit:3e0529f742e893653848494ffb9f7cd0d91304bf
Signed-off-by: Roy Zang
---
v2: update according to Timur's comment
arch/powerpc/include/asm/config_mpc85xx.h |7 ---
include/configs/P1010RDB.h
HC_OFF bit in HControl register is read only bit, which
should not be written.
Signed-off-by: Roy Zang
---
check mpc8379, mpc8536, P3041, P5020 and T4240.
HC_OFF bit is read only.
drivers/block/fsl_sata.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/block
CONFIG_FSL_SATA_V2 to board
configuration header file.
Signed-off-by: Roy Zang
---
arch/powerpc/include/asm/config_mpc85xx.h |3 ---
include/configs/P2041RDB.h|4 +++-
include/configs/P3041DS.h |1 +
include/configs/P5020DS.h |1 +
4 files
P4080 Rev3.0 fixes ESDHC13 errata, so update the code to make the
workaround conditional.
In formal release document, the errata number should be ESDHC13 instead
of ESDHC136.
Signed-off-by: Roy Zang
---
for sdk1.3. fix defect ENGR180745
arch/powerpc/cpu/mpc85xx/cmd_errata.c |5
ble 'ret_val' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Roy Zang
Cc: Wolfgang Denk
Cc: Kyle Moffett
---
drivers/net/e1000.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c
index 6eab7b2..6b71bd9 100644
TBI PHY address (TBIPA) register has been set in general frame manager
phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c
So remove the duplicate code on QorIQ frame manager Ethernet related
platforms, which include Hydra board, P4080DS board and P2041rdb board.
Signed-off-by: Roy Zang
The original m88es_config() does not do the SGMII mode
initialization and is buggy. Rewrite the function according to
3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c
Signed-off-by: Roy Zang
Acked-by: Andy Fleming
Cc: Kumar Gala
---
v2: Use timeout instead of
TBIPA has been set in dtsec_init_phy () funciton in drivers/net/fm/eth.c
So remove the duplicate code on platform Ethernet code.
Signed-off-by: Roy Zang
Cc: Andy Fleming
Cc: Kumar Gala
---
Tested on P5020DS
board/freescale/corenet_ds/eth_hydra.c |8
board/freescale/corenet_ds
The original m88es_config() does not do the SGMII mode
initialization and is buggy. Rewrite the function according to
3.0.6 kernel function m88e_config_init() in drivers/net/phy/marvell.c
Signed-off-by: Roy Zang
Acked-by: Andy Fleming
Cc: Kumar Gala
---
Tested on P1023RDS board
The P1023RDS board is the reference board for the P1023 SoC.
Add support for booting it from NOR or NAND, with fixed 2G of DDR, PCIe,
UART, I2C, etc.
Signed-off-by: Roy Zang
Signed-off-by: Haiying Wang
Signed-off-by: Chunhe Lan
Signed-off-by: Lei Xu
Signed-off-by: York Sun
Signed-off-by
The P1023RDS board is the reference board for the P1023 SoC.
Add support for booting it from NOR or NAND, with fixed 2G of DDR, PCIe,
UART, I2C, etc.
Signed-off-by: Roy Zang
Signed-off-by: Haiying Wang
Signed-off-by: Chunhe Lan
Signed-off-by: Lei Xu
Signed-off-by: York Sun
Signed-off-by
This patch enables compiler debug option for powerpc platforms
by default. Patch is tested on 85xx/QorIQ platforms in u-boot
with CodeWarrior.
Signed-off-by: Roy Zang
Cc: Wood Scott-B07421
Cc: Kumar Gala
---
Consider the comments
http://lists.denx.de/pipermail/u-boot/2010-October/080689.html
as
make CONFIG_EXT_DEBUGGER=1
or define CONFIG_EXT_DEBUGGER in the board header file.
Signed-off-by: Roy Zang
Cc: Wood Scott-B07421
Cc: Kumar Gala
---
Consider the comment from Wolfgang Denk
http://lists.denx.de/pipermail/u-boot/2010-October/080689.html
README |4
arch
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS
and MPC8572 board.
Add the missing contact information for future support.
Signed-off-by: Roy Zang
Acked-by: Kumar Gala
---
minor style clean up vs. v1 version.
drivers/net/e1000.c | 33 +
drivers
Add Intel E1000 82574L PCIe card support. Test on MPC8544DS
and MPC8572 board.
Add the missing contact information for future support.
Signed-off-by: Roy Zang
---
based on commit e1ccf97c5d7651664d37c0c5aa243874b8851b2d
drivers/net/e1000.c | 35 +++
drivers
Signed-off-by: Roy Zang
Signed-off-by: adrian bogdan
Cc: Wood Scott-B07421
Cc: Kumar Gala
---
config.mk |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/config.mk b/config.mk
index ce8e5f2..4d4bb59 100644
--- a/config.mk
+++ b/config.mk
@@ -189,6 +189,10 @@ else
The RAM relocated address is useful when debugging or there is u-boot
crash dump. So always print it instead of debug.
Signed-off-by: Roy Zang
Cc: Wood Scott-B07421
---
arch/powerpc/lib/board.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/lib/board.c
From: Roy Zang
Use reset value instead of a hardcoded value to set wml.
Signed-off-by: Roy Zang
---
drivers/mmc/fsl_esdhc.c |8 +---
include/fsl_esdhc.h |4 +++-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
From: Roy Zang
Enable usb ehci support for p2020ds board
Signed-off-by: Roy Zang
---
include/configs/P2020DS.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h
index 46af7b9..2a2b9ac 100644
--- a/include
From: Roy Zang
Use different PBA value for E1000 PCI and PCIe cards.
Signed-off-by: Roy Zang
---
Andre, please help to verify it on your board.
Thanks.
Roy
drivers/net/e1000.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net/e1000.c b/drivers
From: Roy Zang
Fix E1000 build warning on AP1000 board
Fix the build warning on AP1000 board:
e1000.c:131: warning: 'e1000_read_eeprom' used but never defined
e1000.c:2012: warning: 'e1000_set_phy_mode' defined but not used
Signed-off-by: Roy Zang
---
driver
On Wed, 2009-07-08 at 22:32 +0800, Kumar Gala wrote:
>
> On Jul 8, 2009, at 3:18 AM, Roy Zang wrote:
>
> > From: Roy Zang
> >
> > Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536
> boards.
> > Signed-off-by: Roy Zang
> >
> &
From: Roy Zang
Add pci/pcie E1000 ethernet support for MPC8544DS and MPC8536 boards.
Signed-off-by: Roy Zang
---
include/configs/MPC8536DS.h |1 +
include/configs/MPC8540ADS.h |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/MPC8536DS.h b
These two patches add Intel E1000 PCIE cards support for MPC8544DS/MPC8536DS
boards.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
From: Roy Zang
Add pci E1000 Ethernet support for P2020 board.
Signed-off-by: Roy Zang
---
board/freescale/p2020ds/p2020ds.c |3 ++-
include/configs/P2020DS.h |1 +
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/board/freescale/p2020ds/p2020ds.c
b
From: Roy Zang
The IO port selection for MPC8544DS board:
Port cfg_io_ports
PCIE1 0x2, 0x3, 0x4, 0x5, 0x6, 0x7
PCIE2 0x4, 0x5, 0x6, 0x7
PCIE3 0x6, 0x7
This patch changes the PCIE12 and PCIE2 logic more readable.
Signed-off-by: Roy Zang
---
board
From: Roy Zang
PCIE2 and PCIE3 should be decided by corresponing bit in devdisr instead of
PCIE1 bit.
On MPC8572DS board, PCIE refers to PCIE1.
Signed-off-by: Roy Zang
---
board/freescale/mpc8572ds/mpc8572ds.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board
From: Roy Zang
The IO port selection is not correct on MPC8572DS and MPC8544DS board.
This patch fixes this issue.
For MPC8572
Port cfg_io_ports
PCIE1 0x2, 0x3, 0x7, 0xb, 0xc, 0xf
PCIE2 0x3, 0x7
PCIE3 0x7
For MPC8544
Port
This set of patches fix io port selection on MPC85xxDS platfoms.
Please help to pick them up.
Roy
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
n the PCI I/O bus.
>
> Signed-off-by Randy Vinson <[EMAIL PROTECTED]>
> ---
> board/freescale/mpc7448hpc2/tsi108_init.c |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Acked-by: Roy Zang <[EMAIL PROTECTED]>
Wol
38 matches
Mail list logo