Thread View: de.denx.lists.u-boot
1 messages
1 total messages
Started by Tony Dinh
Tue, 06 May 2025 02:58
[PATCH 2/2] arm: kirkwood: Remove Synology DS109 board reset_misc
Author: Tony Dinh
Date: Tue, 06 May 2025 02:58
Date: Tue, 06 May 2025 02:58
39 lines
5765 bytes
5765 bytes
Remove DS109 board reset_misc() function. U-Boot generic reset is enough.
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
---
board/Synology/ds109/ds109.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c
index 4f397578182..f3a914cc515 100644
--- a/board/Synology/ds109/ds109.c
+++ b/board/Synology/ds109/ds109.c
@@ -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)
--
2.39.5
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads