From: Mike Frysinger Date: Sun, 12 Oct 2008 00:43:10 +0000 (-0400) Subject: Blackfin: bf561-ezkit: drop pointless USB code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e2eea98bff1369f77a9f59a5fd0bd4928bc3332e;p=u-boot.git Blackfin: bf561-ezkit: drop pointless USB code 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 --- diff --git a/board/bf561-ezkit/bf561-ezkit.c b/board/bf561-ezkit/bf561-ezkit.c index a74ff0db6e..a2258d2d8a 100644 --- a/board/bf561-ezkit/bf561-ezkit.c +++ b/board/bf561-ezkit/bf561-ezkit.c @@ -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