[U-Boot] [PATCH v3 2/2] m68k: add DM model serial driver

Angelo Dureghello angelo at sysam.it
Tue Apr 26 11:03:13 CEST 2016


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.

thanks,

regards,
Angelo Dureghello


On 25/04/2016 23:54, Simon Glass wrote:
> Hi Angelo,
>
> On 24 April 2016 at 16:20, Angelo Dureghello <angelo at sysam.it> wrote:
>> Boards can now use DM serial driver, or still legacy mcf uart
>> driver version.
>>
>> Signed-off-by: Angelo Dureghello <angelo at sysam.it>
>> ---
>> 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 <dm/platform_data/serial_coldfire.h>
> +                                              ^
> +compilation terminated.
> +make[2]: *** [drivers/serial/mcfuart.o] Error 1
> +make[1]: *** [drivers/serial] Error 2
>
> Regards,
> Simon
>


More information about the U-Boot mailing list