From: Joris Offouga Date: Sat, 13 Apr 2019 18:51:54 +0200 Subject: [U-Boot] [PATCH] warp7: defconfig: Switch to DM for USB and SERIAL In-Reply-To: References: <1555166271-29847-1-git-send-email-pjtexier@koncepto.io> Message-ID: <8d868e4b-8c68-a2f3-05ea-69d0f3f72c92@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Hi Fabio, Le 13/04/2019 à 18:31, Fabio Estevam a écrit : > Hi Pierre-Jean, > > On Sat, Apr 13, 2019 at 11:38 AM Pierre-Jean Texier > wrote: > >> -int board_usb_phy_mode(int port) >> -{ >> - return USB_INIT_DEVICE; >> -} >> - > It seems that #include can also be removed now. > > I still see uart related code in the warp7.c board file. > > Can they also be removed? If we remove uart related code in warp7.c, the log of the u-boot appears late here is a log PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11 MMC:   FSL_SDHC: 1, FSL_SDHC: 0 Loading Environment from MMC... OK In:    serial at 30860000 Out:   serial at 30860000 Err:   serial at 30860000 SEC0: RNG instantiated Net:   usb_ether Hit any key to stop autoboot:  0 => > > Could #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR be removed from > include/configs/warp7.h? Yes it can be deleted Best Regards, Joris > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > https://lists.denx.de/listinfo/u-boot