board: mscc: serval: Fix board detect
[oweals/u-boot.git] / board / mscc / serval / serval.c
index 24ee5e528d9f9de85da837ba799e6e3cc552b168..ade041e11832fe4424952941fa2924e260844b95 100644 (file)
@@ -42,10 +42,10 @@ static void do_board_detect(void)
                        gd->board_type = BOARD_TYPE_PCB106;
                else
                        gd->board_type = BOARD_TYPE_PCB105;
-               mscc_phy_wr(1, 16, 15, 0);
        } else {
                gd->board_type = BOARD_TYPE_PCB105;
        }
+       mscc_phy_wr(1, 16, 31, 0x0);
 }
 
 #if defined(CONFIG_MULTI_DTB_FIT)