mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 11:13:07 +00:00
abb8fad097
The first dhcp command consistently fails with a timeout when the lion-rk3368 board is connected to a Zyxel GS1100-24E Gigabit Ethernet switch: ethernet@ff290000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! Increasing PHY_ANEG_TIMEOUT from the default 4000 to 8000 makes the first dhcp command work reliably. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
18 lines
433 B
C
18 lines
433 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
|
|
*/
|
|
|
|
#ifndef __CONFIGS_LION_RK3368_H
|
|
#define __CONFIGS_LION_RK3368_H
|
|
|
|
#include <configs/rk3368_common.h>
|
|
|
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
|
#define KERNEL_LOAD_ADDR 0x280000
|
|
#define DTB_LOAD_ADDR 0x5600000
|
|
#define INITRD_LOAD_ADDR 0x5bf0000
|
|
/* PHY needs longer aneg time at 1G */
|
|
#define PHY_ANEG_TIMEOUT 8000
|
|
|
|
#endif
|