summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/reset_manager_arria10.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-04-15 16:29:12 +0200
committerMarek Vasut <marex@denx.de>2018-08-13 22:35:40 +0200
commitf9edeb32a9dcf23571ab2ae076be9ad1c61d06fa (patch)
treec288e50a0dbfe5414afdfe9589527d0356e2331f /arch/arm/mach-socfpga/reset_manager_arria10.c
parentfe88c2fea7e1081993dbb4207f6610eb5d8ae912 (diff)
ARM: socfpga: Zap all the UART handling complexity
The UART reset handling is now done via reset framework using the SoCFPGA reset driver. The UART console assignment is done using the DM and console framework. Nuke all this comlexity, since it is just duplicating the same functionality, badly. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm/mach-socfpga/reset_manager_arria10.c')
-rw-r--r--arch/arm/mach-socfpga/reset_manager_arria10.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-socfpga/reset_manager_arria10.c b/arch/arm/mach-socfpga/reset_manager_arria10.c
index b4434f2ded..bcdb349752 100644
--- a/arch/arm/mach-socfpga/reset_manager_arria10.c
+++ b/arch/arm/mach-socfpga/reset_manager_arria10.c
@@ -27,18 +27,6 @@ static const struct socfpga_system_manager *sysmgr_regs =
ALT_RSTMGR_PER0MODRST_QSPIECC_SET_MSK | \
ALT_RSTMGR_PER0MODRST_SDMMCECC_SET_MSK)
-void socfpga_reset_uart(int assert)
-{
- unsigned int com_port;
-
- com_port = uart_com_port(gd->fdt_blob);
-
- if (com_port == SOCFPGA_UART1_ADDRESS)
- socfpga_per_reset(SOCFPGA_RESET(UART1), assert);
- else if (com_port == SOCFPGA_UART0_ADDRESS)
- socfpga_per_reset(SOCFPGA_RESET(UART0), assert);
-}
-
static const u32 per0fpgamasks[] = {
ALT_RSTMGR_PER0MODRST_EMACECC0_SET_MSK |
ALT_RSTMGR_PER0MODRST_EMAC0_SET_MSK,