
Hi Wolfgang,
but then do you think if there's any way to use some generic read/write routines? The problem is we use ml509 board loaded with Synopsys DW ACR700 core and we need to access SystemACE CF-card controller (to boot Linux kernel mainly).
Or should I just add conditional branch for ARC architecture?
Regards, Alexey
2013/1/3 Wolfgang Denk wd@denx.de:
Dear Alexey,
please don't top post / full quote, and please keep the ML on Cc: - thanks.
In message CAML3pwX=dfC4vfRfg-Rft5Xuem7q4-7VjtmySvitzWzY3z8JBg@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@denx.de Hegel was right when he said that we learn from history that man can never learn anything from history. - George Bernard Shaw