[U-Boot] [PATCH] drivers/block/systemace: replaced in16/out16 with more common readw/writew macros

Wolfgang Denk wd at denx.de
Thu Jan 3 13:37:37 CET 2013


Dear Alexey,

please don't top post / full quote, and please keep the ML on Cc: - thanks.

In message <CAML3pwX=dfC4vfRfg-Rft5Xuem7q4-7VjtmySvitzWzY3z8JBg at mail.gmail.com> you wrote:
>
> And what if you use "__raw_writew"/"__raw_readw" instead?

I'd rather not try that, as the __raw_* functions are missing the
memory barriers that are mandatory for such device access.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hegel was right when he said that we learn from history that man  can
never learn anything from history.              - George Bernard Shaw


More information about the U-Boot mailing list