diff options
author | Anish Trivedi <anish@freescale.com> | 2010-06-15 18:01:10 -0500 |
---|---|---|
committer | Anish Trivedi <anish@freescale.com> | 2010-06-24 09:47:41 -0500 |
commit | 3bd50a46e4453ca2492169e7add9cde0752442e2 (patch) | |
tree | a33e0bfa7f917396a43c8b951f31f0ef64927863 /include/mmc.h | |
parent | 90bfe6af18c84a7e3ba424cba0c2602d883bd286 (diff) | |
download | u-boot-imx-3bd50a46e4453ca2492169e7add9cde0752442e2.zip u-boot-imx-3bd50a46e4453ca2492169e7add9cde0752442e2.tar.gz u-boot-imx-3bd50a46e4453ca2492169e7add9cde0752442e2.tar.bz2 |
ENGR00123782 Fix boot partition problem for emmc
Enable boot partition in BOOT_CONFIG byte of EXT_CSD
Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mmc.h b/include/mmc.h index fe63ed7..b8d6871 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -137,7 +137,7 @@ #define EXT_CSD_CARD_TYPE 196 /* RO */ #define EXT_CSD_REV 192 /* RO */ #define EXT_CSD_SEC_CNT 212 /* RO, 4 bytes */ -#define EXT_CSD_BOOT_INFO 228 /* RO */ +#define EXT_CSD_BOOT_SIZE_MULT 226 /* RO */ /* * EXT_CSD field definitions @@ -185,7 +185,6 @@ #define MMC_RSP_R6 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE) #define MMC_RSP_R7 (MMC_RSP_PRESENT|MMC_RSP_CRC|MMC_RSP_OPCODE) - struct mmc_cid { unsigned long psn; unsigned short oid; @@ -293,7 +292,7 @@ int mmc_read(struct mmc *mmc, u64 src, uchar *dst, int size); struct mmc *find_mmc_device(int dev_num); void print_mmc_devices(char separator); #ifdef CONFIG_BOOT_PARTITION_ACCESS -int mmc_switch_partition(struct mmc *mmc, uint part); +int mmc_switch_partition(struct mmc *mmc, uint part, uint enable_boot); int sd_switch_partition(struct mmc *mmc, uint part); #endif |