Enable mtdparts for nor flash of some P1/P2 boards that include
p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc.
Signed-off-by: Xie Xiaobo x@freescale.com
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
include/configs/P1022DS.h
Enable these boards mtdparts for nor flash:
p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc.
Signed-off-by: Xie Xiaobo x@freescale.com
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
Changes for v2:
- changed commit message
Enable these boards mtdparts for nor flash:
p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc.
Signed-off-by: Xie Xiaobo x@freescale.com
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
Changes for v2
Enable these boards mtdparts for nor flash:
p1020rdb-pd, p1021rdb-pc, p1022ds, p1025twr, and p2020rdb-pc.
Signed-off-by: Xie Xiaobo x@freescale.com
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Scott Wood scottw...@freescale.com
---
Changes for v2
The SD clock could be generated by platform clock or peripheral
clock for some platforms. This patch adds peripheral clock
support for kernel for T1024/T1040/T2080. To enable it,
define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york
Add adapter card type identification support by reading
FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function,
define CONFIG_FSL_ESDHC_ADAPTER_IDENT.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
arch/powerpc/include/asm/global_data.h
Enable eSDHC adapter card type identification and this will do
some corresponding operations and set 'adapter-type' property
for device tree according SDHC Card ID.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
include/configs/T208xQDS.h | 1 +
1 file
Enable eSDHC peripheral clock support for kernel, and linux will
use SD clock generated by peripheral clock instead of platform
clock.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
include/configs/T208xQDS.h | 1 +
1 file changed, 1 insertion(+)
diff
Add adapter card type identification support by reading
FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function,
define CONFIG_FSL_ESDHC_ADAPTER_IDENT.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Pantelis Antoniou pa...@antoniou
Enable eSDHC peripheral clock support. u-boot and linux will
use SD clock generated by peripheral clock instead of platform
clock.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Pantelis Antoniou pa...@antoniou-consulting.com
---
Changes for v3
The SD clock could be generated by platform clock or peripheral
clock for some platforms. This patch adds peripheral clock
support for T1024/T1040/T2080. To enable it, define
CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Enable eSDHC adapter card type identification and this will do
some corresponding operations and set 'adapter-type' property
for device tree according SDHC Card ID.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Pantelis Antoniou pa...@antoniou
Enable eSDHC adapter card type identification and this will do
some corresponding operations and set 'adapter-type' property
for device tree according SDHC Card ID.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
include/configs/T208xQDS.h | 1 +
1 file
Add adapter card type identification support by reading
FPGA STAT_PRES1 register SDHC Card ID[0:2] bits. To use this function,
define CONFIG_FSL_ESDHC_ADAPTER_IDENT.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
Changes for v2:
- Document
Enable eSDHC peripheral clock support for kernel, and linux will
use SD clock generated by peripheral clock instead of platform
clock.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
include/configs/T208xQDS.h | 1 +
1 file changed, 1 insertion(+)
diff
The SD clock could be generated by platform clock or peripheral
clock for some platforms. This patch adds peripheral clock
support for kernel for T1024/T1040/T2080. To enable it,
define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york
Freescale eMMC44 adapter card uses Micron N2M400FDB311A3CF eMMC
memory. According to the silicon datasheet, secure erase timeout
is 600ms. So increase erase timeout value from 250ms to 600ms.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
drivers/mmc
It needs to flush D-cache before 'mmc read' so that
we can see the right data in DDR. And fix parameter
for invalidate_dcache_range() after 'mmc read'.
Signed-off-by: Yangbo Lu yangbo...@freescale.com
Cc: York Sun york...@freescale.com
---
drivers/mmc/fsl_esdhc.c | 21 +++--
1
Signed-off-by: Yangbo Lu yangbo...@freescale.com
---
include/configs/ls2085a_simu.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/ls2085a_simu.h b/include/configs/ls2085a_simu.h
index d0d2eed..bd15b3d 100644
--- a/include/configs/ls2085a_simu.h
+++ b/include
Fill the right command type when using CMD12 to stop data transfer.
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
---
drivers/mmc/fsl_esdhc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index 0b37002..69c0728
When detecting SDHC Adapter Card Type 2(SD/MMC Legacy Adapter Card), enable EVDD
automatic control via SDHC_VS. This could support SD card IO voltage switching
for UHS-1 speed mode.
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
---
board/freescale/common/qixis.h | 3 +++
drive
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
---
include/configs/T1040QDS.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index a0390a8..8353b8f 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@
If adapter card type identification is supported for platform, we would
enable dat[4:7] for eMMC4.5 Adapter Card.
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
---
Changes for v2:
- Modified the commit message
- Added a patch enabling EVDD automatic control
---
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
---
include/configs/T1040QDS.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 8353b8f..92bc295 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
Cc: York Sun <york...@freescale.com>
---
include/configs/T1040QDS.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index a0390a8..8353b8f 100644
--- a/include/configs/T104
If adapter card type identification is supported for platform, we would
enable dat[4:7] for eMMC4.5 card.
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
Cc: York Sun <york...@freescale.com>
---
board/freescale/common/qixis.h | 2 ++
drivers/mmc/fsl_esdhc.c| 3 +++
2 file
Signed-off-by: Yangbo Lu <yangbo...@freescale.com>
Cc: York Sun <york...@freescale.com>
---
include/configs/T1040QDS.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 8353b8f..92bc295 100644
--- a/include/configs/T104
The MMC spec says "It is strongly recommended for hosts to implement
more than 500ms timeout value even if the card indicates the 250ms
maximum busy length." Even the previous value of 300ms is known to
be insufficient for some cards. So, increase the timeout to 500ms.
Signed-off-by:
> -Original Message-
> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Friday, January 15, 2016 2:09 AM
> To: york sun
> Cc: Andy Fleming; Yangbo Lu; U-Boot list
> Subject: Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on
> T4080
>
> On Thu,
> -Original Message-
> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Friday, January 15, 2016 2:09 AM
> To: york sun
> Cc: Andy Fleming; Yangbo Lu; U-Boot list
> Subject: Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on
> T4080
>
> On Thu,
The patch that enabled eSDHC peripheral clock support had an
obvious error as below. This patch is used to fix it.
+#define define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK
Fixes: 3285e6cbcc1b ("powerpc/t2080qds: enable eSDHC peripheral clock support")
Signed-off-by: Yangbo Lu <yang
> -Original Message-
> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Tuesday, January 19, 2016 11:59 PM
> To: Yangbo Lu
> Cc: york sun; Andy Fleming; U-Boot list
> Subject: Re: [U-Boot] [v2] mmc: fsl_esdhc: fix mmc read/write error on
> T4080
>
> On Mon,
According to SD spec, CMD12, CMD52 for writing I/O abort in CCCR need
to be set an Abort command type when they are sent. So, we remove all
chip-specific #ifdefs and make it available for all platforms.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Remov
The eSDHC could select to use platform clock or peripheral clock to
generate SD clock. The default selection is platform clock. So, fix
the clock frequency value that's calculated for eSDHC.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed
> -Original Message-
> From: york sun
> Sent: Tuesday, March 08, 2016 3:07 AM
> To: Yangbo Lu; u-boot@lists.denx.de
> Subject: Re: [PATCH] armv8/fsl-lsch2: fix sdhc clock frequency value
>
> On 02/15/2016 07:03 PM, Yangbo Lu wrote:
> > The eSDHC could s
MTFC4GACAECN eMMC chip.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/mmc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index ede5d6e..82e3268 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -418,6 +418,9 @@ stat
For CMD with busy response, the eSDHC driver would poll DAT0 until
CMD completion rather than polling IRQSTAT. So, don't set
XFERTYP_RSPTYP_48_BUSY to avoid interrupts (DTOE or TC) in IRQSTAT.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/fsl_esdhc.c | 12 ++--
The STOP command should be sent to stop data transfer when the
READ/WRITE commands fail. Otherwise, any subsequent command will
fail to be sent.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/mmc.c | 28 +++-
drivers/mmc/mmc_private.h | 1 +
d
For data transfer with Auto CMD12, the host will not send an Auto
CMD12 to stop when the transfer fails. So this patch adds a flag
to indicate the READ/WRITE command error, and makes the driver
continue to send a CMD12 manually.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drive
in eSDHC
driver. This patch is to add workaround for the 2nd issue, and the
fixup platforms include PowerPC(P1010/P2020/P5020/P5040/T1024/T1040/
T2080/T4240) and ARM(LS1021A/LS1043A/LS2080A).
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
arch/powerpc/include/asm/config_mpc85xx.
In function check_and_invalidate_dcache_range(), there are incorrect
start address and end address of the dcache range calculated for
Layerscape platforms. This patch is to fix this issue.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/fsl_esdhc.c | 9 -
1 file chan
Any comments?
Thanks.
Best regards,
Yangbo Lu
> -Original Message-
> From: Yangbo Lu [mailto:yangbo...@nxp.com]
> Sent: Wednesday, March 09, 2016 11:00 AM
> To: u-boot@lists.denx.de
> Cc: Pantelis Antoniou; Yangbo Lu
> Subject: [PATCH] mmc: send CMD0 before CMD1
> -Original Message-
> From: york sun
> Sent: Tuesday, July 26, 2016 1:38 AM
> To: Yangbo Lu; u-boot@lists.denx.de
> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620
>
> On 05/20/2016 03:20 AM, Yangbo Lu wrote:
> > Erratum Title:
> &g
> -Original Message-
> From: york sun
> Sent: Wednesday, July 27, 2016 10:48 PM
> To: Yangbo Lu; u-boot@lists.denx.de
> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620
>
> On 07/27/2016 12:10 AM, Yangbo Lu wrote:
> >> -Original Me
Hi Jaehoon,
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Thursday, July 28, 2016 1:01 PM
> To: Yangbo Lu; york sun; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum
> A009620
>
>
Hi Jaehoon,
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Wednesday, July 27, 2016 7:21 PM
> To: Yangbo Lu; york sun; u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum
> A009620
>
>
,
Yangbo Lu
> -Original Message-
> From: Yangbo Lu [mailto:yangbo...@nxp.com]
> Sent: Wednesday, March 09, 2016 11:00 AM
> To: u-boot@lists.denx.de
> Cc: Pantelis Antoniou; Yangbo Lu
> Subject: [PATCH] mmc: send CMD0 before CMD1 for some MMC cards
>
> When the MMC
Hi Ziyuan and Jaehoon,
> -Original Message-
> From: Ziyuan Xu [mailto:xzy...@rock-chips.com]
> Sent: Wednesday, July 27, 2016 9:37 PM
> To: Jaehoon Chung; Yangbo Lu; u-boot@lists.denx.de; Tom Rini
> Cc: Pantelis Antoniou
> Subject: Re: [U-Boot] [PATCH] mmc: send CMD0 be
For data transfer with Auto CMD12, the host will not send an Auto
CMD12 to stop when the transfer fails. So this patch adds a flag
to indicate the READ/WRITE command error, and makes the driver
continue to send a CMD12 manually.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes
For CMD with busy response, the eSDHC driver would poll DAT0 until
CMD completion rather than polling IRQSTAT. So, don't set
XFERTYP_RSPTYP_48_BUSY to avoid interrupts (DTOE or TC) in IRQSTAT.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- None
---
drive
in eSDHC
driver. This patch is to add workaround for the 2nd issue.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Split original patch into config part and mmc part
---
drivers/mmc/fsl_esdhc.c | 26 ++
include/fsl_esdhc.h | 1 +
2
The STOP command should be sent to stop data transfer when the
READ/WRITE commands fail. Otherwise, any subsequent command will
fail to be sent.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- None
---
drivers/mmc/mmc.c
This patch is to enable workaround for eSDHC erratum A009620. All the
affected platforms include PowerPC(P1010/P2020/P5020/P5040/T1024/T1040/
T2080/T4240) and ARM(LS1021A/LS1043A/LS2080A).
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Added this patch
-
Hi Jaehoon,
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Thursday, July 28, 2016 4:40 PM
> To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini
> Cc: Pantelis Antoniou
> Subject: Re: [U-Boot] [PATCH] mmc: send CMD0 before
Thank you, Jaehoon.
So I will send the new version later :)
Best regards,
Yangbo Lu
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Tuesday, August 02, 2016 3:13 PM
> To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini
> Cc: Pa
Hi Jaehoon,
Sure. And appreciate your good help :)
Best regards,
Yangbo Lu
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Tuesday, August 09, 2016 7:06 AM
> To: Yangbo Lu; u-boot@lists.denx.de
> Subject: Re: [v2] mmc: send CMD0 befor
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Tuesday, August 02, 2016 3:18 PM
> To: Yangbo Lu; Ziyuan Xu; u-boot@lists.denx.de; Tom Rini
> Cc: Pantelis Antoniou
> Subject: Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC
MTFC4GACAECN eMMC chip.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/mmc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index f8e5f7a..d4e96bc 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -422,6 +422,9 @@ stat
;mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
This patch is to define esdhc_status_fixup function for QDS to
disable SDHC2 status if no eMMC adapter card is detected.
Signed-off-by
ction for RDB to disable
SDHC2 status if no SDIO wifi or eMMC is selected.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Added this patch
Changes for v3:
- Fixed checkpatch issue
Changes for v4:
- Removed incorrect comments in code
---
board/fr
Move fdt fixup of 'status' property into a weak function. This allows
board to define 'status' fdt fixup by themselves.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- None
Changes for v3:
- None
Changes for v4:
- None
---
drivers/mmc/fsl_esdhc.
remove the SYSCLK frequency fixup for ls1012a.
Fixes: 6f14e25 ("armv8: fsl-lsch3: fixup SYSCLK frequency in device tree")
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/cpu/armv
Enable driver model for eSDHC on ls1012a rdb and qds boards.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
configs/ls1012aqds_qspi_defconfig | 3 +++
configs/ls1012ardb_qspi_defconfig | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/ls1012aqds_qspi_defconfig
b/c
This patch is to add 'fsl,esdhc' into of_match table to support
driver model for QorIQ eSDHC.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/fsl_esdhc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
index da3a151..0
it and they just check register for
CD/WP status, only some boards of i.MX platform require this.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/fsl_esdhc.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c
This patch is to add eSDHC nodes for ls1012a.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
arch/arm/dts/fsl-ls1012a.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi
index 024527e..f8b341d
eased inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
This patch is to define esdhc_status_fixup function to disable eSDHC2
status if no eMMC adapter card is detected.
Signed-off-by: Yangbo Lu <yangbo
Move fdt fixup of 'status' property into a weak function. This allows
board to define 'status' fdt fixup by themselves.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
drivers/mmc/fsl_esdhc.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/drive
ction for RDB to disable
SDHC2 status if no SDIO wifi or eMMC is selected.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Added this patch
Changes for v3:
- Fixed checkpatch issue
---
board/freescale/ls1012ardb/ls1012ardb.c | 39
Move fdt fixup of 'status' property into a weak function. This allows
board to define 'status' fdt fixup by themselves.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- None
Changes for v3:
- None
---
drivers/mmc/fsl_esdhc.c | 21 ++---
ction for RDB to disable
SDHC2 status if no SDIO wifi or eMMC is selected.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Added this patch
---
board/freescale/ls1012ardb/ls1012ardb.c | 39 +
1 file changed, 39 insertions(+)
dif
;mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
This patch is to define esdhc_status_fixup function for QDS to
disable SDHC2 status if no eMMC adapter card is detected.
Signed-off-by
;mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
"mmc1: Controller never released inhibit bit(s)."
This patch is to define esdhc_status_fixup function for QDS to
disable SDHC2 status if no eMMC adapter card is detected.
Signed-off-by
Move fdt fixup of 'status' property into a weak function. This allows
board to define 'status' fdt fixup by themselves.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- None
---
drivers/mmc/fsl_esdhc.c | 21 ++---
1 file changed, 14 insertions
Current sysclk fixing would fix all clocks with 'fixed-clock' compatible.
This patch is to fix sysclk by path to avoid any incorrect fixing.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Current u-boot disables IFC support for SD boot on all ls1043a
boards. Actually IFC only conflicts with QSPI on ls1043a hardware.
Only when QSPI is used, IFC should be disabled. Otherwise,
the u-boot with ls1043aqds_sdcard_ifc_defconfig would not work.
Signed-off-by: Yangbo Lu <yangbo...@nxp.
PPA loading during SPL stage is not required for nornal
SD boot scenario.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
configs/ls1046ardb_sdcard_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/ls1046ardb_sdcard_defconfig
b/configs/ls1046ardb_sdcard_defconfig
PPA loading during SPL stage is not required for nornal
SD boot scenario.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
configs/ls1043ardb_sdcard_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/ls1043ardb_sdcard_defconfig
b/configs/ls1043ardb_sdcard_defconfig
SD boot couldn't work with ls1043aqds_sdcard_ifc_defconfig since
IFC in SPL is disabled. This patch is to fix this issue.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
include/configs/ls1043a_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/c
For LS1012ARDB RevD and later versions, the I2C reading for DIP
switch setting had been no longer reliable since the board was
reworked. This patch is to add hwconfig support to enable/disable
eSDHC1 manually.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
board/freescale/ls10
hotplug, or SD sleep
waking up in kernel. This patch is to support force SDHC mode
by hwconfig.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
board/freescale/ls1088a/ls1088a.c | 18 ++
board/freescale/ls1088a/ls1088a_qixis.h | 6 ++
include/configs/ls1088
For LS1012ARDB RevD and later versions, the I2C reading for DIP
switch setting had been no longer reliable since the board was
reworked. This patch is to add hwconfig support to enable/disable
eSDHC1 manually.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Jus
This patch is to clean up definitions for I2C IO expanders.
The value 0x10 of __SW_BOOT_EMU is wrong. It should be 0x2.
Fixed it in this patch.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v4:
- Added this patch.
---
board/freescale/ls1012ardb/ls1012ardb.
-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v2:
- Just used hwconfig() instead of getenv() and hwconfig_f().
Changes for v3:
- only applied hwconfig support for RevD and later versions.
Changes for v4:
- Modified commit message.
- reused io va
Add LS1012ARDB RevC/RevC1/RevC2/RevD/RevE information and
detect it when u-boot starts up.
Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
---
Changes for v4:
- Added this patch.
---
board/freescale/ls1012ardb/ls1012ardb.c | 26 +++---
include/configs/ls1012
For LS1012ARDB RevD and later versions, the I2C reading for DIP
switch setting had been no longer reliable since the board was
reworked. This patch is to add hwconfig support to enable/disable
eSDHC1 manually for these boards. Also let kernel decide status
of esdhc0.
Signed-off-by: Yangbo Lu
Dropped useless code for i.MX eSDHC driver.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
---
Changes for v2:
- Added this patch.
Changes for v3:
- None.
Changes for v4:
- Dropped PPC code introduced recently.
Changes for v5
fsl_esdhc_imx, and clean up the two drivers separately in the
future patches.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
---
Changes for v2:
- None.
Changes for v3:
- None.
Changes for v4:
- Used "Enhanced Secure Digital Host"
Moved CONFIG_FSL_ESDHC from header files to defconfig files.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Acked-by: Jason Liu
---
Changes for v2:
- Rebased.
Changes for v3:
- Rebased.
Changes for v4:
- Added
Dropped i.MX code which couldn't be reused.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Acked-by: Peng Fan
---
Changes for v2:
- Added this patch.
Changes for v3:
- Rebased.
Changes for v4:
- Rebased.
- Added Tested-by/Acked-by.
Changes for v5
for fsl_esdhc_imx. Let i.MX eSDHC owner do futhur
cleaning up.
Yangbo Lu (5):
Move CONFIG_FSL_ESDHC to defconfig
mmc: split fsl_esdhc driver for i.MX
Convert to use fsl_esdhc_imx for i.MX platforms
mmc: fsl_esdhc: drop i.MX code
mmc: fsl_esdhc_imx: drop useless code
arch/arm/cpu/arm1136/mx35
fsl_esdhc_imx, and clean up the two drivers separately in the
future patches.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
---
Changes for v2:
- None.
Changes for v3:
- None.
Changes for v4:
- Used "Enhanced Secure Digital Host"
Moved CONFIG_FSL_ESDHC from header files to defconfig files.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Acked-by: Jason Liu
---
Changes for v2:
- Rebased.
Changes for v3:
- Rebased.
Changes for v4:
- Added
for fsl_esdhc_imx. Let i.MX eSDHC owner do futhur
cleaning up.
---
Changes for v6:
- Rebased.
- Applied to two new i.MX boards phycore_pcl063_ull/pico-imx7d_bl33.
Yangbo Lu (5):
Move CONFIG_FSL_ESDHC to defconfig
mmc: split fsl_esdhc driver for i.MX
Convert to use fsl_esdhc_imx
Dropped i.MX code which couldn't be reused.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Acked-by: Peng Fan
---
Changes for v2:
- Added this patch.
Changes for v3:
- Rebased.
Changes for v4:
- Rebased.
- Added Tested-by/Acked-by.
Changes for v5
Dropped useless code for i.MX eSDHC driver.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
---
Changes for v2:
- Added this patch.
Changes for v3:
- None.
Changes for v4:
- Dropped PPC code introduced recently.
Changes for v5
Dropped i.MX code which couldn't be reused.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Acked-by: Peng Fan
Reviewed-by: Martyn Welch
---
Changes for v2:
- Added this patch.
Changes for v3:
- Rebased.
Changes for v4:
- Rebased.
- Added Tested-by/Acked
for fsl_esdhc_imx. Let i.MX eSDHC owner do futhur
cleaning up.
---
Changes for v6:
- Rebased.
- Applied to two new i.MX boards phycore_pcl063_ull/pico-imx7d_bl33.
Changes for v7:
- Rebased on https://gitlab.denx.de/u-boot/u-boot.git.
- Added Reviewed-by.
Yangbo Lu (5
Moved CONFIG_FSL_ESDHC from header files to defconfig files.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Reviewed-by: Martyn Welch
Acked-by: Jason Liu
---
Changes for v2:
- Rebased.
Changes for v3:
- Rebased
Dropped useless code for i.MX eSDHC driver.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Martyn Welch
Reviewed-by: Lukasz Majewski
---
Changes for v2:
- Added this patch.
Changes for v3:
- None.
Changes for v4:
- Dropped
1 - 100 of 226 matches
Mail list logo