Arctic-2 MTD driver
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.
Again, any comments before I commit this?
drivers/mtd/maps/Config.in renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/mtd/maps/Config.in +3 -0
@@ -57,6 +57,9 @@ if [ "$CONFIG_BEECH" = "y" ]; then dep_tristate ' CFI Flash device mapped on IBM Beech' CONFIG_MTD_BEECH $CONFIG_MTD_CFI fi + if [ "$CONFIG_ARCTIC2" = "y" ]; then + dep_tristate ' CFI Flash device mapped on IBM Arctic' CONFIG_MTD_ARCTIC $CONFIG_MTD_CFI + fi dep_tristate ' CFI Flash device mapped on D-Box2' CONFIG_MTD_DBOX2 $CONFIG_MTD_CFI dep_tristate ' CFI Flash device mapping on FlagaDM' CONFIG_MTD_CFI_FLAGADM $CONFIG_MTD_CFI fi
drivers/mtd/maps/Makefile renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/mtd/maps/Makefile +1 -0
@@ -44,5 +44,6 @@ obj-$(CONFIG_MTD_MOT_MVP) += mot-mvp.o obj-$(CONFIG_MTD_EBONY) += ebony.o obj-$(CONFIG_MTD_BEECH) += beech-mtd.o +obj-$(CONFIG_MTD_ARCTIC) += arctic-mtd.o include $(TOPDIR)/Rules.make
drivers/mtd/maps/arctic-mtd.c renamed from home/dgibson/kernel/linuxppc_2_4_devel/drivers/mtd/maps/arctic-mtd.c +168 -0
168 lines not on this page · raw message
--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Hello David,
Quoted 4 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.
Can you also post this to the linux-mtd folks?
Thanks,
Marius
-----------------------------------------------------------------------------
Marius Groeger SYSGO Real-Time Solutions AG [email protected] Software Engineering Embedded and Real-Time Software www.sysgo.de Voice: +49-6136-9948-0 Am Pfaffenstein 14 www.osek.de FAX: +49-6136-9948-10 55270 Klein-Winternheim, Germany www.elinos.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Marius Groeger
Hello David,
Quoted 4 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.Can you also post this to the linux-mtd folks?
No point in doing that yet, as the underlying support code for the Arctic-2 won't be making Marcelo's tree for a while yet.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Tom Rini
Quoted 10 lines · Marius Groeger
Hello David,
Quoted 4 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.
Quoted 4 lines
Quoted 1 line
Can you also post this to the linux-mtd folks?
No point in doing that yet, as the underlying support code for the Arctic-2 won't be making Marcelo's tree for a while yet.
I don't see a point in NOT doing this. It will have to be done anyway, so David might as well do it now and be done with it.
Regards
Marius
-----------------------------------------------------------------------------
Marius Groeger SYSGO Real-Time Solutions AG [email protected] Software Engineering Embedded and Real-Time Software www.sysgo.de Voice: +49-6136-9948-0 Am Pfaffenstein 14 www.osek.de FAX: +49-6136-9948-10 55270 Klein-Winternheim, Germany www.elinos.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 13 lines · Marius Groeger
Quoted 11 lines · Tom Rini
Quoted 10 lines · Marius Groeger
Hello David,
Quoted 4 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Can you also post this to the linux-mtd folks?
No point in doing that yet, as the underlying support code for the Arctic-2 won't be making Marcelo's tree for a while yet.
I don't see a point in NOT doing this. It will have to be done anyway, so David might as well do it now and be done with it.
Unusable, untestable code which may or may not need minor changes before going upstream? (For example, I need to go and do similar changes to an upstream version of maps/Config.in like I just did to the _devel ones).
There's no real advantage to doing it now or later, in other words. :)
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 6 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.Again, any comments before I commit this?
Only that it reminded me that drivers/mtd/maps/Config.in needs some cleanups for PPC32, I'll be commiting those momentarily. But other than that, it looks fine.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Tom Rini
Quoted 5 lines · David Gibson
Having committed the core support code for the Arctic-2, here come some drivers for it. Below is an MTD map for the Arctic-2, derived from
beech-mtd.c. Essentially all it does is provide suitable hardwired partitions.
Quoted 5 lines
Quoted 1 line
Again, any comments before I commit this?
Only that it reminded me that
drivers/mtd/maps/Config.inneeds some cleanups for PPC32, I'll be commiting those momentarily. But other than that, it looks fine.
Ok, updated for your changes, and committed.
--
David Gibson | For every complex problem there is a
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/