[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1211556044.28967.32.camel@pmac.infradead.org>
Date: Fri, 23 May 2008 16:20:44 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Clemens Ladisch <clemens@...isch.de>
Cc: linux-kernel@...r.kernel.org, aoliva@...hat.com,
alan@...rguk.ukuu.org.uk, Abhay Salunke <Abhay_Salunke@...l.com>,
kay.sievers@...y.org, Takashi Iwai <tiwai@...e.de>
Subject: Re: [PATCH 1/3] firmware: allow firmware files to be built into
kernel image
On Fri, 2008-05-23 at 17:00 +0200, Clemens Ladisch 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.
>
> This would require some (un)register_builtint_firmware() function.
If you're willing to build the driver as a module, surely you can use
the proper firmware loader too? We have MODULE_FIRMWARE to make sure
that the firmware ends up in the right place with it, after all.
--
dwmw2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists