powerpc: Migrate SYS_L3_SIZE to Kconfig
[platform/kernel/u-boot.git] / include / net.h
index e3889a0..32364ed 100644 (file)
@@ -536,7 +536,9 @@ extern struct in_addr net_dns_server2;
 #endif
 extern char    net_nis_domain[32];     /* Our IS domain */
 extern char    net_hostname[32];       /* Our hostname */
-extern char    net_root_path[64];      /* Our root path */
+#ifdef CONFIG_NET
+extern char    net_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN];  /* Our root path */
+#endif
 /** END OF BOOTP EXTENTIONS **/
 extern u8              net_ethaddr[ARP_HLEN];          /* Our ethernet address */
 extern u8              net_server_ethaddr[ARP_HLEN];   /* Boot server enet address */
@@ -558,7 +560,7 @@ extern int          net_restart_wrap;       /* Tried all network devices */
 
 enum proto_t {
        BOOTP, RARP, ARP, TFTPGET, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP,
-       TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT, WOL, UDP
+       TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT, WOL, UDP, NCSI
 };
 
 extern char    net_boot_file_name[1024];/* Boot File name */