[PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support

Linus Walleij linus.ml.walleij at gmail.com
Sun Aug 29 08:35:01 EDT 2010


2010/8/28 Sascha Hauer <s.hauer at pengutronix.de>:

> Peripherals integrated into a SoC like the SDMA engine here are
> normally accessible in native endianess and thus need the __raw_*
> functions.

So the SDMA actually switch and twist around the endianness of
its registers if it's synthesized into a bigendian version of the system?

Or hardware-dynamically even depending on the setting of the
endianness bit in the ARM core?

How can that possibly even work...

But I'm still impressed by the statemachines some silicon
engineers come up with so wouldn't surprise me. X-)
I understand the code now atleast. Our hardware is always
synthesized LE so we so handily use [read|write][b|w|l]
everywhere, luckily.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list