Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1502593

Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option

From Olof Johansson <olof@lixom.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option
Date 2016-10-18 02:10 +0200
Message-ID <stq8F-2CX-1@gated-at.bofh.it> (permalink)
References <srwUW-8js-13@gated-at.bofh.it> <sto6R-YG-1@gated-at.bofh.it> <stpvX-28I-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 17, 2016 at 4:24 PM, Scott Branden
<scott.branden@broadcom.com> wrote:
> Hi Olof,
>
> On 16-10-17 02:58 PM, Olof Johansson wrote:
>>
>> Hi,
>>
>> On Wed, Oct 12, 2016 at 11:51 AM, Scott Branden
>> <scott.branden@broadcom.com> wrote:
>>>
>>> Enable support for on board SPI EEPROM by turning on
>>> CONFIG_EEPROM_AT25.  This needs to be on in order to
>>> boot and test the kernel with a static rootfs image
>>> that is not rebuilt everytime the kernel is rebuilt.
>>
>>
>> If we did this for every kernel option we'd get a huge kernel.
>>
>> In general, we've said that static options for what's needed to boot
>> to rootfs (i.e. storage and network drivers for nfsroot) are fine to
>> enable statically.
>>
>> I doubt you need the EEPROM driver to boot to rootfs on your system,
>> so please enable it as a module instead.
>>
>> Look into using config fragments in case you need to modify the
>> options for local builds, it should be a convenient way to have a
>> small delta to apply to fit your internal needs, instead of completely
>> forking the config file.
>
>
> Do you allow such config fragments to be upstreamed or do we need to
> maintain these in our tree?

There's no place for them upstream. Maintain locally or in a separate repo.


-Olof

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Olof Johansson <olof@lixom.net> - 2016-10-18 00:00 +0200
  Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Scott Branden <scott.branden@broadcom.com> - 2016-10-18 01:30 +0200
    Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Olof Johansson <olof@lixom.net> - 2016-10-18 02:10 +0200
      Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Scott Branden <scott.branden@broadcom.com> - 2016-10-18 22:40 +0200
        Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Olof Johansson <olof@lixom.net> - 2016-10-18 22:50 +0200
          Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Scott Branden <scott.branden@broadcom.com> - 2016-10-19 00:30 +0200
            Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Arnd Bergmann <arnd@arndb.de> - 2016-10-19 17:50 +0200
              Re: [PATCH v2] arm64: defconfig: enable EEPROM_AT25 config option Olof Johansson <olof@lixom.net> - 2016-10-19 19:00 +0200

csiph-web