arm: vf610: add uart0 clock/iomux definitions
[u-boot/qq2440-u-boot.git] / board / blackstamp / blackstamp.c
blob06d004a39eb72841728b4fc14acf9417dd514ac4
1 /*
2 * U-boot - blackstamp.c BlackStamp board specific routines
3 * Most code stolen from boards/bf533-stamp/bf533-stamp.c
4 * Edited to the BlackStamp by Ben Matthews for UR LLE
6 * Copyright (c) 2005-2009 Analog Devices Inc.
8 * (C) Copyright 2000-2004
9 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
11 * Licensed under the GPL-2 or later.
14 #include <common.h>
15 #include <netdev.h>
16 #include <asm/gpio.h>
18 DECLARE_GLOBAL_DATA_PTR;
20 int checkboard(void)
22 printf("Board: BlackStamp\n");
23 printf("Support: http://blackfin.uclinux.org/gf/project/blackstamp/\n");
24 return 0;
27 #ifdef SHARED_RESOURCES
28 void swap_to(int device_id)
30 gpio_request(GPIO_PF0, "eth_flash_swap");
31 gpio_direction_output(GPIO_PF0, device_id == ETHERNET);
32 SSYNC();
34 #endif
36 #ifdef CONFIG_SMC91111
37 int board_eth_init(bd_t *bis)
39 return smc91111_initialize(0, CONFIG_SMC91111_BASE);
41 #endif