diff options
author | Tom Rini <trini@ti.com> | 2014-02-17 14:16:08 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-17 14:16:08 -0500 |
commit | 18c83588bc830dbad5a96ca19a85184da58f4d09 (patch) | |
tree | 6c6828f97876aa9974f29d2c8f5f248b8188a172 /include/mmc.h | |
parent | 22a240c32c1340183fce12867ae5f8736b92a638 (diff) | |
parent | b818d9ab8d96471c40ccbd4541a46dfa415eda73 (diff) | |
download | u-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.zip u-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.tar.gz u-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/mmc.h b/include/mmc.h index e1060b9..e95a237 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -187,6 +187,9 @@ #define EXT_CSD_BOOT_PART_NUM(x) (x << 3) #define EXT_CSD_PARTITION_ACCESS(x) (x << 0) +#define EXT_CSD_BOOT_BUS_WIDTH_MODE(x) (x << 3) +#define EXT_CSD_BOOT_BUS_WIDTH_RESET(x) (x << 2) +#define EXT_CSD_BOOT_BUS_WIDTH_WIDTH(x) (x) #define R1_ILLEGAL_COMMAND (1 << 22) #define R1_APP_CMD (1 << 5) @@ -310,8 +313,10 @@ int mmc_set_dsr(struct mmc *mmc, u16 val); /* Function to change the size of boot partition and rpmb partitions */ int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize, unsigned long rpmbsize); -/* Function to send commands to open/close the specified boot partition */ -int mmc_boot_part_access(struct mmc *mmc, u8 ack, u8 part_num, u8 access); +/* Function to modify the PARTITION_CONFIG field of EXT_CSD */ +int mmc_set_part_conf(struct mmc *mmc, u8 ack, u8 part_num, u8 access); +/* Function to modify the BOOT_BUS_WIDTH field of EXT_CSD */ +int mmc_set_boot_bus_width(struct mmc *mmc, u8 width, u8 reset, u8 mode); /** * Start device initialization and return immediately; it does not block on |