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:
9
u-boot/board/bf506f-ezkit/Kconfig
Normal file
9
u-boot/board/bf506f-ezkit/Kconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
if TARGET_BF506F_EZKIT
|
||||
|
||||
config SYS_BOARD
|
||||
default "bf506f-ezkit"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "bf506f-ezkit"
|
||||
|
||||
endif
|
||||
6
u-boot/board/bf506f-ezkit/MAINTAINERS
Normal file
6
u-boot/board/bf506f-ezkit/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
BF506F-EZKIT BOARD
|
||||
M: Sonic Zhang <sonic.adi@gmail.com>
|
||||
S: Maintained
|
||||
F: board/bf506f-ezkit/
|
||||
F: include/configs/bf506f-ezkit.h
|
||||
F: configs/bf506f-ezkit_defconfig
|
||||
12
u-boot/board/bf506f-ezkit/Makefile
Normal file
12
u-boot/board/bf506f-ezkit/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# U-Boot - Makefile
|
||||
#
|
||||
# Copyright (c) 2005-2008 Analog Device Inc.
|
||||
#
|
||||
# (C) Copyright 2000-2006
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y := bf506f-ezkit.o
|
||||
27
u-boot/board/bf506f-ezkit/bf506f-ezkit.c
Normal file
27
u-boot/board/bf506f-ezkit/bf506f-ezkit.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* U-Boot - main board file
|
||||
*
|
||||
* Copyright (c) 2008-2010 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/blackfin.h>
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
printf("Board: ADI BF506F EZ-Kit board\n");
|
||||
printf(" Support: http://blackfin.uclinux.org/\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int board_early_init_f(void)
|
||||
{
|
||||
bfin_write_EBIU_MODE(1);
|
||||
SSYNC();
|
||||
bfin_write_FLASH_CONTROL_CLEAR(1);
|
||||
udelay(1);
|
||||
bfin_write_FLASH_CONTROL_SET(1);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user