ax25: Switch to CONFIG_BOOTP_PREFER_SERVERIP
authorAlexander Graf <agraf@suse.de>
Fri, 15 Jun 2018 08:29:29 +0000 (10:29 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 2 Jul 2018 19:14:21 +0000 (14:14 -0500)
commita9ea30d267f26bee0b3a5cdd659624a866da3d19
treea4b51ec25699bc932717c69c6a2ce23a7034ce87
parentbdce340cc6a17efe1d980eda378c3b1984059362
ax25: Switch to CONFIG_BOOTP_PREFER_SERVERIP

The ax25-ae350 target currently uses CONFIG_BOOTP_SERVERIP which means we
ignore the DHCP provided TFTP ip address. This breaks every case where we
do now provide a serverip environment variable.

Instead, let's use the new CONFIG_BOOT_PREFER_SERVERIP option to fall back
to the DHCP provided TFTP IP if no serverip environment variable is set.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Rick Chen <rick@andestech.com>
configs/ax25-ae350_defconfig
include/configs/ax25-ae350.h