lkml.org 
[lkml]   [2008]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] firmware: allow firmware files to be built into kernel image
On Fri, 23 May 2008 17:00:03 +0200
Clemens Ladisch <clemens@ladisch.de> wrote:

> David Woodhouse wrote:
> > --- a/include/asm-generic/vmlinux.lds.h
> > +++ b/include/asm-generic/vmlinux.lds.h
> > + /* Built-in firmware blobs */ \
> > + .builtin_fw : AT(ADDR(.builtin_fw) - LOAD_OFFSET) { \
> > + VMLINUX_SYMBOL(__start_builtin_fw) = .; \
> > + *(.builtin_fw) \
> > + VMLINUX_SYMBOL(__end_builtin_fw) = .; \
> > + } \
> > + \
>
> Most drivers, when built as a module, would want their firmware images
> to be in the module and not in the kernel image.

When built as a module you must be using an initrd or have a file system
mounted so that case simply doesn't matter or arise.

Alan


\
 
 \ /
  Last update: 2008-05-23 17:51    [W:0.035 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site