summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <r65037@freescale.com>2014-07-15 12:56:43 +0800
committerRichard Zhu <r65037@freescale.com>2014-07-17 15:06:02 +0800
commit30d6a9abccb9c5424fce9dec2085db0ac21579b1 (patch)
tree153143fb375b98f52bb47c997df557457e6cb0bb
parent4c144fcbcdc60329765b59ff79891e792aec59ad (diff)
downloadu-boot-imx-30d6a9abccb9c5424fce9dec2085db0ac21579b1.zip
u-boot-imx-30d6a9abccb9c5424fce9dec2085db0ac21579b1.tar.gz
u-boot-imx-30d6a9abccb9c5424fce9dec2085db0ac21579b1.tar.bz2
ENGR00323143 pcie:can't be enabled in both uboot and kernel
imx6 q/dl/solo pcie would be failed to work properly in kernel, if the pcie module is iniialized/enumerated both in uboot and linux kernel. rootcause:imx6 q/dl/solo pcie don't have the reset mechanism. it is only be RESET by the POR. So, the pcie module only be initialized/enumerated once in one POR. Set to use pcie in kernel defaultly, mask the pcie config here. Remove the mask freely, if the uboot pcie functions, rather than the kernel's, are required. Signed-off-by: Richard Zhu <r65037@freescale.com>
-rw-r--r--include/configs/mx6sabresd.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index ed85b84..9f3fae7 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -39,7 +39,18 @@
#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 9)<<8))
#endif
-#define CONFIG_CMD_PCI
+/*
+ * imx6 q/dl/solo pcie would be failed to work properly in kernel, if
+ * the pcie module is iniialized/enumerated both in uboot and linux
+ * kernel.
+ * rootcause:imx6 q/dl/solo pcie don't have the reset mechanism.
+ * it is only be RESET by the POR. So, the pcie module only be
+ * initialized/enumerated once in one POR.
+ * Set to use pcie in kernel defaultly, mask the pcie config here.
+ * Remove the mask freely, if the uboot pcie functions, rather than
+ * the kernel's, are required.
+ */
+/* #define CONFIG_CMD_PCI */
#ifdef CONFIG_CMD_PCI
#define CONFIG_PCI
#define CONFIG_PCI_PNP