[U-Boot] [PATCH v4 4/4] usb: add USB support for Efika

Marek Vasut marek.vasut.n900 at gmail.com
Thu Sep 29 12:47:06 CEST 2011


> This commit adds USB support for EfikaMX and EfikaSB.
> 
> Signed-off-by: Jana Rapava <fermata7 at gmail.com>
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Remy Bohmer <linux at bohmer.net>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> Changes for v2:
>             - introduce temporary variable in ulpi_write
>             - whitespace changes
> Changes for v3:
>               - add protection against multiple inclusion of efika.h
> Changes for v4:
>     - rename multiple inclusion protection macro in efika.h
> 
>   board/efikamx/Makefile           |       3 +
>   board/efikamx/efika.h             |     33 ++++
>   board/efikamx/efikamx-usb.c |   423
> +++++++++++++++++++++++++++++++++++++++++++ board/efikamx/efikamx.c       
> |       3 + include/configs/efikamx.h     |     16 ++
>   5 files changed, 478 insertions(+), 0 deletions(-)
>   create mode 100644 board/efikamx/efika.h
>   create mode 100644 board/efikamx/efikamx-usb.c
>

Dear Jana Rapava, 

[...]

> +#ifndef __BOARD_EFIKAMX_EFIKA_H__
> +#define __BOARD_EFIKAMX_EFIKA_H__
> +
> +/*
> + * EHCI USB
> + */
> +#ifdef    CONFIG_CMD_USB
> +void setup_iomux_usb(void);
> +#else
> +static inline void setup_iomux_usb(void) { }
> +#endif

Is the ifndef actually unterminated? Did you even compile-test this?


More information about the U-Boot mailing list