- sunxi-common.h
- /* Serial & console */
- #define CONFIG_SYS_NS16550_SERIAL
- /* ns16550 reg in the low bits of cpu reg */
- #define CONFIG_SYS_NS16550_CLK 24000000
- #ifndef CONFIG_DM_SERIAL
- # define CONFIG_SYS_NS16550_REG_SIZE -4
- # define CONFIG_SYS_NS16550_COM1 SUNXI_UART0_BASE
- # define CONFIG_SYS_NS16550_COM2 SUNXI_UART1_BASE
- # define CONFIG_SYS_NS16550_COM3 SUNXI_UART2_BASE
- # define CONFIG_SYS_NS16550_COM4 SUNXI_UART3_BASE
- # define CONFIG_SYS_NS16550_COM5 SUNXI_R_UART_BASE
- #endif
What is the baudrate of Serial?
24000000/16=1500000 ???
1.5Mb..