summaryrefslogtreecommitdiffstats
path: root/include/configs/xilinx_zynqmp.h
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2015-06-10 15:50:59 +0530
committerMichal Simek <michal.simek@xilinx.com>2015-07-28 11:56:20 +0200
commitb0d18beedb83cebd9290a27794da93cdea3529c5 (patch)
treeafe1fc56903015982a79605a92ab484faabbf1ec /include/configs/xilinx_zynqmp.h
parentf994bdfe13c0565193782116515449f0711ab074 (diff)
downloadtalos-obmc-uboot-b0d18beedb83cebd9290a27794da93cdea3529c5.tar.gz
talos-obmc-uboot-b0d18beedb83cebd9290a27794da93cdea3529c5.zip
zynqmp: Provide option to enable uart dcc support for zynqmp
Provide option to enable uart dcc support for zynqmp This config can be enabled as per board config file. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/xilinx_zynqmp.h')
-rw-r--r--include/configs/xilinx_zynqmp.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index fbd68f7128..8cb276ca70 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -52,7 +52,14 @@
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x400000)
/* Serial setup */
-#define CONFIG_ZYNQ_SERIAL
+#if defined(CONFIG_ZYNQMP_DCC)
+# define CONFIG_ARM_DCC
+# define CONFIG_CPU_ARMV8
+#else
+# if defined(CONFIG_ZYNQ_SERIAL_UART0) || defined(CONFIG_ZYNQ_SERIAL_UART1)
+# define CONFIG_ZYNQ_SERIAL
+# endif
+#endif
#define CONFIG_CONS_INDEX 0
#define CONFIG_BAUDRATE 115200
OpenPOWER on IntegriCloud