summaryrefslogtreecommitdiff
path: root/include/configs/mx53_loco.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_loco.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_loco.h')
-rw-r--r--include/configs/mx53_loco.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/mx53_loco.h b/include/configs/mx53_loco.h
index 9d7cf2e..b5d880f 100644
--- a/include/configs/mx53_loco.h
+++ b/include/configs/mx53_loco.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
*
* Configuration settings for the MX53-LOCO Freescale board.
*
@@ -251,6 +251,7 @@
/* Monitor at beginning of flash */
#define CONFIG_FSL_ENV_IN_MMC
+/* #define CONFIG_FSL_ENV_IN_SATA */
#define CONFIG_ENV_SECT_SIZE (128 * 1024)
#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE
@@ -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