public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtdpart.o
@ 2001-02-16 10:40 Jonas Holmberg
  2001-02-16 11:08 ` mtdpart.o David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Jonas Holmberg @ 2001-02-16 10:40 UTC (permalink / raw)
  To: 'mtd@infradead.org'

Why was mtdpart.o removed from obj-$(CONFIG_MTD) in kernel/Makefile?

< obj-$(CONFIG_MTD)		+= mtdcore.o mtdpart.o
---
> obj-$(CONFIG_MTD)		+= mtdcore.o

I've got a problem since it was removed: How can I include mtdpart.o in my kernel if I wan't to do a do_cfi_probe() and then add partitions with add_mtd_partitions()?

/Jonas


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: mtdpart.o
  2001-02-16 10:40 mtdpart.o Jonas Holmberg
@ 2001-02-16 11:08 ` David Woodhouse
  2001-02-18 18:49   ` mtdpart.o Bjorn Wesen
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2001-02-16 11:08 UTC (permalink / raw)
  To: Jonas Holmberg; +Cc: 'mtd@infradead.org'


jonas.holmberg@axis.com said:
>  I've got a problem since it was removed: How can I include mtdpart.o
> in my kernel if I wan't to do a do_cfi_probe() and then add partitions
> with add_mtd_partitions()? 

The way it's done ATM is to include with the map driver:

obj-$(CONFIG_MTD_SBC_MEDIAGX)   += sbc_mediagx.o mtdpart.o
obj-$(CONFIG_MTD_ELAN_104NC)    += elan-104nc.o mtdpart.o
obj-$(CONFIG_MTD_SA1100)        += sa1100-flash.o mtdpart.o



--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: mtdpart.o
  2001-02-18 18:49   ` mtdpart.o Bjorn Wesen
@ 2001-02-18 16:52     ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2001-02-18 16:52 UTC (permalink / raw)
  To: Bjorn Wesen; +Cc: Jonas Holmberg, 'mtd@infradead.org'


On Sun, 18 Feb 2001, Bjorn Wesen wrote:

> I'd rather do it in the config.in and have a separate CONFIG for the
> partition support, but as we found out before, it's really boring to fix
> that config.in for all the cases that need the mtdpart support

Heh. Yeah, I agree - it'd be good to do it properly but it's boring :)

> :) Something for Jonas!

I _try_ to delegate stuff but don't actually pay anyone's wages so it's 
not very effective :)

-- 
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: mtdpart.o
  2001-02-16 11:08 ` mtdpart.o David Woodhouse
@ 2001-02-18 18:49   ` Bjorn Wesen
  2001-02-18 16:52     ` mtdpart.o David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Bjorn Wesen @ 2001-02-18 18:49 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Jonas Holmberg, 'mtd@infradead.org'

On Fri, 16 Feb 2001, David Woodhouse wrote:
> >  I've got a problem since it was removed: How can I include mtdpart.o
> > in my kernel if I wan't to do a do_cfi_probe() and then add partitions
> > with add_mtd_partitions()? 
> 
> The way it's done ATM is to include with the map driver:
> 
> obj-$(CONFIG_MTD_SBC_MEDIAGX)   += sbc_mediagx.o mtdpart.o
> obj-$(CONFIG_MTD_ELAN_104NC)    += elan-104nc.o mtdpart.o
> obj-$(CONFIG_MTD_SA1100)        += sa1100-flash.o mtdpart.o

Which is not possible if you want to place the map driver in another
directory..

I'd rather do it in the config.in and have a separate CONFIG for the
partition support, but as we found out before, it's really boring to fix
that config.in for all the cases that need the mtdpart support
:) Something for Jonas!

-BW



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2001-02-18 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-16 10:40 mtdpart.o Jonas Holmberg
2001-02-16 11:08 ` mtdpart.o David Woodhouse
2001-02-18 18:49   ` mtdpart.o Bjorn Wesen
2001-02-18 16:52     ` mtdpart.o David Woodhouse

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