mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Merge tag 'u-boot-marvell-20250516-v2' of https://source.denx.de/u-boot/custodians/u-boot-marvell
CI: https://dev.azure.com/sr0718/u-boot/_build/results?buildId=392&view=results - mvebu_espressobin_ultra-88f3720_defconfig: enable hwrng - kirkwood: Convert to DM_SERIAL for Kirkwood boards - kirkwood: Convert to DM_SERIAL for Synology DS109 board - cmd: tlv_eeprom: return after successful read from EEPROM
This commit is contained in:
@@ -50,11 +50,13 @@ config TARGET_DS109
|
||||
bool "Synology DS109"
|
||||
select KW88F6281
|
||||
select SHEEVA_88SV131
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_GURUPLUG
|
||||
bool "GuruPlug Board"
|
||||
select KW88F6281
|
||||
select SHEEVA_88SV131
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_SHEEVAPLUG
|
||||
bool "SheevaPlug Board"
|
||||
@@ -86,6 +88,7 @@ config TARGET_DNS325
|
||||
bool "dns325 Board"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6281
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_ICONNECT
|
||||
bool "iconnect Board"
|
||||
@@ -103,15 +106,18 @@ config TARGET_NET2BIG_V2
|
||||
bool "LaCie 2Big Network v2 NAS Board"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6281
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_NETSPACE_V2
|
||||
bool "LaCie netspace_v2 Board"
|
||||
select FEROCEON_88FR131
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_IB62X0
|
||||
bool "ib62x0 Board"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6281
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_DOCKSTAR
|
||||
bool "Dockstar Board"
|
||||
@@ -129,6 +135,7 @@ config TARGET_NAS220
|
||||
bool "BlackArmor NAS220"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6192
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_NSA310S
|
||||
bool "Zyxel NSA310S"
|
||||
@@ -146,11 +153,13 @@ config TARGET_SBx81LIFKW
|
||||
bool "Allied Telesis SBx81GS24/SBx81GT40/SBx81XS6/SBx81XS16"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6281
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
config TARGET_SBx81LIFXCAT
|
||||
bool "Allied Telesis SBx81GP24/SBx81GT24"
|
||||
select FEROCEON_88FR131
|
||||
select KW88F6281
|
||||
select KIRKWOOD_COMMON
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
@@ -97,24 +97,6 @@ int board_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Synology reset uses UART */
|
||||
#include <ns16550.h>
|
||||
#define SOFTWARE_SHUTDOWN 0x31
|
||||
#define SOFTWARE_REBOOT 0x43
|
||||
#define CFG_SYS_NS16550_COM2 KW_UART1_BASE
|
||||
void reset_misc(void)
|
||||
{
|
||||
int b_d;
|
||||
printf("Synology reset...");
|
||||
udelay(50000);
|
||||
|
||||
b_d = ns16550_calc_divisor((struct ns16550 *)CFG_SYS_NS16550_COM2,
|
||||
CFG_SYS_NS16550_CLK, 9600);
|
||||
ns16550_init((struct ns16550 *)CFG_SYS_NS16550_COM2, b_d);
|
||||
ns16550_putc((struct ns16550 *)CFG_SYS_NS16550_COM2,
|
||||
SOFTWARE_REBOOT);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_RESET_PHY_R
|
||||
/* Configure and enable MV88E1116 PHY */
|
||||
void reset_phy(void)
|
||||
|
||||
@@ -476,6 +476,7 @@ int do_tlv_eeprom(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
|
||||
printf("EEPROM data loaded from device to memory.\n");
|
||||
has_been_read = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Subsequent commands require that the EEPROM has already been read.
|
||||
|
||||
@@ -54,8 +54,6 @@ CONFIG_MVGBE=y
|
||||
CONFIG_MII=y
|
||||
CONFIG_DM_RTC=y
|
||||
CONFIG_RTC_MV=y
|
||||
CONFIG_SYS_NS16550_SERIAL=y
|
||||
CONFIG_SYS_NS16550_REG_SIZE=-4
|
||||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_KIRKWOOD_SPI=y
|
||||
|
||||
@@ -97,3 +97,5 @@ CONFIG_USB_EHCI_HCD=y
|
||||
# CONFIG_WATCHDOG_AUTOSTART is not set
|
||||
CONFIG_WDT=y
|
||||
CONFIG_WDT_ARMADA_37XX=y
|
||||
CONFIG_DM_RNG=y
|
||||
CONFIG_RNG_TURRIS_RWTM=y
|
||||
|
||||
Reference in New Issue
Block a user