
2 Dec
2010
2 Dec
'10
12:14 p.m.
Dear Prafulla Wadaskar,
In message 1291302695-15561-2-git-send-email-prafulla@marvell.com you wrote:
This patch adds the support MFP support for Marvell ARMADA100 SoCs
Signed-off-by: Prafulla Wadaskar prafulla@marvell.com
Change log v3 REPOST: macro MFPR_PTR_UPDATE added
arch/arm/include/asm/arch-armada100/mfp.h | 231 +++++++++++++++++++++++++++++ 1 files changed, 231 insertions(+), 0 deletions(-) create mode 100755 arch/arm/include/asm/arch-armada100/mfp.h
...
+/* GPIOs */ +#define GPIOAF(x) (if (x <= 15) ? 5 : \
if (x == 16) ? 0 : \
if (x == 17) ? 5 : \
if (x == 18) ? 0 : \
if (x == 19) ? 5 : \
if (x == 20) ? 0 : \
if (x <= 25) ? 5 : \
if (x == 26) ? 0 : \
if (x == 33) ? 5 : 0)
Does this code actually compile?
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
To the systems programmer, users and applications serve only to
provide a test load.