diff options
author | Alagu Sankar <alagusankar@embwise.com> | 2010-09-21 08:56:02 +0530 |
---|---|---|
committer | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2010-09-21 08:56:02 +0530 |
commit | 282427584793d8d785c21f8f28718d46ef1d6390 (patch) | |
tree | ea562655ae13d5518be769413457c929baf4c722 /lib_ppc | |
parent | abca1d3ba5805d32944388eb165ca73a5192dbe1 (diff) |
Environment in MMC
Support for Environment Variables to be stored in SD/MMC cards. This can be
enabled by CONFIG_ENV_IS_IN_MMC option.
Signed-off-by: Alagu Sankar <alagusankar@embwise.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index dd22f99c67..63f38410b6 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -784,6 +784,12 @@ void board_init_r (gd_t *id, ulong dest_addr) nand_init(); /* go init the NAND */ #endif +#ifdef CONFIG_GENERIC_MMC + WATCHDOG_RESET (); + puts ("MMC: "); + mmc_initialize (bd); +#endif + /* relocate environment function pointers etc. */ env_relocate (); @@ -940,12 +946,6 @@ void board_init_r (gd_t *id, ulong dest_addr) scsi_init (); #endif -#ifdef CONFIG_GENERIC_MMC - WATCHDOG_RESET (); - puts ("MMC: "); - mmc_initialize (bd); -#endif - #if defined(CONFIG_CMD_DOC) WATCHDOG_RESET (); puts ("DOC: "); |