Skip to content
Snippets Groups Projects
Commit ff21f236 authored by Kumar Gala's avatar Kumar Gala
Browse files

powerpc/ep8248e: Unconditionally select PHYLIB for mdio_bitbang


Its possible to build the phylib as a module, however this breaks the
board code because alloc_mdio_bitbang and mdiobus_register are not
available if we build as a module.  These are needed by the board code
since it implements the low level mdio bitbang ops.

So we unconditionally select PHYLIB to ensure its built into the kernel
if we are building in EP8248E support.

Long term we should look at moving the mdio_ops into its own file so it
can be built as a module.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 0332f000
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ config EP8248E ...@@ -30,6 +30,7 @@ config EP8248E
select 8272 select 8272
select 8260 select 8260
select FSL_SOC select FSL_SOC
select PHYLIB
select MDIO_BITBANG select MDIO_BITBANG
help help
This enables support for the Embedded Planet EP8248E board. This enables support for the Embedded Planet EP8248E board.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment