Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1567801
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 12/22] ARM: gemini: DT for the Cortina Gemini SoC platforms |
| Date | 2017-01-27 00:30 +0100 |
| Message-ID | <t41Em-59v-23@gated-at.bofh.it> (permalink) |
| References | <t2prr-IA-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 12/22] ARM: gemini: DT for the Cortina Gemini SoC platforms Linus Walleij <linus.walleij@linaro.org> - 2017-01-22 13:30 +0100 Re: [PATCH 12/22] ARM: gemini: DT for the Cortina Gemini SoC platforms Arnd Bergmann <arnd@arndb.de> - 2017-01-27 00:30 +0100
csiph-web