From 3ee9d15fd8d836cdc6469c042ccc2c2c36875144 Mon Sep 17 00:00:00 2001 From: "Aisheng.Dong" Date: Tue, 1 Jun 2010 19:49:50 +0800 Subject: ENGR00123484 mx28:support saving environment into sd1 Original uboot did not support sd1 and can only save environment into sd0 even actually you're booting from sd1. This patch adds the capability of saving environment into sd1 when you're booting from sd1. Signed-off-by: Aisheng.Dong --- include/asm-arm/arch-mx28/pinctrl.h | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'include/asm-arm/arch-mx28') diff --git a/include/asm-arm/arch-mx28/pinctrl.h b/include/asm-arm/arch-mx28/pinctrl.h index 25a2e64..6f0eea0 100644 --- a/include/asm-arm/arch-mx28/pinctrl.h +++ b/include/asm-arm/arch-mx28/pinctrl.h @@ -106,6 +106,19 @@ extern void pin_set_group(struct pin_group *pin_group); #define PINID_GPMI_CLE PINID_ENCODE(0, 27) #define PINID_GPMI_RESETN PINID_ENCODE(0, 28) +#define PINID_SSP1_DATA0 PINID_ENCODE(0, 0) +#define PINID_SSP1_DATA1 PINID_ENCODE(0, 1) +#define PINID_SSP1_DATA2 PINID_ENCODE(0, 2) +#define PINID_SSP1_DATA3 PINID_ENCODE(0, 3) +#define PINID_SSP1_DATA4 PINID_ENCODE(0, 4) +#define PINID_SSP1_DATA5 PINID_ENCODE(0, 5) +#define PINID_SSP1_DATA6 PINID_ENCODE(0, 6) +#define PINID_SSP1_DATA7 PINID_ENCODE(0, 7) +#define PINID_SSP1_DETECT PINID_ENCODE(0, 20) +#define PINID_SSP1_CMD PINID_ENCODE(0, 21) +#define PINID_SSP1_SCK PINID_ENCODE(0, 25) +#define PINID_SSP1_GPIO_WP PINID_ENCODE(0, 28) + /* Bank 1 */ #define PINID_LCD_D00 PINID_ENCODE(1, 0) #define PINID_LCD_D01 PINID_ENCODE(1, 1) @@ -152,10 +165,7 @@ extern void pin_set_group(struct pin_group *pin_group); #define PINID_SSP0_CMD PINID_ENCODE(2, 8) #define PINID_SSP0_DETECT PINID_ENCODE(2, 9) #define PINID_SSP0_SCK PINID_ENCODE(2, 10) -#define PINID_SSP1_SCK PINID_ENCODE(2, 12) -#define PINID_SSP1_CMD PINID_ENCODE(2, 13) -#define PINID_SSP1_DATA0 PINID_ENCODE(2, 14) -#define PINID_SSP1_DATA3 PINID_ENCODE(2, 15) +#define PINID_SSP0_GPIO_WP PINID_ENCODE(2, 12) #define PINID_SSP2_SCK PINID_ENCODE(2, 16) #define PINID_SSP2_MOSI PINID_ENCODE(2, 17) #define PINID_SSP2_MISO PINID_ENCODE(2, 18) -- cgit v1.1