2
1

0002-mx6cuboxi-Fix-the-console-variable.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From ab1dd9332c379164925aee755a013dbd8839501b Mon Sep 17 00:00:00 2001
  2. From: Fabio Estevam <festevam@gmail.com>
  3. Date: Mon, 19 Jul 2021 16:48:07 -0300
  4. Subject: [PATCH 2/2] mx6cuboxi: Fix the console variable
  5. Do not pass the console baudrate to the 'console' variable
  6. to avoid the baudrate being passed twice when using extlinux.conf:
  7. cat /proc/cmdline
  8. root=PARTUUID=00000000-01 rootwait rw console=ttymxc0,115200,115200
  9. Signed-off-by: Fabio Estevam <festevam@gmail.com>
  10. ---
  11. include/configs/mx6cuboxi.h | 3 +--
  12. 1 file changed, 1 insertion(+), 2 deletions(-)
  13. diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
  14. index 1a06f29b8c17..9e5083b0d876 100644
  15. --- a/include/configs/mx6cuboxi.h
  16. +++ b/include/configs/mx6cuboxi.h
  17. @@ -38,7 +38,6 @@
  18. /* Command definition */
  19. #define CONFIG_MXC_UART_BASE UART1_BASE
  20. -#define CONSOLE_DEV "ttymxc0"
  21. #ifndef CONFIG_SPL_BUILD
  22. #define CONFIG_EXTRA_ENV_SETTINGS \
  23. @@ -54,7 +53,7 @@
  24. "ramdiskaddr=0x13000000\0" \
  25. "initrd_high=0xffffffff\0" \
  26. "ip_dyn=yes\0" \
  27. - "console=" CONSOLE_DEV ",115200\0" \
  28. + "console=ttymxc0\0" \
  29. "bootm_size=0x10000000\0" \
  30. "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
  31. "finduuid=part uuid mmc 1:1 uuid\0" \
  32. --
  33. 2.25.1