diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-05-19 07:04:48 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-24 06:08:57 (GMT) |
commit | c4e3ea2553308ba65fea582dc9a42221ef8b49e5 (patch) | |
tree | ae8126834cda2638a3f151a6ce24a98a90dbbab6 /arch/powerpc/kernel/vmlinux.lds.S | |
parent | c81014f603db26e1ed818decebd3b594606e20a6 (diff) | |
download | linux-fsl-qoriq-c4e3ea2553308ba65fea582dc9a42221ef8b49e5.tar.xz |
[PATCH] powerpc: make iSeries flattened device tree dynamic
First we capture all the strings from dt.c statically by noting that gcc
puts them in a special section of their own. Idea from Michael Ellerman.
Then we move the flattened device tree to klimit.
Still to come, making the values blob grow as needed.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index fe79c258..8b25953 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -93,6 +93,11 @@ SECTIONS __ptov_table_begin = .; *(.ptov_fixup); __ptov_table_end = .; +#ifdef CONFIG_PPC_ISERIES + __dt_strings_start = .; + *(.dt_strings); + __dt_strings_end = .; +#endif } . = ALIGN(16); |