summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx28
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-06-01 19:49:50 +0800
committerAisheng.Dong <b29396@freescale.com>2010-06-08 13:36:33 +0800
commit3ee9d15fd8d836cdc6469c042ccc2c2c36875144 (patch)
treef4e6dbc127291c3b5ae0dcf24ba846c66acd71ea /include/asm-arm/arch-mx28
parentddb3f2723eaa7ad9e6c7e3cb57c3cdcc6c635f95 (diff)
downloadu-boot-imx-3ee9d15fd8d836cdc6469c042ccc2c2c36875144.zip
u-boot-imx-3ee9d15fd8d836cdc6469c042ccc2c2c36875144.tar.gz
u-boot-imx-3ee9d15fd8d836cdc6469c042ccc2c2c36875144.tar.bz2
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 <b29396@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx28')
-rw-r--r--include/asm-arm/arch-mx28/pinctrl.h18
1 files changed, 14 insertions, 4 deletions
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)