[U-Boot-Users] [PATCH 4/6] cfi_flash: Introduce read and write accessors

Haavard Skinnemoen hskinnemoen at atmel.com
Tue Dec 11 16:46:44 CET 2007


On Tue, 11 Dec 2007 09:35:21 -0600
Kumar Gala <galak at kernel.crashing.org> wrote:

> should these not use in/out macros from asm/io.h?

That would probably be better. It's just that I'm having a hard time
finding a set of macros that
  a) is available on all architectures
  b) don't do any byte swapping or other tricks

__raw_writeb() and friends would satisfy b) but not a)...

Haavard




More information about the U-Boot mailing list