[U-Boot] [PATCH] kirkwood: define empty CONFIG_MVGBE_PORTS by default

Stefan Roese sr at denx.de
Wed Jul 2 15:26:02 CEST 2014


On 02.07.2014 02:17, Luka Perkov wrote:
> Each board with defines it's own set of values. If we do not define
> CONFIG_MVGBE_PORTS we will hit following error:
>
> mvgbe.c: In function 'mvgbe_initialize':
> mvgbe.c:700:34: error: 'CONFIG_MVGBE_PORTS' undeclared (first use in this function)
>    u8 used_ports[MAX_MVGBE_DEVS] = CONFIG_MVGBE_PORTS;
>
> This patch fixes above described problem.
>
> Signed-off-by: Luka Perkov <luka at openwrt.org>
> CC: Prafulla Wadaskar <prafulla at marvell.com>
> CC: Stefan Roese <sr at denx.de>

Acked-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan



More information about the U-Boot mailing list