kernel: don't remove of_tables
These are needed for OF setup of clocksource, clocks and irqchips. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36657 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
1aca3426e7
commit
2fc4a3e2db
|
@ -92,6 +92,39 @@
|
|||
VMLINUX_SYMBOL(__stop_syscalls_metadata) = .;
|
||||
#else
|
||||
#define TRACE_SYSCALLS()
|
||||
@@ -152,8 +152,8 @@
|
||||
#ifdef CONFIG_CLKSRC_OF
|
||||
#define CLKSRC_OF_TABLES() . = ALIGN(8); \
|
||||
VMLINUX_SYMBOL(__clksrc_of_table) = .; \
|
||||
- *(__clksrc_of_table) \
|
||||
- *(__clksrc_of_table_end)
|
||||
+ KEEP(*(__clksrc_of_table)) \
|
||||
+ KEEP(*(__clksrc_of_table_end))
|
||||
#else
|
||||
#define CLKSRC_OF_TABLES()
|
||||
#endif
|
||||
@@ -162,8 +162,8 @@
|
||||
#define IRQCHIP_OF_MATCH_TABLE() \
|
||||
. = ALIGN(8); \
|
||||
VMLINUX_SYMBOL(__irqchip_begin) = .; \
|
||||
- *(__irqchip_of_table) \
|
||||
- *(__irqchip_of_end)
|
||||
+ KEEP(*(__irqchip_of_table)) \
|
||||
+ KEEP(*(__irqchip_of_end))
|
||||
#else
|
||||
#define IRQCHIP_OF_MATCH_TABLE()
|
||||
#endif
|
||||
@@ -171,8 +171,8 @@
|
||||
#ifdef CONFIG_COMMON_CLK
|
||||
#define CLK_OF_TABLES() . = ALIGN(8); \
|
||||
VMLINUX_SYMBOL(__clk_of_table) = .; \
|
||||
- *(__clk_of_table) \
|
||||
- *(__clk_of_table_end)
|
||||
+ KEEP(*(__clk_of_table)) \
|
||||
+ KEEP(*(__clk_of_table_end))
|
||||
#else
|
||||
#define CLK_OF_TABLES()
|
||||
#endif
|
||||
@@ -180,7 +180,7 @@
|
||||
#define KERNEL_DTB() \
|
||||
STRUCT_ALIGN(); \
|
||||
|
|
Loading…
Reference in New Issue