The MC boot sequence is contained in mc_env_boot. Update LS1088A boards
to use this function, and hook it to reset_phy so that it's called late
enough, after the ports have been initialized, for proper DPC / DPL
fixup.
Signed-off-by: Bogdan Purcareata
---
This patch follows the work of pre
Hello York,
> -Original Message-
> From: York Sun
> Sent: Wednesday, October 04, 2017 8:22 PM
> To: Bogdan Purcareata ; Prabhakar Kushwaha
> ; Ashish Kumar ; u-
> b...@lists.denx.de
> Subject: Re: [PATCH] armv8: ls1088a: Update MC boot sequence
>
> On
addresses
are properly set in DPC / DPL.
Signed-off-by: Bogdan Purcareata
---
board/freescale/ls1088a/eth_ls1088aqds.c | 14 --
board/freescale/ls1088a/eth_ls1088ardb.c | 13 -
include/configs/ls1088a_common.h | 6 ++
3 files changed, 22 insertions(+), 11
variables take precedence over the MAC addresses already visible in the
DPL/DPC.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
v2 -> v3:
- no changes
v1 -> v2:
- initialize variables to fix compiler warnings
- remove prints
drivers/net/fsl-mc/mc.c
phy hook, as it gets called at a
later moment, when all board PHY devices have been initialized.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
v2 -> v3:
- add dummy reset_phy() implementation in board/freescale/ls2080a/ls2080a.c
for proper compilation on ls2080a_simu and ls2
> -Original Message-
> From: york sun
> Sent: Tuesday, May 23, 2017 7:11 PM
> To: Bogdan Purcareata ; Prabhakar Kushwaha
> ; u-boot@lists.denx.de
> Cc: Heinz Wrobel
> Subject: Re: [PATCH v2 1/2] drivers: net: fsl-mc: Link MC boot to
> PHY_RESET_R
>
>
variables take precedence over the MAC addresses already visible in the
DPL/DPC.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
v1 -> v2:
- initialize variables to fix compiler warnings
- remove prints
drivers/net/fsl-mc/mc.c |
phy hook, as it gets called at a
later moment, when all board PHY devices have been initialized.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
v1 -> v2:
- keep the reset_phy implementation on each board; some boards might
want to do something else besides booting the MC.
> -Original Message-
> From: york sun
> Sent: Friday, May 19, 2017 12:04 AM
> To: Bogdan Purcareata ; Prabhakar Kushwaha
> ; u-boot@lists.denx.de
> Cc: Heinz Wrobel
> Subject: Re: [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in
> DPL
>
>
variables take precedence over the MAC addresses already visible in the
DPL/DPC.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
drivers/net/fsl-mc/mc.c | 260
1 file changed, 197 insertions(+), 63 deletions(-)
diff --git a
HY devices have been initialized.
Signed-off-by: Bogdan Purcareata
Signed-off-by: Heinz Wrobel
---
board/freescale/ls2080aqds/eth.c | 8
board/freescale/ls2080ardb/eth_ls2080rdb.c | 7 +--
drivers/net/fsl-mc/mc.c| 18 ++
The mcinitcmd usually boots the MC, and also patches the DPC with u-boot
environment MAC addresses for the MAC phy interfaces. In order for this
to work, the board phy interfaces must be initialized before this point.
Signed-off-by: Bogdan Purcareata
---
board/freescale/ls2080aqds/eth.c
MC might boot before MAC addresses are assigned to eth_devices from the
u-boot environment. Write them when booting the MC so that they are
available for the DPC fixup.
Signed-off-by: Bogdan Purcareata
---
drivers/net/fsl-mc/mc.c | 8
1 file changed, 8 insertions(+)
diff --git a
where they are randomly
assigned (no u-boot env value declared for port).
The patch assumes the "/board_info/ports/" node is present in the DPC.
Signed-off-by: Bogdan Purcareata
---
drivers/net/fsl-mc/mc.c | 103 +++-
1 file changed, 101
Ping?
Bogdan P.
On 17.05.2016 10:18, Bogdan Purcareata wrote:
> When multiple PCI cards are present in an ls2080a board, the second
> card does not get its msi-map set up properly due to a bug in computing
> the bus number.
>
> The bus number returned by PCI_BDF() is not the
number is relative to hose->first_busno, so that has to be subtracted
from the PCI device id.
Signed-off-by: Bogdan Purcareata
Acked-by: Stuart Yoder
---
drivers/pci/pcie_layerscape.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/pci/pcie_layerscape.
16 matches
Mail list logo