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/bf527-sdp/Kconfig
Normal file
9
u-boot/board/bf527-sdp/Kconfig
Normal file
@@ -0,0 +1,9 @@
|
||||
if TARGET_BF527_SDP
|
||||
|
||||
config SYS_BOARD
|
||||
default "bf527-sdp"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "bf527-sdp"
|
||||
|
||||
endif
|
||||
6
u-boot/board/bf527-sdp/MAINTAINERS
Normal file
6
u-boot/board/bf527-sdp/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
BF527-SDP BOARD
|
||||
M: Sonic Zhang <sonic.adi@gmail.com>
|
||||
S: Maintained
|
||||
F: board/bf527-sdp/
|
||||
F: include/configs/bf527-sdp.h
|
||||
F: configs/bf527-sdp_defconfig
|
||||
12
u-boot/board/bf527-sdp/Makefile
Normal file
12
u-boot/board/bf527-sdp/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 := bf527-sdp.o
|
||||
32
u-boot/board/bf527-sdp/bf527-sdp.c
Normal file
32
u-boot/board/bf527-sdp/bf527-sdp.c
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* U-Boot - main board file
|
||||
*
|
||||
* Copyright (c) 2010 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/blackfin.h>
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/mach-common/bits/pll.h>
|
||||
|
||||
int checkboard(void)
|
||||
{
|
||||
printf("Board: ADI BF527 SDP board\n");
|
||||
printf(" Support: http://blackfin.uclinux.org/\n");
|
||||
|
||||
/* Enable access to parallel flash */
|
||||
gpio_request(GPIO_PG0, "parallel-flash");
|
||||
gpio_direction_output(GPIO_PG0, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int misc_init_r(void)
|
||||
{
|
||||
/* CLKIN Buffer Output Enable */
|
||||
bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
11
u-boot/board/bf527-sdp/config.mk
Normal file
11
u-boot/board/bf527-sdp/config.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (c) 2005-2008 Analog Device Inc.
|
||||
#
|
||||
# (C) Copyright 2001
|
||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 6
|
||||
Reference in New Issue
Block a user