]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Tegra30: mmc: Add Tegra30 SDMMC compatible entry to fdtdec & driver
authorTom Warren <twarren@nvidia.com>
Mon, 4 Mar 2013 21:07:18 +0000 (14:07 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:44 +0000 (11:06 -0700)
Tegra30 SD/MMC controller differs enough from Tegra20 that it
needs its own entry in the compat_names/compat_id tables and in
the Tegra MMC driver.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
include/fdtdec.h
lib/fdtdec.c

index 32730d2063cba0a2a70e5c882733f25a33177609..21894835d1b4c9414313ad3243d1142d3a26cab1 100644 (file)
@@ -71,7 +71,8 @@ enum fdt_compat_id {
        COMPAT_NVIDIA_TEGRA20_NAND,     /* Tegra2 NAND controller */
        COMPAT_NVIDIA_TEGRA20_PWM,      /* Tegra 2 PWM controller */
        COMPAT_NVIDIA_TEGRA20_DC,       /* Tegra 2 Display controller */
-       COMPAT_NVIDIA_TEGRA20_SDMMC,    /* Tegra SDMMC controller */
+       COMPAT_NVIDIA_TEGRA30_SDMMC,    /* Tegra30 SDMMC controller */
+       COMPAT_NVIDIA_TEGRA20_SDMMC,    /* Tegra20 SDMMC controller */
        COMPAT_NVIDIA_TEGRA20_SFLASH,   /* Tegra 2 SPI flash controller */
        COMPAT_NVIDIA_TEGRA20_SLINK,    /* Tegra 2 SPI SLINK controller */
        COMPAT_SMSC_LAN9215,            /* SMSC 10/100 Ethernet LAN9215 */
index 000130f932412f139f3ab720cec5351b79d5240d..43f29f5c6b40992fbc2087a80053a74262149452 100644 (file)
@@ -46,6 +46,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
        COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"),
        COMPAT(NVIDIA_TEGRA20_PWM, "nvidia,tegra20-pwm"),
        COMPAT(NVIDIA_TEGRA20_DC, "nvidia,tegra20-dc"),
+       COMPAT(NVIDIA_TEGRA30_SDMMC, "nvidia,tegra30-sdhci"),
        COMPAT(NVIDIA_TEGRA20_SDMMC, "nvidia,tegra20-sdhci"),
        COMPAT(NVIDIA_TEGRA20_SFLASH, "nvidia,tegra20-sflash"),
        COMPAT(NVIDIA_TEGRA20_SLINK, "nvidia,tegra20-slink"),