[U-Boot] [PATCH] M28: Added guarding for reserved bits in GPIO driver

Robert Deliën Robert at delien.nl
Tue Nov 22 22:16:54 CET 2011


> static const int all_bank_pins[] = {
> 	MXS_BANK0_PINS,
> 	MXS_BANK1_PINS,
> 	MXS_BANK2_PINS,
> 	MXS_BANK3_PINS,
> 	MXS_BANK4_PINS,
> };
> bank_pins = all_bank_pins[PAD_PANK(gp)];

Good one!

But how about the changes Marek suggested about name_to_gpio_number?

Robert.


More information about the U-Boot mailing list