aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 08:52:42 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 09:30:13 -0400
commit5658c769443d543728b6c5c673dffc2df8676317 (patch)
tree539477c713c5d231fd3112e4bd8ae8aff4acefa7 /include/asm-generic
parentb7a39bd0afc4021e8ad2b1189e884551e147427f (diff)
firmware: allow firmware files to be built into kernel image
Some drivers have their own hacks to bypass the kernel's firmware loader and build their firmware into the kernel; this renders those unnecessary. Other drivers don't use the firmware loader at all, because they always want the firmware to be available. This allows them to start using the firmware loader. A third set of drivers already use the firmware loader, but can't be used without help from userspace, which sometimes requires an initrd. This allows them to work in a static kernel. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/vmlinux.lds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index f054778e916c..8d71a40625f3 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -86,6 +86,13 @@
86 VMLINUX_SYMBOL(__end_pci_fixups_resume) = .; \ 86 VMLINUX_SYMBOL(__end_pci_fixups_resume) = .; \
87 } \ 87 } \
88 \ 88 \
89 /* Built-in firmware blobs */ \
90 .builtin_fw : AT(ADDR(.builtin_fw) - LOAD_OFFSET) { \
91 VMLINUX_SYMBOL(__start_builtin_fw) = .; \
92 *(.builtin_fw) \
93 VMLINUX_SYMBOL(__end_builtin_fw) = .; \
94 } \
95 \
89 /* RapidIO route ops */ \ 96 /* RapidIO route ops */ \
90 .rio_route : AT(ADDR(.rio_route) - LOAD_OFFSET) { \ 97 .rio_route : AT(ADDR(.rio_route) - LOAD_OFFSET) { \
91 VMLINUX_SYMBOL(__start_rio_route_ops) = .; \ 98 VMLINUX_SYMBOL(__start_rio_route_ops) = .; \