public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] What is the expected meaning of CONFIG_SYS_NO_FLASH
@ 2015-06-10  0:02 Chris Packham
  2015-06-10  7:18 ` Stefan Roese
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Packham @ 2015-06-10  0:02 UTC (permalink / raw)
  To: u-boot

Hi,

There is a bit of confusion at $dayjob about when CONFIG_SYS_NO_FLASH
is used. Initially we thought that this meant I have no parallel NOR
flash. So a board with only SPI flash would have CONFIG_SYS_NO_FLASH=1
and CONFIG_SPI_FLASH=1.

Is this understanding correct? I'd like to be able to add a blurb to
README about how CONFIG_SYS_NO_FLASH should be used. Based on what I
can tell from the code there seems to be a requirement that if
!defined(CONFIG_SYS_NO_FLASH) something must implement flash_init(),
flash_write(), etc as defined in include/flash.h. This could be a
driver like cfi_flash.c or a board specific implementation.

Thanks,
Chris

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

end of thread, other threads:[~2015-06-10 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10  0:02 [U-Boot] What is the expected meaning of CONFIG_SYS_NO_FLASH Chris Packham
2015-06-10  7:18 ` Stefan Roese
2015-06-10 10:06   ` [U-Boot] [RFC PATCH v1] README: Describe CONFIG_SYS_NO_FLASH Chris Packham
2015-06-10 13:59     ` Stefan Roese

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