public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/22] ARM: gemini: DT for the Cortina Gemini SoC platforms
Date: Fri, 27 Jan 2017 00:23:54 +0100	[thread overview]
Message-ID: <2789599.hfgAbXaEmE@wuerfel> (raw)
In-Reply-To: <20170122122236.10665-1-linus.walleij@linaro.org>

On Sunday, January 22, 2017 1:22:36 PM CET Linus Walleij wrote:
> +
> +/* Can we just use CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT? */
> +#define GEMINI_UART_BASE 0x42000000
> +#define GEMINI_UART_VBASE 0xf4200000
> +
> +/* This is needed for LL-debug/earlyprintk/debug-macro.S */
> +static struct map_desc gemini_io_desc[] __initdata = {
> +       {
> +               .virtual = GEMINI_UART_VBASE,
> +               .pfn = __phys_to_pfn(GEMINI_UART_BASE),
> +               .length = SZ_4K,
> +               .type = MT_DEVICE,
> +       },
> +};

I don't see why using CONFIG_DEBUG_UART_PHYS / CONFIG_DEBUG_UART_VIRT shouldn't
work here. Have you tried it?

	Arnd

      reply	other threads:[~2017-01-26 23:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22 12:22 [PATCH 12/22] ARM: gemini: DT for the Cortina Gemini SoC platforms Linus Walleij
2017-01-26 23:23 ` Arnd Bergmann [this message]

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=2789599.hfgAbXaEmE@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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