[PATCH v2 23/26] gateworks: venice: Always define setup_fec and setup_eqos

Simon Glass sjg at chromium.org
Sun Feb 26 15:56:43 CET 2023


On Fri, 24 Feb 2023 at 11:11, Troy Kisky <troykiskyboundary at gmail.com> wrote:
>
> The compiler will optimize away base on IS_ENABLED(CONFIG_FEC_MXC).
> It avoids an error in converting to CONFIG_IS_ENABLED(NET).
>
> Signed-off-by: Troy Kisky <troykiskyboundary at gmail.com>
> ---
>
> Changes in v2:
> - Always define function instead of using same protection
>
>  board/gateworks/venice/venice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list