dw_mmc.c (f89e0dd9d1a72fdf6b8958bcadfa6abf84f3cae0) | dw_mmc.c (cab3a8021bf0dc790071514a07b0b6f745b1814a) |
---|---|
1/* 2 * Synopsys DesignWare Multimedia Card Interface driver 3 * (Based on NXP driver for lpc 31xx) 4 * 5 * Copyright (C) 2009 NXP Semiconductors 6 * Copyright (C) 2009, 2010 Imagination Technologies Ltd. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 948 unchanged lines hidden (view full) --- 957 default: 958 /* set default 1 bit mode */ 959 slot->ctype = SDMMC_CTYPE_1BIT; 960 } 961 962 regs = mci_readl(slot->host, UHS_REG); 963 964 /* DDR mode set */ | 1/* 2 * Synopsys DesignWare Multimedia Card Interface driver 3 * (Based on NXP driver for lpc 31xx) 4 * 5 * Copyright (C) 2009 NXP Semiconductors 6 * Copyright (C) 2009, 2010 Imagination Technologies Ltd. 7 * 8 * This program is free software; you can redistribute it and/or modify --- 948 unchanged lines hidden (view full) --- 957 default: 958 /* set default 1 bit mode */ 959 slot->ctype = SDMMC_CTYPE_1BIT; 960 } 961 962 regs = mci_readl(slot->host, UHS_REG); 963 964 /* DDR mode set */ |
965 if (ios->timing == MMC_TIMING_UHS_DDR50) | 965 if (ios->timing == MMC_TIMING_MMC_DDR52) |
966 regs |= ((0x1 << slot->id) << 16); 967 else 968 regs &= ~((0x1 << slot->id) << 16); 969 970 mci_writel(slot->host, UHS_REG, regs); 971 slot->host->timing = ios->timing; 972 973 /* --- 1828 unchanged lines hidden --- | 966 regs |= ((0x1 << slot->id) << 16); 967 else 968 regs &= ~((0x1 << slot->id) << 16); 969 970 mci_writel(slot->host, UHS_REG, regs); 971 slot->host->timing = ios->timing; 972 973 /* --- 1828 unchanged lines hidden --- |