> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Albert Aribaud > Sent: Thursday, June 10, 2010 2:20 AM > To: [email protected] > Subject: [U-Boot] [PATCH V7 3/3] Add support for the LaCie ED > Mini V2 board > > This patch adds support for the LaCie ED Mini V2 product > which is based on the Marvell Orion5x SoC. > > Signed-off-by: Albert Aribaud <[email protected]> > --- > MAINTAINERS | 4 + > MAKEALL | 1 + > Makefile | 3 + > board/LaCie/edminiv2/Makefile | 53 ++++++++++++ > board/LaCie/edminiv2/config.mk | 27 ++++++ > board/LaCie/edminiv2/edminiv2.c | 92 +++++++++++++++++++++ > include/configs/edminiv2.h | 172 ...snip... > +/* > + * Board-specific values for Orion5x MPP low level init: > + * - MPPs 12 to 15 are SATA LEDs (mode 5) > + * - Others are GPIO/unused (mode 3 for MPP0, mode 5 for > + * MPP16 to MPP19, mode 0 for others > + */ > + > +#define ORION5X_MPP0_7 0x00000003 > +#define ORION5X_MPP8_15 0x55550000 > +#define ORION5X_MPP16_23 0x00000000 > + > +/* > + * Board-specific values for Orion5x GPIO low level init: > + * - GPIO3 is input (RTC interrupt) > + * - GPIO16 is Power LED control (0 = on, 1 = off) > + * - GPIO17 is Power LED source select (0 = CPLD, 1 = GPIO16) > + * - GPIO18 is Power Button status (0 = Released, 1 = Pressed) > + * - Last GPIO is 26, further bits are supposed to be 0. > + * Enable mask has ones for INPUT, 0 for OUTPUT. > + * Default is LED ON. > + */ > + > +#define ORION5X_GPIO_OUT_ENABLE 0x03fcffff > +#define ORION5X_GPIO_OUT_VALUE 0x03fcffff
Ack for the patch, except above definition to be used in patch 1/3 Regards.. Prafulla . . _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

