diff options
author | Yutang Jiang <yutang.jiang@nxp.com> | 2016-12-01 23:01:27 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-12 09:57:40 +0100 |
commit | d5fc7430ca293213dd4f1de7f52446c17d4def6a (patch) | |
tree | 4d884312e45871f219a0f1993c80299cc1cc61a6 /package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch | |
parent | b0ac825884e7bfe3f68385109df3234e37022c71 (diff) | |
download | mtk-20170518-d5fc7430ca293213dd4f1de7f52446c17d4def6a.zip mtk-20170518-d5fc7430ca293213dd4f1de7f52446c17d4def6a.tar.gz mtk-20170518-d5fc7430ca293213dd4f1de7f52446c17d4def6a.tar.bz2 |
layerscape: uboot-layerscape: prefer github over git.freescale.com
In order to prevent the impact of the merger of the company and the potential
rebase of the SDK repositories, migrate the u-boot source to github.
Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
Diffstat (limited to 'package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch')
-rw-r--r-- | package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch b/package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch deleted file mode 100644 index 9cc171c..0000000 --- a/package/boot/uboot-layerscape/patches/0033-mmc-fsl_esdhc-support-two-esdhc-host-controllers.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 2daf451df50209e7626c2bf424d50ff23055784a Mon Sep 17 00:00:00 2001 -From: Yangbo Lu <yangbo.lu@nxp.com> -Date: Wed, 18 May 2016 10:52:38 +0800 -Subject: [PATCH 33/93] mmc: fsl_esdhc: support two esdhc host controllers - -This patch is to support two esdhc host controllers with -the macro CONFIG_FSL_ESDHC_TWO_CONTROLLERS_SUPPORT. - -Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> ---- - drivers/mmc/fsl_esdhc.c | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c -index 7cc61a0..cacf879 100644 ---- a/drivers/mmc/fsl_esdhc.c -+++ b/drivers/mmc/fsl_esdhc.c -@@ -748,11 +748,26 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg) - int fsl_esdhc_mmc_init(bd_t *bis) - { - struct fsl_esdhc_cfg *cfg; -+#ifdef CONFIG_FSL_ESDHC_TWO_CONTROLLERS_SUPPORT -+ struct fsl_esdhc_cfg *cfg_1; -+#endif - - cfg = calloc(sizeof(struct fsl_esdhc_cfg), 1); - cfg->esdhc_base = CONFIG_SYS_FSL_ESDHC_ADDR; - cfg->sdhc_clk = gd->arch.sdhc_clk; -+#ifdef CONFIG_FSL_ESDHC_TWO_CONTROLLERS_SUPPORT -+ cfg_1 = calloc(sizeof(struct fsl_esdhc_cfg), 1); -+ cfg_1->esdhc_base = CONFIG_SYS_FSL_ESDHC_1_ADDR; -+ cfg_1->sdhc_clk = gd->arch.sdhc_clk; -+ -+ if (fsl_esdhc_initialize(bis, cfg)) -+ return -1; -+ if (fsl_esdhc_initialize(bis, cfg_1)) -+ return -1; -+ return 0; -+#else - return fsl_esdhc_initialize(bis, cfg); -+#endif - } - - #ifdef CONFIG_FSL_ESDHC_ADAPTER_IDENT --- -1.7.9.5 - |