aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-05-11 22:26:35 +0200
committerMarek Vasut <marex@denx.de>2018-05-18 10:30:46 +0200
commit73172753f4f3351ed1c9d2f6586fc599ce4e728c (patch)
treea209f5362ecf54c9730d7e60dc992cdcc44296c4 /include
parent48befc009ffcb7e133c2184d22568f04bc861124 (diff)
downloadu-boot-73172753f4f3351ed1c9d2f6586fc599ce4e728c.zip
u-boot-73172753f4f3351ed1c9d2f6586fc599ce4e728c.tar.gz
u-boot-73172753f4f3351ed1c9d2f6586fc599ce4e728c.tar.bz2
ARM: socfpga: Convert to DM serial
Pull the serial port configuration from DT and use DM serial instead of having the serial configuration in two places, DT and board config. 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 'include')
-rw-r--r--include/configs/socfpga_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 54b9edc..a60da85 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -173,14 +173,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
* Serial Driver
*/
#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_REG_SIZE -4
-#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
-#define CONFIG_SYS_NS16550_COM1 SOCFPGA_UART0_ADDRESS
-#define CONFIG_SYS_NS16550_CLK 100000000
-#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
-#define CONFIG_SYS_NS16550_COM1 SOCFPGA_UART1_ADDRESS
-#define CONFIG_SYS_NS16550_CLK 50000000
-#endif
/*
* USB