[U-Boot] [PATCH] warp7: defconfig: Switch to DM for USB and SERIAL

Joris Offouga offougajoris at gmail.com
Sat Apr 13 16:51:54 UTC 2019


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
> <pjtexier at koncepto.io> wrote:
>
>> -int board_usb_phy_mode(int port)
>> -{
>> -       return USB_INIT_DEVICE;
>> -}
>> -
> It seems that #include <usb.h> 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


More information about the U-Boot mailing list