[U-Boot] [PATCH v2 3/7] drivers/twserial: Add protocol driver for "three wire serial" interface.

Anatolij Gustschin agust at denx.de
Fri Mar 27 11:02:01 CET 2009


Hi Detlev,

Detlev Zundel wrote:

> diff --git a/drivers/twserial/soft_tws.c b/drivers/twserial/soft_tws.c
> new file mode 100644
> index 0000000..f63fc3f
> --- /dev/null
> +++ b/drivers/twserial/soft_tws.c

<snip>

> +/*-----------------------------------------------------------------------
> + * Write bits
> + */
> +int tws_write(uchar *buffer, int len)
> +{
> +	int rem = len;
> +	uchar accu, shift;
> +	debug("tws_write: buffer %p len %d\n", buffer, len);

please, add blank line here.

Best regards,
Anatolij


More information about the U-Boot mailing list