public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 0/7] cfi_flash cleanups, take 3
@ 2007-12-13 11:56 Haavard Skinnemoen
  2007-12-13 11:56 ` [U-Boot-Users] [PATCH 1/7] cfi_flash: Break long lines Haavard Skinnemoen
  2007-12-13 12:56 ` [U-Boot-Users] [PATCH 0/7] cfi_flash cleanups, take 3 Stefan Roese
  0 siblings, 2 replies; 9+ messages in thread
From: Haavard Skinnemoen @ 2007-12-13 11:56 UTC (permalink / raw)
  To: u-boot

This is a resend of the whole series rebased onto the latest head of
the CFI tree.

Patch #3 is not actually present since it's too large to fit under the
40K limit. I've put it on a web server instead:

http://avr32linux.org/twiki/pub/Sandbox/UbootCfiCleanup/0003-cfi_flash-Reorder-functions-and-eliminate-extra-pro.patch

I did a quick test on one of my avr32 boards and while it identified
the flash just fine, it couldn't erase it. I think the flash chip
needs to be unprotected, and the current code doesn't do this (it's
kind of a quirk with the particular Atmel chip I'm using, AT49BV6416.)
I'm planning to rework the code dealing with chip-specific quirks
later on and add code to smack this chip on the head as needed. It
also has a geometry reversal issue which is not detected properly by
the current code (I think there's a reason this chip was quickly
replaced by AT49BV642D, which doesn't have any of these problems.)

Haavard Skinnemoen (7):
      cfi_flash: Break long lines
      cfi_flash: Make some needlessly global functions static
      cfi_flash: Reorder functions and eliminate extra prototypes
      Implement __raw_{read,write}[bwl] on all architectures
      cfi_flash: Introduce read and write accessors
      Introduce map_physmem() and unmap_physmem()
      cfi_flash: Use map_physmem() and unmap_physmem()

 drivers/mtd/cfi_flash.c     | 1699 +++++++++++++++++++++++--------------------
 include/asm-arm/io.h        |   26 +
 include/asm-avr32/io.h      |   32 +
 include/asm-blackfin/io.h   |   26 +
 include/asm-i386/io.h       |   26 +
 include/asm-m68k/io.h       |   41 +
 include/asm-microblaze/io.h |   26 +
 include/asm-mips/io.h       |   26 +
 include/asm-nios/io.h       |   34 +
 include/asm-nios2/io.h      |   34 +
 include/asm-ppc/io.h        |   58 ++-
 11 files changed, 1249 insertions(+), 779 deletions(-)

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

end of thread, other threads:[~2007-12-13 12:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 11:56 [U-Boot-Users] [PATCH 0/7] cfi_flash cleanups, take 3 Haavard Skinnemoen
2007-12-13 11:56 ` [U-Boot-Users] [PATCH 1/7] cfi_flash: Break long lines Haavard Skinnemoen
2007-12-13 11:56   ` [U-Boot-Users] [PATCH 2/7] cfi_flash: Make some needlessly global functions static Haavard Skinnemoen
2007-12-13 11:56     ` [U-Boot-Users] [PATCH 3/7] cfi_flash: Reorder functions and eliminate extra prototypes Haavard Skinnemoen
2007-12-13 11:56       ` [U-Boot-Users] [PATCH 4/7] Implement __raw_{read, write}[bwl] on all architectures Haavard Skinnemoen
2007-12-13 11:56         ` [U-Boot-Users] [PATCH 5/7] cfi_flash: Introduce read and write accessors Haavard Skinnemoen
2007-12-13 11:56           ` [U-Boot-Users] [PATCH 6/7] Introduce map_physmem() and unmap_physmem() Haavard Skinnemoen
2007-12-13 11:56             ` [U-Boot-Users] [PATCH 7/7] cfi_flash: Use " Haavard Skinnemoen
2007-12-13 12:56 ` [U-Boot-Users] [PATCH 0/7] cfi_flash cleanups, take 3 Stefan Roese

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