From: Piotr Dymacz Date: Thu, 20 Mar 2014 16:45:55 +0000 (+0100) Subject: Different IP addresses for Dragino 2 X-Git-Tag: 2014-11-19~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ef156c6720aff7597a6ddce9731b8683c94aea2;p=oweals%2Fu-boot_mod.git Different IP addresses for Dragino 2 --- 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