]> git.sur5r.net Git - u-boot/blobdiff - include/env_callback.h
Merge branch 'next' of git://git.denx.de/u-boot-video
[u-boot] / include / env_callback.h
index 90b95b5e6676087f00d234721c98c7e475cf4268..48da32a67b6e1e9497c6e48315d4726dea7e8228 100644 (file)
@@ -45,7 +45,7 @@
 #define DNS_CALLBACK
 #endif
 
-#ifdef CONFIG_NET
+#ifdef CONFIG_CMD_NET
 #define NET_CALLBACKS \
        "bootfile:bootfile," \
        "ipaddr:ipaddr," \
@@ -72,6 +72,7 @@
        SILENT_CALLBACK \
        SPLASHIMAGE_CALLBACK \
        "stdin:console,stdout:console,stderr:console," \
+       "serial#:serialno," \
        CONFIG_ENV_CALLBACK_LIST_STATIC
 
 struct env_clbk_tbl {