102-sunxi-make_CONS_INDEX-configurable.patch 655 B

1234567891011121314151617181920212223
  1. From 78d5fab8e345b1273ec8c22d06f1a1d27670b518 Mon Sep 17 00:00:00 2001
  2. From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
  3. Date: Tue, 16 Jun 2015 10:59:38 +0200
  4. Subject: ARM: sunxi: Make CONS_INDEX configurable
  5. --- a/board/sunxi/Kconfig
  6. +++ b/board/sunxi/Kconfig
  7. @@ -272,6 +272,14 @@ config SYS_BOARD
  8. config SYS_SOC
  9. default "sunxi"
  10. +config CONS_INDEX
  11. + int "UART used for console"
  12. + range 1 5
  13. + default 1
  14. + ---help---
  15. + Defines the UART port used for serial output. It starts at 1 so UART0 is 1,
  16. + UART1 is 2 and so on.
  17. +
  18. config UART0_PORT_F
  19. bool "UART0 on MicroSD breakout board"
  20. default n