]> git.sur5r.net Git - u-boot/blobdiff - include/environment.h
mx6qsabreauto: Pass the correct parallel NOR width
[u-boot] / include / environment.h
index d7a1adf716f0e1c0a129eeaeb5c701a39338718f..b602e8ac46b6be055e6811697023006b9f3b48fd 100644 (file)
  * shifts the remaining entries to the front. Replacing an entry is a
  * combination of deleting the old value and adding the new one.
  *
- * The environment is preceeded by a 32 bit CRC over the data part.
+ * The environment is preceded by a 32 bit CRC over the data part.
  *
- **************************************************************************
- */
+ *************************************************************************/
 
 #if defined(CONFIG_ENV_IS_IN_FLASH)
 # ifndef       CONFIG_ENV_ADDR
@@ -184,6 +183,9 @@ extern void env_reloc(void);
 #include <mmc.h>
 
 extern int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
+# ifdef CONFIG_SYS_MMC_ENV_PART
+extern uint mmc_get_env_part(struct mmc *mmc);
+# endif
 #endif
 
 #ifndef DO_DEPS_ONLY