From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx6qsabreauto: Use ttymxc3 as console
Date: Thu, 27 Sep 2012 10:08:32 +0200 [thread overview]
Message-ID: <50640980.8090408@denx.de> (raw)
In-Reply-To: <1348695421-16195-1-git-send-email-otavio@ossystems.com.br>
On 26/09/2012 23:37, Otavio Salvador wrote:
> The mx6qsabreauto console is different than mx6qsabresd so the console
> configuration is now set in the board file.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> include/configs/mx6qsabre_common.h | 2 +-
> include/configs/mx6qsabreauto.h | 4 +++-
> include/configs/mx6qsabresd.h | 4 +++-
> 3 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
> index c541691..1d52b52 100644
> --- a/include/configs/mx6qsabre_common.h
> +++ b/include/configs/mx6qsabre_common.h
> @@ -83,7 +83,7 @@
> #define CONFIG_EXTRA_ENV_SETTINGS \
> "script=boot.scr\0" \
> "uimage=uImage\0" \
> - "console=ttymxc0\0" \
> + "console=" CONFIG_CONSOLE_DEV "\0" \
> "fdt_high=0xffffffff\0" \
> "initrd_high=0xffffffff\0" \
> "mmcdev=0\0" \
> diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
> index 825d3b8..a878dec 100644
> --- a/include/configs/mx6qsabreauto.h
> +++ b/include/configs/mx6qsabreauto.h
> @@ -11,10 +11,12 @@
>
> #ifndef __MX6QSABREAUTO_CONFIG_H
> #define __MX6QSABREAUTO_CONFIG_H
> -#include "mx6qsabre_common.h"
>
> #define CONFIG_MACH_TYPE 3529
> #define CONFIG_MXC_UART_BASE UART4_BASE
> +#define CONFIG_CONSOLE_DEV "ttymxc3"
> #define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024)
>
> +#include "mx6qsabre_common.h"
> +
> #endif /* __MX6QSABREAUTO_CONFIG_H */
> diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
> index ca91aa5..f2ce79e 100644
> --- a/include/configs/mx6qsabresd.h
> +++ b/include/configs/mx6qsabresd.h
> @@ -16,10 +16,12 @@
>
> #ifndef __MX6QSABRESD_CONFIG_H
> #define __MX6QSABRESD_CONFIG_H
> -#include "mx6qsabre_common.h"
>
> #define CONFIG_MACH_TYPE 3980
> #define CONFIG_MXC_UART_BASE UART1_BASE
> +#define CONFIG_CONSOLE_DEV "ttymxc0"
> #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
>
> +#include "mx6qsabre_common.h"
> +
> #endif /* __MX6QSABRESD_CONFIG_H */
>
Nothing to say, console must be in sync with CONFIG_MXC_UART_BASE.
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2012-09-27 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 21:37 [U-Boot] [PATCH] mx6qsabreauto: Use ttymxc3 as console Otavio Salvador
2012-09-27 8:08 ` Stefano Babic [this message]
2012-09-30 12:32 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50640980.8090408@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox