Using UART1 as debug port

Hey,

Im trying to use UART1 as debug console, linux prints are seen on UART1 console but u-boot prints are seen on UART0.

Below are the configuration done in u-boot,
File:uboot-socfpga/include/configs/socfpga_arria10_*.h

  1. #define CONFIG_SYS_NS16550_COM2 SOCFPGA_UART1_ADDRESS
  2. #define CONFIG_CONS_INDEX 2
  3. #define CONFIG_BOOTARGS “console=ttyS1,” __stringify(CONFIG_BAUDRATE)

Do I have to configure anything else other than the above to make UART1 to work as debug port?

Below is my workig environment,
u-boot: 2014.10
Board: Arria10 SX660 SoC

Thanks in advance.

Regards,
Ambika