Re: [PATCH 3/3 v2] dmaengine: Add Freescale i.MX SDMA support
From: Linus Walleij
Date: Sun Aug 29 2010 - 08:35:37 EST
2010/8/28 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/