From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Wed, 27 Apr 2016 22:02:01 +0200 Subject: [U-Boot] [PATCH v3 2/2] m68k: add DM model serial driver In-Reply-To: References: <1461536423-14782-1-git-send-email-angelo@sysam.it> <571F2ED1.9060000@sysam.it> Message-ID: <57211AB9.2030309@sysam.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, sent v4. Tested - legacy serial driver and DM serial driver in mcf5307 "amcore" board - buildman, pass all boards - checkpatch Regards, angelo On 26/04/2016 17:26, Simon Glass wrote: > Hi Angelo, > > On 26 April 2016 at 03:03, Angelo Dureghello wrote: >> >> Hi Simon, >> >> i realized this patch (v3) is invalid, due to my tests done with "CONFIG_DM_SRIAL" (missing 'A'), so was using the legacy driver still. >> >> Also, i found a small issue in start.S files. >> >> I send v4 asap later. > > OK, thank you. I'll look out for it. > > Regards, > Simon > >> >> thanks, >> >> regards, >> Angelo Dureghello >> >> >> >> On 25/04/2016 23:54, Simon Glass wrote: >>> >>> Hi Angelo, >>> >>> On 24 April 2016 at 16:20, Angelo Dureghello wrote: >>>> >>>> Boards can now use DM serial driver, or still legacy mcf uart >>>> driver version. >>>> >>>> Signed-off-by: Angelo Dureghello >>>> --- >>>> Changes for v2: >>>> - remove while loops in putc and getc, replacing with return -EAGAIN >>>> - remove unneeded ifdef >>>> Changes for v3: >>>> - no changes >>>> --- >>>> drivers/serial/mcfuart.c | 188 ++++++++++++++++++++++++++++++++++++----------- >>>> 1 file changed, 144 insertions(+), 44 deletions(-) >>>> >>> >>> Missing file? >>> >>> 02: dm: gpio: pca953x: introduce driver model support for pca953x >>> 03: m68k: add malloc memory for early malloc >>> 04: m68k: add DM model serial driver >>> m68k: + M5329AFEE M5249EVB M5208EVBE M5475FFE M54451EVB >>> astro_mcf5373l M54418TWR_serial_rmii M54455EVB_intel amcore M5282EVB >>> M54455EVB_i66 M54455EVB_a66 M5475GFE M5485GFE M5253DEMO >>> M54455EVB_stm33 M5475AFE M54455EVB M5485BFE M5329BFEE M52277EVB >>> M5475EFE M54418TWR_nand_mii M5475CFE cobra5272 M5485AFE M5485HFE >>> M54418TWR_nand_rmii_lowfreq M5485DFE M5475DFE M5275EVB M54418TWR >>> M52277EVB_stmicro eb_cpu5282 eb_cpu5282_internal M53017EVB M5485CFE >>> M5475BFE M5485EFE M5253EVBE M5485FFE M5235EVB_Flash32 M5373EVB >>> M54418TWR_nand_rmii M54418TWR_serial_mii M5235EVB M54451EVB_stmicro >>> M5272C3 >>> +../drivers/serial/mcfuart.c:18:46: fatal error: >>> dm/platform_data/serial_coldfire.h: No such file or directory >>> + #include >>> + ^ >>> +compilation terminated. >>> +make[2]: *** [drivers/serial/mcfuart.o] Error 1 >>> +make[1]: *** [drivers/serial] Error 2 >>> >>> Regards, >>> Simon >>>