mirror of
https://github.com/openwrt/openwrt.git
synced 2024-11-27 03:43:37 +08:00
layerscape: kmod-ppfe: Use ppfe driver as module
In 8274451cb86 kmod-ppfe was changed to built-in because CONFIG_FSL_PPFE was binary. In 5.10 and 5.15 kernel, PPFE driver can be build as module. This patch switch kmod-ppfe from build-in to loadable module. Loadable module helps to avoid hazard: driver is looking for firmware file before mount root. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
This commit is contained in:
parent
23b9b01cdd
commit
5b0e111789
@ -292,8 +292,8 @@ CONFIG_FSL_GUTS=y
|
||||
CONFIG_FSL_IFC=y
|
||||
CONFIG_FSL_MC_BUS=y
|
||||
CONFIG_FSL_MC_DPIO=y
|
||||
CONFIG_FSL_PPFE=y
|
||||
CONFIG_FSL_PPFE_UTIL_DISABLED=y
|
||||
# CONFIG_FSL_PPFE is not set
|
||||
# CONFIG_FSL_PPFE_UTIL_DISABLED is not set
|
||||
# CONFIG_FSL_QMAN_TEST is not set
|
||||
CONFIG_FSL_RCPM=y
|
||||
CONFIG_FSL_XGMAC_MDIO=y
|
||||
|
@ -293,8 +293,8 @@ CONFIG_FSL_IFC=y
|
||||
CONFIG_FSL_MC_BUS=y
|
||||
CONFIG_FSL_MC_DPIO=y
|
||||
# CONFIG_FSL_MC_UAPI_SUPPORT is not set
|
||||
CONFIG_FSL_PPFE=y
|
||||
CONFIG_FSL_PPFE_UTIL_DISABLED=y
|
||||
# CONFIG_FSL_PPFE is not set
|
||||
# CONFIG_FSL_PPFE_UTIL_DISABLED is not set
|
||||
# CONFIG_FSL_QMAN_TEST is not set
|
||||
CONFIG_FSL_RCPM=y
|
||||
CONFIG_FSL_XGMAC_MDIO=y
|
||||
|
@ -22,7 +22,7 @@ define KernelPackage/ppfe
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Freescale PPFE Driver support
|
||||
DEPENDS:=@TARGET_layerscape
|
||||
KCONFIG:=CONFIG_FSL_PPFE=y \
|
||||
KCONFIG:=CONFIG_FSL_PPFE \
|
||||
CONFIG_FSL_PPFE_UTIL_DISABLED=y
|
||||
FILES:=$(LINUX_DIR)/drivers/staging/fsl_ppfe/pfe.ko
|
||||
AUTOLOAD:=$(call AutoLoad,35,pfe)
|
||||
|
Loading…
Reference in New Issue
Block a user