]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
zynqmp: Provide option to enable uart dcc support for zynqmp
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 10 Jun 2015 10:20:59 +0000 (15:50 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:50:48 +0000 (13:50 +0200)
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>
include/configs/xilinx_zynqmp.h

index fbd68f71286f2f9a456102e89af98a6754ddcf7c..8cb276ca709dbc79886efd86eb2754590924cfa6 100644 (file)
 #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