瀏覽代碼

E230R去掉无需加载的模块

luyuan_t440 3 年之前
父節點
當前提交
518e96fa8b

+ 2 - 2
linux/arch/arm/configs/ark1668e_devb_emmc_defconfig

@@ -223,8 +223,8 @@ CONFIG_SND_SIMPLE_CARD=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_UAS=y
-CONFIG_USB_MUSB_HDRC=y
-CONFIG_USB_MUSB_ARKMICRO=y
+CONFIG_USB_MUSB_HDRC=m
+CONFIG_USB_MUSB_ARKMICRO=m
 CONFIG_USB_INVENTRA_DMA=y
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_GADGET=y

+ 1 - 1
u-boot/arch/arm/dts/ark1668e_devb_emmc.dts

@@ -12,7 +12,7 @@
 	interrupt-parent = <&gic>;
 
 	chosen {
-		bootargs = "console=ttyS0,115200 earlyprintk loglevel=8 clk_ignore_unused";
+		bootargs = "console=ttyS0,115200 earlyprintk loglevel=3 clk_ignore_unused";
 		stdout-path = "serial0:115200n8";
 	};
 

+ 0 - 5
u-boot/board/arkmicro/ark1668e_devb_emmc/ark1668e_devb_emmc.c

@@ -662,15 +662,10 @@ int board_late_init(void)
 	usb_controller_reset();
 	musb_register(&musb_platform_data, NULL, (void *)MUSB_BASE);
 #endif
-	arke_gpio_direction_output(21,0);
-        arke_gpio_direction_output(23,1);
-        arke_gpio_direction_output(22,1);
 
         arke_gpio_direction_output(190,0);
 
         mdelay(50);
-        arke_gpio_direction_output(21,1);
-        mdelay(100);
 	update_from_ota = env_get("update_from_ota");	
     printf("update_from_ota %s\n",update_from_ota);
  	need_update = env_get("need_update");