
On Mon, 26 Aug 2013 09:42:30 +0200 Stefano Babic sbabic@denx.de wrote:
Hi Tapani,
- Padconfigs. For some reason the existing padconfiguration macros are set
compile time depending on target cpu variant. Hence the need to add new macros (or smth) so the binary can configure the pads for many cpu variants. This would cause duplicate and redundant sets of pad configuration macros for the imx6. Is there any alternative to this, more than rewriting code to comply with cpu specific padconfigs?
Macros wee added exactly in the time they needed, and maybe a global look was missing.
However, can you provide much more detail about this ? Which macros, in which files ?
The macros I refer to is the MX6_PAD_ ones. The semantics of them depends on the target cpu. See arch/arm/include/asm/arch-mx6/mx6-pins.h
You should dropped them, and add them again once they are tested and if you really want to have them.
Good. Then we agree there.
//Tapani