setting gpio on MX1
From: Mildred Frisco
Date: Thu Dec 23 2004 - 06:16:30 EST
I am using an MX1-based board and would like to use one of its GPIO
pins for interrupt. I tried to initlialize it in
arch/arm/mach-xxx/arch.c by the __fixup function. Here's the part of
the code I added ...
/* Configure interrupt setting, for bitnum of port configured as input.
static void __init
mx1skx4043_fixup(struct machine_desc *desc, struct param_struct *unused,
char **cmdline, struct meminfo *mi)
I've generated a kernel image but it only goes until "Uncompressing linux..."
The kernel booted successfully when this part is not included yet.
Or maybe I am initializing the gpio in the wrong place or I forgot to
call an some function. Is the kernel console already enabled by this
time so I can see the kernel messages?
Thanks in advance,
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/