Commit 0a785d9496673494c18b28f95552880dec4462bb

Authored by Eric Lee
1 parent db7df3733a

pcie would be failed to work proprly in kernel if pcie module is initialized bot…

…h in uboot and kernel. Comment out the pcie config in uboot to make kernel work properly.

Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff

board/embedian/smarcfimx6/smarcfimx6.c
... ... @@ -271,6 +271,7 @@
271 271 gpio_direction_input(IMX_GPIO_NR(1, 16));
272 272 gpio_direction_input(IMX_GPIO_NR(1, 17));
273 273 gpio_direction_input(IMX_GPIO_NR(1, 19));
  274 + gpio_direction_output(IMX_GPIO_NR(1,20), 0);
274 275 }
275 276  
276 277 iomux_v3_cfg_t const di0_pads[] = {
include/configs/smarcfimx6.h
... ... @@ -75,7 +75,8 @@
75 75 * Remove the mask freely, if the uboot pcie functions, rather than
76 76 * the kernel's, are required.
77 77 */
78   -#define CONFIG_CMD_PCI
  78 +/*#define CONFIG_CMD_PCI*/
  79 +#undef CONFIG_CMD_PCI
79 80 #ifdef CONFIG_CMD_PCI
80 81 #define CONFIG_PCI
81 82 #define CONFIG_PCI_PNP