mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Complete this rename for all directories outside arch/ board/ drivers/ and include/ Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -305,7 +305,7 @@ U_BOOT_ENV_CALLBACK(dnsip, on_dnsip);
|
||||
*/
|
||||
void net_auto_load(void)
|
||||
{
|
||||
#if defined(CONFIG_CMD_NFS) && !defined(CONFIG_SPL_BUILD)
|
||||
#if defined(CONFIG_CMD_NFS) && !defined(CONFIG_XPL_BUILD)
|
||||
const char *s = env_get("autoload");
|
||||
|
||||
if (s != NULL && strcmp(s, "NFS") == 0) {
|
||||
@@ -559,7 +559,7 @@ restart:
|
||||
ping6_start();
|
||||
break;
|
||||
#endif
|
||||
#if defined(CONFIG_CMD_NFS) && !defined(CONFIG_SPL_BUILD)
|
||||
#if defined(CONFIG_CMD_NFS) && !defined(CONFIG_XPL_BUILD)
|
||||
case NFS:
|
||||
nfs_start();
|
||||
break;
|
||||
@@ -574,7 +574,7 @@ restart:
|
||||
cdp_start();
|
||||
break;
|
||||
#endif
|
||||
#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_SPL_BUILD)
|
||||
#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_XPL_BUILD)
|
||||
case NETCONS:
|
||||
nc_start();
|
||||
break;
|
||||
@@ -1439,7 +1439,7 @@ void net_process_received_packet(uchar *in_packet, int len)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_SPL_BUILD)
|
||||
#if defined(CONFIG_NETCONSOLE) && !defined(CONFIG_XPL_BUILD)
|
||||
nc_input_packet((uchar *)ip + IP_UDP_HDR_SIZE,
|
||||
src_ip,
|
||||
ntohs(ip->udp_dst),
|
||||
|
Reference in New Issue
Block a user