public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ls102xa: fdt: Disable IFC in SD boot for QSPI
@ 2015-10-28  2:40 Alison Wang
  2015-10-30 16:13 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Alison Wang @ 2015-10-28  2:40 UTC (permalink / raw)
  To: u-boot

As QSPI/DSPI and IFC are pin multiplexed, IFC is disabled
in SD boot for QSPI. This patch will add fdt support for
this rule.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
---
 arch/arm/cpu/armv7/ls102xa/fdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/ls102xa/fdt.c b/arch/arm/cpu/armv7/ls102xa/fdt.c
index e01d911..856abed 100644
--- a/arch/arm/cpu/armv7/ls102xa/fdt.c
+++ b/arch/arm/cpu/armv7/ls102xa/fdt.c
@@ -171,7 +171,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
 	do_fixup_by_compat_u32(blob, "fsl, ls1021a-flexcan",
 			       "clock-frequency", busclk / 2, 1);
 
-#ifdef CONFIG_QSPI_BOOT
+#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
 	off = fdt_node_offset_by_compat_reg(blob, FSL_IFC_COMPAT,
 					    CONFIG_SYS_IFC_ADDR);
 	fdt_set_node_status(blob, off, FDT_STATUS_DISABLED, 0);
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ls102xa: fdt: Disable IFC in SD boot for QSPI
  2015-10-28  2:40 [U-Boot] [PATCH] ls102xa: fdt: Disable IFC in SD boot for QSPI Alison Wang
@ 2015-10-30 16:13 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2015-10-30 16:13 UTC (permalink / raw)
  To: u-boot



On 10/27/2015 07:40 PM, Alison Wang wrote:
> As QSPI/DSPI and IFC are pin multiplexed, IFC is disabled
> in SD boot for QSPI. This patch will add fdt support for
> this rule.
> 
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---


Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-30 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28  2:40 [U-Boot] [PATCH] ls102xa: fdt: Disable IFC in SD boot for QSPI Alison Wang
2015-10-30 16:13 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox