avionic design with actual uboot and tooling
submodule of avionic design uboot bootloader and with included tools to get you started , read readme.md and readme-tk1-loader.md
This commit is contained in:
37
u-boot/board/tcm-bf518/tcm-bf518.c
Normal file
37
u-boot/board/tcm-bf518/tcm-bf518.c
Normal file
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* U-Boot - main board file
|
||||
*
|
||||
* Copyright (c) 2008-2009 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <net.h>
|
||||
#include <netdev.h>
|
||||
#include <asm/blackfin.h>
|
||||
#include <asm/mach-common/bits/otp.h>
|
||||
#include <asm/sdh.h>
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
printf("Board: Bluetechnix TCM-BF518 board\n");
|
||||
printf(" Support: http://www.bluetechnix.com/\n");
|
||||
printf(" http://blackfin.uclinux.org/\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_BFIN_MAC)
|
||||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
return bfin_EMAC_initialize(bis);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BFIN_SDH
|
||||
int board_mmc_init(bd_t *bis)
|
||||
{
|
||||
return bfin_mmc_init(bis);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user