]> git.dujemihanovic.xyz Git - u-boot.git/commit
ls1012a: net: pfe: remove pfe stop from bootcmd
authorMian Yousaf Kaukab <ykaukab@suse.de>
Wed, 14 Apr 2021 10:33:58 +0000 (12:33 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Wed, 16 Jun 2021 12:44:08 +0000 (18:14 +0530)
commit864c3dbc0affea081264ff31c229232fbd45945a
treeb0a5522830c1f5a984618548e7398723567682d1
parent2bf4658b8c5e5f4f43dc1888fe39ea61e6eeba64
ls1012a: net: pfe: remove pfe stop from bootcmd

When using bootefi to boot a EFI binary, u-boot is supposed to
provide networking service for EFI application. Currently, 'pfe stop'
command is called from bootcmd before running bootefi. As a result
network stops working for EFI applications and console is flooded with
"Rx pkt not on expected port" messages.

Implement board_quiesce_devices() for ls1012a boards and call
pfe_command_stop() from it instead of calling 'pfe stop' from
*_bootcmd and bootcmd.

Tested-by: Anji Jagarlmudi <anji.jagarlmudi@nxp.com>
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
[Fixed checkpatch space error]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls1012afrdm/ls1012afrdm.c
board/freescale/ls1012aqds/ls1012aqds.c
board/freescale/ls1012ardb/ls1012ardb.c
drivers/net/pfe_eth/pfe_cmd.c
include/configs/ls1012a2g5rdb.h
include/configs/ls1012a_common.h
include/configs/ls1012afrdm.h
include/configs/ls1012afrwy.h
include/configs/ls1012aqds.h
include/configs/ls1012ardb.h
include/net/pfe_eth/pfe/pfe_hw.h