summaryrefslogtreecommitdiffstats
path: root/arch/arm26/kernel/vmlinux-arm26-xip.lds.in
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm26/kernel/vmlinux-arm26-xip.lds.in')
-rw-r--r--arch/arm26/kernel/vmlinux-arm26-xip.lds.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in
index ca61ec8218fe..046a85054018 100644
--- a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in
+++ b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in
@@ -46,10 +46,12 @@ SECTIONS
__con_initcall_start = .;
*(.con_initcall.init)
__con_initcall_end = .;
+#ifdef CONFIG_BLK_DEV_INITRD
. = ALIGN(32);
__initramfs_start = .;
usr/built-in.o(.init.ramfs)
__initramfs_end = .;
+#endif
. = ALIGN(32768);
__init_end = .;
}