]> git.sur5r.net Git - u-boot/commitdiff
Blackfin: bf561-ezkit: drop pointless USB code
authorMike Frysinger <vapier@gentoo.org>
Sun, 12 Oct 2008 00:43:10 +0000 (20:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Oct 2008 09:03:51 +0000 (05:03 -0400)
The USB/LAN register settings are not actually used/needed in order to
drive things from U-Boot, so drop the code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
board/bf561-ezkit/bf561-ezkit.c

index a74ff0db6ead89e65ad5deece9b58d78ee958c0e..a2258d2d8a2343b889b49b6412875af2af60a951 100644 (file)
@@ -57,18 +57,3 @@ phys_size_t initdram(int board_type)
        gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
        return CONFIG_SYS_MAX_RAM_SIZE;
 }
-
-#if defined(CONFIG_MISC_INIT_R)
-/* miscellaneous platform dependent initialisations */
-int misc_init_r(void)
-{
-       /* Keep PF12 low to be able to drive the USB-LAN Extender */
-       *pFIO0_DIR = 0x0000;
-       *pFIO0_FLAG_C = 0x1000; /* Clear PF12 */
-       SSYNC();
-       *pFIO0_POLAR = 0x0000;
-       SSYNC();
-
-       return 0;
-}
-#endif