From 1ef156c6720aff7597a6ddce9731b8683c94aea2 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Thu, 20 Mar 2014 17:45:55 +0100 Subject: [PATCH] Different IP addresses for Dragino 2 --- u-boot/include/configs/ap121.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index 5c434d6..52282fd 100755 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -100,8 +100,16 @@ #define CONFIG_BOOTCOMMAND "bootm 0x9F020000" #endif -#define CONFIG_IPADDR 192.168.1.1 -#define CONFIG_SERVERIP 192.168.1.2 +/* + * Dragino 2 uses different IP addresses + */ +#if defined(CONFIG_FOR_DRAGINO_V2) + #define CONFIG_IPADDR 192.168.255.1 + #define CONFIG_SERVERIP 192.168.255.2 +#else + #define CONFIG_IPADDR 192.168.1.1 + #define CONFIG_SERVERIP 192.168.1.2 +#endif /* * Dragino 2 uses different prompt -- 2.25.1