Merge branch 'master' of git://git.denx.de/u-boot-mips

This commit is contained in:
Tom Rini
2017-05-10 15:50:21 -04:00
87 changed files with 3737 additions and 37 deletions

View File

@@ -0,0 +1,12 @@
if BOARD_COMTREND_AR5387UN
config SYS_BOARD
default "ar5387un"
config SYS_VENDOR
default "comtrend"
config SYS_CONFIG_NAME
default "comtrend_ar5387un"
endif

View File

@@ -0,0 +1,6 @@
COMTREND AR-5387UN BOARD
M: Álvaro Fernández Rojas <noltari@gmail.com>
S: Maintained
F: board/comtrend/ar-5387un/
F: include/configs/comtrend_ar5387un.h
F: configs/comtrend_ar5387un_ram_defconfig

View File

@@ -0,0 +1,5 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += ar-5387un.o

View File

@@ -0,0 +1,7 @@
/*
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>

View File

@@ -0,0 +1,12 @@
if BOARD_COMTREND_VR3032U
config SYS_BOARD
default "vr3032u"
config SYS_VENDOR
default "comtrend"
config SYS_CONFIG_NAME
default "comtrend_vr3032u"
endif

View File

@@ -0,0 +1,6 @@
COMTREND VR-3032U BOARD
M: Álvaro Fernández Rojas <noltari@gmail.com>
S: Maintained
F: board/comtrend/vr-3032u/
F: include/configs/comtrend_vr-3032u.h
F: configs/comtrend_vr3032u_ram_defconfig

View File

@@ -0,0 +1,5 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += vr-3032u.o

View File

@@ -0,0 +1,7 @@
/*
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>

View File

@@ -0,0 +1,12 @@
if BOARD_HUAWEI_HG556A
config SYS_BOARD
default "hg556a"
config SYS_VENDOR
default "huawei"
config SYS_CONFIG_NAME
default "huawei_hg556a"
endif

View File

@@ -0,0 +1,6 @@
HUAWEI HG556A BOARD
M: Álvaro Fernández Rojas <noltari@gmail.com>
S: Maintained
F: board/huawei/hg556a/
F: include/configs/huawei_hg556a.h
F: configs/huawei_hg556a_ram_defconfig

View File

@@ -0,0 +1,5 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += hg556a.o

View File

@@ -0,0 +1,7 @@
/*
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>

View File

@@ -43,9 +43,6 @@ void board_debug_uart_init(void)
int board_early_init_f(void)
{
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
ddr_init();
ath79_eth_reset();
return 0;

View File

@@ -59,9 +59,6 @@ void board_debug_uart_init(void)
int board_early_init_f(void)
{
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
ddr_init();
ath79_eth_reset();
return 0;

12
board/sfr/nb4_ser/Kconfig Normal file
View File

@@ -0,0 +1,12 @@
if BOARD_SFR_NB4_SER
config SYS_BOARD
default "nb4_ser"
config SYS_VENDOR
default "sfr"
config SYS_CONFIG_NAME
default "sfr_nb4_ser"
endif

View File

@@ -0,0 +1,6 @@
SFR NEUFBOX 4 SERCOMM BOARD
M: Álvaro Fernández Rojas <noltari@gmail.com>
S: Maintained
F: board/sfr/nb4_ser/
F: include/configs/sfr_nb4_ser.h
F: configs/sfr_nb4-ser_ram_defconfig

View File

@@ -0,0 +1,5 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += nb4-ser.o

View File

@@ -0,0 +1,7 @@
/*
* Copyright (C) 2017 Álvaro Fernández Rojas <noltari@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>

View File

@@ -34,8 +34,7 @@ static void wdr4300_usb_start(void)
static inline void wdr4300_usb_start(void) {}
#endif
#ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void)
void wdr4300_pinmux_config(void)
{
void __iomem *regs;
@@ -56,9 +55,20 @@ int board_early_init_f(void)
writel(0x00000000, regs + AR934X_GPIO_REG_OUT_FUNC3);
writel(0x0000004d, regs + AR934X_GPIO_REG_OUT_FUNC4);
writel(0x00000000, regs + AR934X_GPIO_REG_OUT_FUNC5);
}
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#ifdef CONFIG_DEBUG_UART_BOARD_INIT
void board_debug_uart_init(void)
{
wdr4300_pinmux_config();
}
#endif
#ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void)
{
#ifndef CONFIG_DEBUG_UART_BOARD_INIT
wdr4300_pinmux_config();
#endif
#ifndef CONFIG_SKIP_LOWLEVEL_INIT