LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* MTD OF parser problem
@ 2009-07-07 13:45 Roman Fietze
  2009-07-07 17:31 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Fietze @ 2009-07-07 13:45 UTC (permalink / raw)
  To: linuxppc-dev

Hallo,

I tried to define my MTD partitions in a device tree as
documented. The function of_flash_probe() inside teh file physmap_of.c
never compiled the code below

#ifdef CONFIG_MTD_OF_PARTS

because when the MTD subsystem is compiled as a module I can only find
CONFIG_MTD_OF_PARTS_MODULE beeing defined somewhere below my build
directory.

If I change the above define to

#if defined(CONFIG_MTD_OF_PARTS) || defined(CONFIG_MTD_OF_PARTS_MODULE)

everything is fine and MTD partition work as expected.

My fault? Other solution?

If not, I can submit that tiny patch.


Thanks


Roman

=2D-=20
Roman Fietze  Telemotive AG  B=FCro M=FChlhausen

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 13:45 MTD OF parser problem Roman Fietze
2009-07-07 17:31 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox