diff options
author | Gary King <gking@nvidia.com> | 2010-05-20 21:24:43 -0700 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-05-21 19:34:57 -0700 |
commit | 303b737304f4d57cfc9f7f9f25ac6f78a23863bf (patch) | |
tree | 03d051bfce43fa092b82a5d6cde65534ecd3ae04 /include/linux | |
parent | 74ca02c6b6f74770e1170d84cbb191e3874315de (diff) |
mmc: Add CONFIG_EMBEDDED_MMC_START_OFFSET configuration
enables platforms to specify a non-zero offset for the MBR and kernel-visible
file systems, for embedded systems which store proprietary data at the start
of the eMMC device.
Change-Id: Id58abaffddda7d7aeded8573f4aba6cc0c903a24
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mmc/host.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index c3b88ff5654f..31450dc27a43 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -107,6 +107,9 @@ struct mmc_host_ops { int (*get_cd)(struct mmc_host *host); void (*enable_sdio_irq)(struct mmc_host *host, int enable); +#ifdef CONFIG_EMBEDDED_MMC_START_OFFSET + unsigned int (*get_host_offset)(struct mmc_host *host); +#endif }; struct mmc_card; |