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>
This commit is contained in:
committed by
Priyanka Jain
parent
2bf4658b8c
commit
864c3dbc0a
@@ -160,4 +160,10 @@ void hif_rx_enable(void);
|
||||
void hif_rx_disable(void);
|
||||
void hif_rx_desc_disable(void);
|
||||
|
||||
#ifdef PFE_RESET_WA
|
||||
void pfe_command_stop(int argc, char *const argv[]);
|
||||
#else
|
||||
static void pfe_command_stop(int argc, char *const argv[]) {}
|
||||
#endif
|
||||
|
||||
#endif /* _PFE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user