diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/sunxi-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index a3994e1a6a..5498ac6dcf 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -50,8 +50,13 @@ # define CONFIG_SYS_NS16550_COM2 SUNXI_UART1_BASE # define CONFIG_SYS_NS16550_COM3 SUNXI_UART2_BASE # define CONFIG_SYS_NS16550_COM4 SUNXI_UART3_BASE +#if defined(CONFIG_MACH_SUN9I) +# define CONFIG_SYS_NS16550_COM5 SUNXI_UART4_BASE +# define CONFIG_SYS_NS16550_COM6 SUNXI_UART5_BASE +#else # define CONFIG_SYS_NS16550_COM5 SUNXI_R_UART_BASE #endif +#endif /* CPU */ #define CONFIG_DISPLAY_CPUINFO @@ -264,6 +269,8 @@ extern int soft_i2c_gpio_scl; #define OF_STDOUT_PATH "/soc@01c00000/serial@01c28800:115200" #elif CONFIG_CONS_INDEX == 5 && defined(CONFIG_MACH_SUN8I) #define OF_STDOUT_PATH "/soc@01c00000/serial@01f02800:115200" +#elif CONFIG_CONS_INDEX == 5 && defined(CONFIG_MACH_SUN9I) +#define OF_STDOUT_PATH "/soc/serial@07001000:115200" #else #error Unsupported console port nr. Please fix stdout-path in sunxi-common.h. #endif |