projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c1b12
)
Different IP addresses for Dragino 2
author
Piotr Dymacz
<pepe2k@gmail.com>
Thu, 20 Mar 2014 16:45:55 +0000
(17:45 +0100)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Thu, 20 Mar 2014 16:45:55 +0000
(17:45 +0100)
u-boot/include/configs/ap121.h
patch
|
blob
|
history
diff --git
a/u-boot/include/configs/ap121.h
b/u-boot/include/configs/ap121.h
index 5c434d680ad2449e4d265db79a0a267d264ac455..52282fd28b1a28cdca00f8c6966dc5f9e4b98a72 100755
(executable)
--- 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