public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: "Libo Chen" <clbchenlibo.chen@huawei.com>,
	"David Woodhouse" <dwmw2@infradead.org>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	artem.bityutskiy@linux.intel.com,
	"Bill Pemberton" <wfp5p@virginia.edu>,
	linux-mtd@lists.infradead.org,
	LKML <linux-kernel@vger.kernel.org>,
	"Li Zefan" <lizefan@huawei.com>
Subject: Re: [PATCH RESEND 2/2] mtd: bcm47: convert to module_platform_driver instead of init/exit
Date: Thu, 30 May 2013 12:55:34 +0200	[thread overview]
Message-ID: <51A73026.3030200@hauke-m.de> (raw)
In-Reply-To: <CAHp75Vc9mYmUM4pmeKLBzxNFsx-xiSez6oxC1F5+Hh-hPXto5A@mail.gmail.com>

On 05/30/2013 12:30 PM, Andy Shevchenko wrote:
> On Thu, May 30, 2013 at 5:22 AM, Libo Chen <clbchenlibo.chen@huawei.com> wrote:
>>
>> convert to module_platform_driver instead of init/exit
> 
> I give another thought about it. We have to be sure that the flash
> device will be online when it's really needed.
> module_init initcall is quite far in the boot process. Is it what we want?

This is no problem, the flash driver is needed when the root file system
is mounted. The arch code reads the SoC configuration values in its own
code in arch/mips/bcm47xx/nvram.c without using the mtd subsystem. These
values are needed very early in the boot process.

Hauke

      reply	other threads:[~2013-05-30 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30  2:22 [PATCH RESEND 2/2] mtd: bcm47: convert to module_platform_driver instead of init/exit Libo Chen
2013-05-30 10:30 ` Andy Shevchenko
2013-05-30 10:55   ` Hauke Mehrtens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A73026.3030200@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=andy.shevchenko@gmail.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=clbchenlibo.chen@huawei.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=lizefan@huawei.com \
    --cc=wfp5p@virginia.edu \
    --cc=zajec5@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox