diff options
author | Rob Herring <robh@kernel.org> | 2014-03-27 09:06:16 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-05-20 16:19:25 -0400 |
commit | b0b6abd34c1b508d4ac95dbc614f36c49d29e65a (patch) | |
tree | 153b298e55c0ba79dc0ff1ad7f3d308f8d9ed32f /include/asm-generic | |
parent | 54196ccbe0ba1f268a646059473313589db35b01 (diff) |
serial: earlycon: add DT support
This adds the infrastructure to generic earlycon for earlycon setup
using DT. The actual setup is not enabled until a following commit to
add the FDT parsing.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index b9404f6590f1..d647637cd699 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -155,6 +155,7 @@ | |||
155 | #define CLK_OF_TABLES() OF_TABLE(CONFIG_COMMON_CLK, clk) | 155 | #define CLK_OF_TABLES() OF_TABLE(CONFIG_COMMON_CLK, clk) |
156 | #define RESERVEDMEM_OF_TABLES() OF_TABLE(CONFIG_OF_RESERVED_MEM, reservedmem) | 156 | #define RESERVEDMEM_OF_TABLES() OF_TABLE(CONFIG_OF_RESERVED_MEM, reservedmem) |
157 | #define CPU_METHOD_OF_TABLES() OF_TABLE(CONFIG_SMP, cpu_method) | 157 | #define CPU_METHOD_OF_TABLES() OF_TABLE(CONFIG_SMP, cpu_method) |
158 | #define EARLYCON_OF_TABLES() OF_TABLE(CONFIG_SERIAL_EARLYCON, earlycon) | ||
158 | 159 | ||
159 | #define KERNEL_DTB() \ | 160 | #define KERNEL_DTB() \ |
160 | STRUCT_ALIGN(); \ | 161 | STRUCT_ALIGN(); \ |
@@ -483,7 +484,8 @@ | |||
483 | CLKSRC_OF_TABLES() \ | 484 | CLKSRC_OF_TABLES() \ |
484 | CPU_METHOD_OF_TABLES() \ | 485 | CPU_METHOD_OF_TABLES() \ |
485 | KERNEL_DTB() \ | 486 | KERNEL_DTB() \ |
486 | IRQCHIP_OF_MATCH_TABLE() | 487 | IRQCHIP_OF_MATCH_TABLE() \ |
488 | EARLYCON_OF_TABLES() | ||
487 | 489 | ||
488 | #define INIT_TEXT \ | 490 | #define INIT_TEXT \ |
489 | *(.init.text) \ | 491 | *(.init.text) \ |