mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
ARM: zynq: zynqmp: Enable DCC serial driver by default
Compile DCC serial driver by default. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
966bfa7347
commit
636ac181fa
2 changed files with 5 additions and 12 deletions
|
@ -53,12 +53,9 @@
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x2000000)
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 0x2000000)
|
||||||
|
|
||||||
/* Serial setup */
|
/* Serial setup */
|
||||||
#if defined(CONFIG_ZYNQMP_DCC)
|
#define CONFIG_ARM_DCC
|
||||||
# define CONFIG_ARM_DCC
|
#define CONFIG_CPU_ARMV8
|
||||||
# define CONFIG_CPU_ARMV8
|
#define CONFIG_ZYNQ_SERIAL
|
||||||
#else
|
|
||||||
# define CONFIG_ZYNQ_SERIAL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_CONS_INDEX 0
|
#define CONFIG_CONS_INDEX 0
|
||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
|
|
|
@ -36,12 +36,8 @@
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
|
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400}
|
||||||
|
|
||||||
/* DCC driver */
|
#define CONFIG_ARM_DCC
|
||||||
#if defined(CONFIG_ZYNQ_DCC)
|
#define CONFIG_ZYNQ_SERIAL
|
||||||
# define CONFIG_ARM_DCC
|
|
||||||
#else
|
|
||||||
# define CONFIG_ZYNQ_SERIAL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_ZYNQ_GPIO
|
#define CONFIG_ZYNQ_GPIO
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue