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:
15
u-boot/board/abilis/tb100/Kconfig
Normal file
15
u-boot/board/abilis/tb100/Kconfig
Normal file
@@ -0,0 +1,15 @@
|
||||
if TARGET_TB100
|
||||
|
||||
config SYS_CPU
|
||||
default "arc700"
|
||||
|
||||
config SYS_BOARD
|
||||
default "tb100"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "abilis"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "tb100"
|
||||
|
||||
endif
|
||||
6
u-boot/board/abilis/tb100/MAINTAINERS
Normal file
6
u-boot/board/abilis/tb100/MAINTAINERS
Normal file
@@ -0,0 +1,6 @@
|
||||
TB100 BOARD
|
||||
M: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
S: Maintained
|
||||
F: board/abilis/tb100/
|
||||
F: include/configs/tb100.h
|
||||
F: configs/tb100_defconfig
|
||||
7
u-boot/board/abilis/tb100/Makefile
Normal file
7
u-boot/board/abilis/tb100/Makefile
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += tb100.o
|
||||
23
u-boot/board/abilis/tb100/tb100.c
Normal file
23
u-boot/board/abilis/tb100/tb100.c
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* (C) Copyright 2014 Pierrick Hascoet, Abilis Systems
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <netdev.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
void reset_cpu(ulong addr)
|
||||
{
|
||||
#define CRM_SWRESET 0xff101044
|
||||
writel(0x1, (void *)CRM_SWRESET);
|
||||
}
|
||||
|
||||
int board_eth_init(bd_t *bis)
|
||||
{
|
||||
if (designware_initialize(ETH0_BASE_ADDRESS, 0) >= 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user