qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Duplicate nand device entries
@ 2009-06-09 18:36 Blue Swirl
  2009-06-09 19:24 ` Stuart Brady
  0 siblings, 1 reply; 2+ messages in thread
From: Blue Swirl @ 2009-06-09 18:36 UTC (permalink / raw)
  To: qemu-devel

Hi,

Sparse gives this warning:
/src/qemu/hw/nand.c:129:6: warning: Initializer entry defined twice
/src/qemu/hw/nand.c:150:6:   also defined here

The offending lines are:
    [0x39] = { 8,	8,	9, 4, 0 },
    [0x39] = { 128,	8,	9, 5, 0 },

The file refers to Linux:
/* Information based on Linux drivers/mtd/nand/nand_ids.c */

But the same problem exists on Linux:
	{"NAND 8MiB 1,8V 8-bit", 	0x39, 512, 8, 0x2000, 0},
	{"NAND 128MiB 1,8V 8-bit", 	0x39, 512, 128, 0x4000, 0},

What should be the correct entry?

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

* Re: [Qemu-devel] Duplicate nand device entries
  2009-06-09 18:36 [Qemu-devel] Duplicate nand device entries Blue Swirl
@ 2009-06-09 19:24 ` Stuart Brady
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart Brady @ 2009-06-09 19:24 UTC (permalink / raw)
  To: qemu-devel

On Tue, Jun 09, 2009 at 09:36:45PM +0300, Blue Swirl wrote:
> The file refers to Linux:
> /* Information based on Linux drivers/mtd/nand/nand_ids.c */
> 
> But the same problem exists on Linux:
> 	{"NAND 8MiB 1,8V 8-bit", 	0x39, 512, 8, 0x2000, 0},
> 	{"NAND 128MiB 1,8V 8-bit", 	0x39, 512, 128, 0x4000, 0},
> 
> What should be the correct entry?

My googling points at the K9F6408Q0C, which is a 1.8V 8M x 8-bit chip
with blocks of 8K.

Cheers,
-- 
Stuart Brady

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

end of thread, other threads:[~2009-06-09 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 18:36 [Qemu-devel] Duplicate nand device entries Blue Swirl
2009-06-09 19:24 ` Stuart Brady

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).