[U-Boot] [PATCH v8 5/6] dm: phy: add PHY stub function
Simon Glass
sjg at chromium.org
Sun Aug 6 05:15:15 UTC 2017
Hi,
On 24 July 2017 at 03:44, <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> To avoid compilation breakage on platform that doesn't
> support DM PHY but uses xhci-dwc3 driver, add PHY stub
> functions.
>
> Cc: Ran Wang <ran.wang_1 at nxp.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> v8: _ add genric PHY stub functions to avoid compilation issue
> for platforms which uses xhci-dwc3 driver and doesn't support
> generic PHY framework
>
>
> include/generic-phy.h | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
It seems to me that these functions are not telling the truth by
returning 0. Should they not return -ENOSYS?
Also I saw some patches fora nop phy. Is that related?
Regards,
Simon
More information about the U-Boot
mailing list