Re: [PATCH] sunxi: fix build when CONFIG_UART0_PORT_F is selected

2022-03-06 Thread Icenowy Zheng
在 2022-03-05星期六的 21:33 +,Andre Przywara写道: > On Sat,  5 Mar 2022 00:06:01 +0800 > Icenowy Zheng wrote: > > Hi Icenowy, > > > Currently CONFIG_UART0_PORT_F will forbid the build of sunxi-mmc > > driver, > > which leads calls to it in board/sunxi/board.c a undefined > > reference. > > > > Gua

Re: [PATCH] sunxi: fix build when CONFIG_UART0_PORT_F is selected

2022-03-05 Thread Andre Przywara
On Sat, 5 Mar 2022 00:06:01 +0800 Icenowy Zheng wrote: Hi Icenowy, > Currently CONFIG_UART0_PORT_F will forbid the build of sunxi-mmc driver, > which leads calls to it in board/sunxi/board.c a undefined reference. > > Guard that code in #ifndef to fix build. That's indeed a problem. > Signed