]> git.sur5r.net Git - u-boot/commitdiff
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)
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

index fc04c87485978bff0cedf8772a943e5cef701a85..a328555af61f50b9ec991c8fd4f68c1c6e32cc39 100644 (file)
@@ -40,3 +40,4 @@ CONFIG_DM_SPI=y
 CONFIG_ATCSPI200_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATCPIT100_TIMER=y
+CONFIG_BOOTP_PREFER_SERVERIP=y
index b1ca5ac11a9f889fb544edd1f6ef83fa44b9eaf9..b230896734e0e151bf004d70c337aa87f609ebb5 100644 (file)
@@ -11,7 +11,6 @@
  * CPU and Board Configuration Options
  */
 #define CONFIG_BOOTP_SEND_HOSTNAME
-#define CONFIG_BOOTP_SERVERIP
 
 /*
  * Miscellaneous configurable options