public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: julien.grall@arm•com (Julien Grall)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 3/4] Xen: Select correct dom0 console
Date: Tue, 12 Jul 2016 11:49:20 +0100	[thread overview]
Message-ID: <5784CB30.4000105@arm.com> (raw)
In-Reply-To: <20160620150934.1729-4-andre.przywara@arm.com>

Hi Andrew,

On 20/06/16 16:09, Andre Przywara wrote:
> From: Ian Campbell <ian.campbell@citrix•com>
>
> If Xen is enabled, tell Dom0 to use the 'hvc0' console, and fall back to
> the usual ttyAMA0 otherwise.
>
> Signed-off-by: Ian Campbell <ian.campbell@citrix•com>
> Signed-off-by: Christoffer Dall <christoffer.dall@linaro•org>
> Signed-off-by: Andre Przywara <andre.przywara@arm•com>

Reviewed-by: Julien Grall <julien.grall@arm•com>

Regards,

> ---
>   configure.ac | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index b001939..f381a80 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -89,7 +89,8 @@ AC_ARG_WITH([initrd],
>   AC_SUBST([FILESYSTEM], [$USE_INITRD])
>   AM_CONDITIONAL([INITRD], [test "x$USE_INITRD" != "x"])
>
> -C_CMDLINE="console=ttyAMA0 earlyprintk=pl011,0x1c090000"
> +AS_IF([test "x$X_IMAGE" = "x"],[C_CONSOLE="ttyAMA0"],[C_CONSOLE="hvc0"])
> +C_CMDLINE="console=$C_CONSOLE earlyprintk=pl011,0x1c090000"
>   AC_ARG_WITH([cmdline],
>   	AS_HELP_STRING([--with-cmdline], [set a command line for the kernel]),
>   	[C_CMDLINE=$withval])
>

-- 
Julien Grall

  reply	other threads:[~2016-07-12 10:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 15:09 [PATCH 0/4] boot-wrapper: arm64: Xen support Andre Przywara
2016-06-20 15:09 ` [PATCH 1/4] Support for building in a Xen binary Andre Przywara
2016-07-12 10:40   ` Julien Grall
2016-07-15 10:12     ` Christoffer Dall
2016-06-20 15:09 ` [PATCH 2/4] Xen: Support adding DT nodes Andre Przywara
2016-07-12 10:48   ` Julien Grall
2016-06-20 15:09 ` [PATCH 3/4] Xen: Select correct dom0 console Andre Przywara
2016-07-12 10:49   ` Julien Grall [this message]
2016-06-20 15:09 ` [PATCH 4/4] Explicitly clean linux-system.axf and xen-system.axf Andre Przywara
2016-07-12 10:58   ` Julien Grall
2016-07-12 10:31 ` [PATCH 0/4] boot-wrapper: arm64: Xen support Julien Grall
2016-08-16 18:01 ` Julien Grall

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=5784CB30.4000105@arm.com \
    --to=julien.grall@arm$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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