net: fsl-fman: reset device before leaving
edev->halt is implemented, but not called by the core during shutdown.
We have to call it manually during device remove. With this and also
resetting the whole FMan during shutdown the driver now works properly
when started second stage from another barebox.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4d824b3 commit 081e5da7db077e8bfb3313664ea45e60c474994a
@Sascha Hauer Sascha Hauer authored on 14 Nov 2019
Showing 2 changed files
View
drivers/net/fsl-fman.c
View
include/soc/fsl/fsl_fman.h