summaryrefslogtreecommitdiff
path: root/include/configs/mx53_smd.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-12-24 16:29:37 +0800
committerTerry Lv <r65388@freescale.com>2011-01-11 20:28:25 +0800
commit9b1177585564a7fc63ea8a377fab7d15b1e43674 (patch)
tree5afa9ae3a60cb06c984a145ead719692a2b3b96f /include/configs/mx53_smd.h
parent84d9443bc45af09dcc8712536becf52fdb8c0de5 (diff)
downloadu-boot-imx-9b1177585564a7fc63ea8a377fab7d15b1e43674.zip
u-boot-imx-9b1177585564a7fc63ea8a377fab7d15b1e43674.tar.gz
u-boot-imx-9b1177585564a7fc63ea8a377fab7d15b1e43674.tar.bz2
ENGR00137358: Add saving environment to sata device support
Add saving environment to sata device support. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx53_smd.h')
-rw-r--r--include/configs/mx53_smd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/mx53_smd.h b/include/configs/mx53_smd.h
index 2b889ea..760e78b 100644
--- a/include/configs/mx53_smd.h
+++ b/include/configs/mx53_smd.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
*
* Configuration settings for the MX53-SMD Freescale board.
*
@@ -250,6 +250,7 @@
#define CONFIG_SYS_NO_FLASH
/* Monitor at beginning of flash */
+/* #define CONFIG_FSL_ENV_IN_SATA */
#define CONFIG_FSL_ENV_IN_MMC
#define CONFIG_ENV_SECT_SIZE (128 * 1024)
@@ -261,6 +262,10 @@
#elif defined(CONFIG_FSL_ENV_IN_MMC)
#define CONFIG_ENV_IS_IN_MMC 1
#define CONFIG_ENV_OFFSET (768 * 1024)
+#elif defined(CONFIG_FSL_ENV_IN_SATA)
+ #define CONFIG_ENV_IS_IN_SATA 1
+ #define CONFIG_SATA_ENV_DEV 0
+ #define CONFIG_ENV_OFFSET (768 * 1024)
#elif defined(CONFIG_FSL_ENV_IN_SF)
#define CONFIG_ENV_IS_IN_SPI_FLASH 1
#define CONFIG_ENV_SPI_CS 1