asm-generic: add macro for BAREBOX_CLK_TABLE
This adds a macro for linker scripts to place DT clock provider table. While at it, also add ALIGN(8) to DTB macro and fix a whitespace issue. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
7c1091bd58
commit
cdab803eb5
|
@ -41,9 +41,16 @@
|
|||
|
||||
#define BAREBOX_MAGICVARS KEEP(*(SORT_BY_NAME(.barebox_magicvar*)))
|
||||
|
||||
#define BAREBOX_CLK_TABLE() \
|
||||
. = ALIGN(8); \
|
||||
__clk_of_table_start = .; \
|
||||
KEEP(*(.__clk_of_table_*)); \
|
||||
__clk_of_table_end = .;
|
||||
|
||||
#define BAREBOX_DTB() \
|
||||
. = ALIGN(8); \
|
||||
__dtb_start = .; \
|
||||
KEEP(*(.dtb.rodata.*)); \
|
||||
KEEP(*(.dtb.rodata.*)); \
|
||||
__dtb_end = .;
|
||||
|
||||
#if defined(CONFIG_ARCH_BAREBOX_MAX_BARE_INIT_SIZE) && \
|
||||
|
|
Loading…
Reference in New Issue