]> git.sur5r.net Git - u-boot/blobdiff - board/miromico/hammerhead/hammerhead.c
avr32: Use board_postclk_init instead of gclk_init
[u-boot] / board / miromico / hammerhead / hammerhead.c
index bf432cba85a35db041a61161236659b424fba127..8670527891eda4e03f8e3f55170c7e2158e9c764 100644 (file)
@@ -100,9 +100,10 @@ void board_init_info(void)
        gd->bd->bi_phy_id[0] = 0x01;
 }
 
-void gclk_init(void)
+int board_postclk_init(void)
 {
        /* Hammerhead boards uses GCLK3 as 25MHz output to ethernet PHY */
        gclk_enable_output(3, PORTMUX_DRIVE_LOW);
        gclk_set_rate(3, GCLK_PARENT_OSC0, 25000000);
+       return 0;
 }