]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynqmp: Enable uart dcc support for zynqmp
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Sat, 6 Jun 2015 09:38:15 +0000 (15:08 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 29 Jul 2015 11:01:47 +0000 (13:01 +0200)
Enable uart dcc support for zynqmp if
CONFIG_FLASH_QSPI or CONFIG_FLASH_NAND
defined in config

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 8828cd85af04fb02af123ee41cf771bb005bc2b4..9c846e239c1d033daa2e6e9ff589066272316808 100644 (file)
 #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 0x800000)
 
 /* Serial setup */
-#define CONFIG_ZYNQ_SERIAL
+#if defined(CONFIG_ZYNQ_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