public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] OMAP3: NAND init problems
@ 2011-06-17 10:03 Simon Schwarz
  2011-06-17 14:41 ` Andreas Bießmann
  2011-06-17 19:27 ` Sughosh Ganu
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Schwarz @ 2011-06-17 10:03 UTC (permalink / raw)
  To: u-boot

Hi list,

I'am trying to get the NAND-flash to work in my OMAP3 SPL. I
essentially call these functions after the base init:
gpmc_init();
nand_init();

But in nand_init() the cpu jumps somewhere in memory. I tracked that
down to nand_get_flash_type() to the call chip->select_chip(mtd, 0);
Some digging shows that the select_chip function pointer isn't
initialized -> just garbage.

Just before the call to nand_get_flash_type() is a call to
nand_set_defaults(chip, busw) which IMHO should be responsible to set
the function-pointers. But this function tests for non-zero value ->
garbage is non-zero.

Do I miss something for NAND init?

Thanks in advance!
Simon

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

end of thread, other threads:[~2011-06-20 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 10:03 [U-Boot] OMAP3: NAND init problems Simon Schwarz
2011-06-17 14:41 ` Andreas Bießmann
     [not found]   ` <BANLkTi=91rBGKWnRaQxkdPj5aGNARy687Q@mail.gmail.com>
2011-06-17 17:13     ` Andreas Bießmann
2011-06-17 19:27 ` Sughosh Ganu
2011-06-20 16:17   ` Simon Schwarz

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