|
@@ -71,7 +71,7 @@ soft:
|
|
|
/* For imx6q sabrelite board: set KSZ9021RN RGMII pad skew */
|
|
|
static int ksz9021rn_phy_fixup(struct phy_device *phydev)
|
|
|
{
|
|
|
- if (IS_ENABLED(CONFIG_PHYLIB)) {
|
|
|
+ if (IS_BUILTIN(CONFIG_PHYLIB)) {
|
|
|
/* min rx data delay */
|
|
|
phy_write(phydev, 0x0b, 0x8105);
|
|
|
phy_write(phydev, 0x0c, 0x0000);
|
|
@@ -112,7 +112,7 @@ put_clk:
|
|
|
|
|
|
static void __init imx6q_sabrelite_init(void)
|
|
|
{
|
|
|
- if (IS_ENABLED(CONFIG_PHYLIB))
|
|
|
+ if (IS_BUILTIN(CONFIG_PHYLIB))
|
|
|
phy_register_fixup_for_uid(PHY_ID_KSZ9021, MICREL_PHY_ID_MASK,
|
|
|
ksz9021rn_phy_fixup);
|
|
|
imx6q_sabrelite_cko1_setup();
|