[U-Boot-Users] [PATCH 2/4] cfi_flash: Introduce read and write accessors
Haavard Skinnemoen
hskinnemoen at atmel.com
Wed Dec 12 14:32:04 CET 2007
On Wed, 12 Dec 2007 08:23:00 -0500
Jerry Van Baren <gerald.vanbaren at ge.com> wrote:
> Should you make the flash_write*() functions inline?
Yeah...they usually end up inline anyway since they're so simple, but I
guess it doesn't hurt to make it explicit.
In general, I think it's best not to add "inline" to static functions
as it allows the compiler to decide whether or not to inline based on
optimization flags, etc.
Haavard
More information about the U-Boot
mailing list