summaryrefslogtreecommitdiff
path: root/include/fdt_decode.h
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2011-06-28 14:24:25 +0800
committerSimon Glass <sjg@chromium.org>2011-08-29 10:39:37 -0700
commited235b67483078c91197c052697f29ef33320965 (patch)
treea2744750971efc98f0db9ca0d08a7895c11e2105 /include/fdt_decode.h
parentf16daec4b76de5de17203b36d741b757c25cd12f (diff)
CHROMIUM: Define the tegra2 internal eMMC media as non-removable.
The general mmc register call (mmc_register) always sets MMC media as removable. We define the removable flag explicitly and set the internal eMMC media as non-removable. A new fdt field removable is also defined. BUG=chromium-os:16543 TEST=Only able to test compilation withour error. Detailed test should see: http://gerrit.chromium.org/gerrit/#change,2835 Change-Id: Ib8b1742f74c5a9e3fde3801e18c168d00fce47db Reviewed-on: http://gerrit.chromium.org/gerrit/2894 Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org> Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'include/fdt_decode.h')
-rw-r--r--include/fdt_decode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h
index a90a0a24c6..ce08cf34e3 100644
--- a/include/fdt_decode.h
+++ b/include/fdt_decode.h
@@ -159,6 +159,7 @@ struct fdt_usb {
struct fdt_sdmmc {
struct tegra2_mmc *reg; /* address of registers in physical memory */
int width; /* port width in bits (normally 4) */
+ int removable; /* 1 for removable device, 0 for fixed */
int enabled; /* 1 to enable, 0 to disable */
struct fdt_gpio_state cd_gpio; /* card detect GPIO */
struct fdt_gpio_state wp_gpio; /* write protect GPIO */