[U-Boot] [PATCH v2 1/3][repost] nand: Add Marvell Kirkwood NAND driver

Dieter Kiermaier dk-arm-linux at gmx.de
Tue Jun 23 10:47:47 CEST 2009


Am Dienstag 23 Juni 2009 10:35:31 schrieb Jean-Christophe PLAGNIOL-VILLARD:

> > > I2C lowest priority (as per need)
> >
> > Can I do something to push I2C priority?
>
> If the I/O is shared with gpio you can use bitbanging with few hours

I think this would be the best to start - due to the fact that I need 
bitbanging for FPGA flashing, too.

>
> Best Regards,
> J.

@Prafulla:
in kirkwood/cpu.c
there are 2 functions:
kw_config_gpio()
kw_config_mpp()

If I implement additional functions like
kw_gpio_direction(int gpio, enum direction)
kw_gpio_set(int gpio, int value)
int value kw_gpio_get(int gpio)

If the functions are implemented in cpu.c are they accessible from cmd_xxx.c 
functions?

Would this be ok to get it mainline or should there be an special driver for 
gpio access?

Sorry for my newbie questions :)


Dieter




More information about the U-Boot mailing list