Lines Matching +full:local +full:- +full:mac +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Copyright 2002-2005 MontaVista Software Inc.
80 /* Disable SD high-speed mode (which seems to be broken) */ in ibm_akebono_fixups()
84 /* Set the MAC address */ in ibm_akebono_fixups()
88 setprop(emac, "local-mac-address", in ibm_akebono_fixups()
102 userdata[USERDATA_LEN - 1] = '\0'; in platform_init()
104 for (i = 0; i < userdata_len - 15; i++) { in platform_init()
105 if (strncmp(&userdata[i], "local-mac-addr=", 15) == 0) { in platform_init()
106 if (i > 0 && userdata[i - 1] != ' ') { in platform_init()
108 * with local-mac-addr so this isn't in platform_init()
109 * our mac address. */ in platform_init()
115 /* Remove the "local-mac-addr=<...>" from the kernel in platform_init()
121 len = ((int) end) - ((int) &userdata[i]); in platform_init()
123 userdata_len - (len + i) + 1); in platform_init()
136 avail_ram = end_of_ram - (unsigned long)_end; in platform_init()
147 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
151 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()